Update Trading Configurations for an Account

You can also set the margin settings for your users’ account by passing a PATCH request. By default any account with funds under $2,000 is set a margin multiplier of 1.0, and accounts with over $2,000 are set to 2.0.

Path Params
string
required
Body Params
string
enum
required

both, entry, or exit. Controls Day Trading Margin Call (DTMC) checks.

Allowed:
string
enum
required

all or none. If none, emails for order fills are not sent.

Allowed:
boolean
required

If true, new orders are blocked.

boolean
required

If true, account becomes long-only mode.

boolean
required

If true, account is able to participate in fractional trading

string
required

Can be "1" or "2"

integer
enum

The desired maximum options trading level. 0=disabled, 1=Covered Call/Cash-Secured Put, 2=Long Call/Put, 3=Spreads/Straddles.

Allowed:
string
required
string
required

If set to true then Alpaca will accept orders for PTP symbols with no exception. Default is false.

Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json