HomeGuidesRecipesAPI ReferenceGraphQLChangelogDiscussionsv2023.08
HomeLog In
API Reference
These docs are for v2023.08. Click to read the latest docs for v2023.12.

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"

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

©2023. Prime Industries, Services, and Trinkets LLC. We are not responsible