update_account_config
Update Alpaca account settings like trading modes, order blocking, fractional trading, margin, options level, and overnight trading, preserving unspecified fields.
Instructions
Updates one or more account configuration settings. Only the fields you provide will be changed; all others retain their current values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no_shorting | No | If true, account becomes long-only mode. | |
| suspend_trade | No | If true, new orders are blocked. | |
| fractional_trading | No | If true, account is able to participate in fractional trading | |
| trade_confirm_email | No | all or none. If none, emails for order fills are not sent. | |
| max_margin_multiplier | No | Can be "1", "2", or "4" | |
| ptp_no_exception_entry | No | If set to true then Alpaca will accept orders for PTP symbols with no exception. Default is false. | |
| disable_overnight_trading | No | If true, overnight trading is disabled. | |
| max_options_trading_level | No | The desired maximum options trading level. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||