For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
      • GETAccount Risk Status Dependents
      • GETAccount Risk Status Item
      • GETAccount Risk Status Items
      • GETAccount Risk Status L Dependents
      • GETAccount Risk Status List
      • POSTReset Auto Liq Status
      • POSTSet Account Notes
      • POSTSet Admin Auto Liq Action
      • POSTUpdate Max Net Liq
      • GETContract Margin Dependents
      • GETContract Margin Item
      • GETContract Margin Items
      • GETContract Margin L Dependents
      • GETPermissioned Account Auto Liq Dependents
      • GETPermissioned Account Auto Liq Item
      • GETPermissioned Account Auto Liq Items
      • GETPermissioned Account Auto Liq L Dependents
      • GETPermissioned Account Auto Liq List
      • GETProduct Margin Dependents
      • GETProduct Margin Item
      • GETProduct Margin Items
      • GETProduct Margin L Dependents
      • GETProduct Margin List
      • POSTUser Account Auto Liq Create
      • GETUser Account Auto Liq Dependents
      • GETUser Account Auto Liq Item
      • GETUser Account Auto Liq Items
      • GETUser Account Auto Liq L Dependents
      • GETUser Account Auto Liq List
      • POSTUser Account Auto Liq Update
      • POSTUpdate User Auto Liq
      • POSTUser Account Position Limit Create
      • POSTDelete User Account Position Limit
      • POSTDelete User Account Risk Parameter
      • GETUser Account Position Limit Dependents
      • GETUser Account Position Limit Item
      • GETUser Account Position Limit Items
      • GETUser Account Position Limit L Dependents
      • POSTUser Account Position Limit Update
      • POSTUser Account Risk Parameter Create
      • GETUser Account Risk Parameter Dependents
      • GETUser Account Risk Parameter Item
      • GETUser Account Risk Parameter Items
      • GETUser Account Risk Parameter L Dependents
      • POSTUser Account Risk Parameter Update
Support Center
LogoLogo
REST API EndpointsRisks

User Account Auto Liq Update

POST
https://demo.tradovateapi.com/v1/userAccountAutoLiq/update
POST
/v1/userAccountAutoLiq/update
1const url = 'https://demo.tradovateapi.com/v1/userAccountAutoLiq/update';
2const options = {
3 method: 'POST',
4 headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
5 body: '{}'
6};
7
8try {
9 const response = await fetch(url, options);
10 const data = await response.json();
11 console.log(data);
12} catch (error) {
13 console.error(error);
14}
200Successful
1{
2 "id": 1,
3 "changesLocked": true,
4 "marginPercentageAlert": 1.1,
5 "dailyLossPercentageAlert": 1.1,
6 "dailyLossAlert": 1.1,
7 "marginPercentageLiqOnly": 1.1,
8 "dailyLossPercentageLiqOnly": 1.1,
9 "dailyLossLiqOnly": 1.1,
10 "marginPercentageAutoLiq": 1.1,
11 "dailyLossPercentageAutoLiq": 1.1,
12 "dailyLossAutoLiq": 1.1,
13 "weeklyLossAutoLiq": 1.1,
14 "flattenTimestamp": "2024-01-15T09:30:00Z",
15 "trailingMaxDrawdown": 1.1,
16 "trailingMaxDrawdownLimit": 1.1,
17 "trailingMaxDrawdownMode": "EOD",
18 "dailyProfitAutoLiq": 1.1,
19 "weeklyProfitAutoLiq": 1.1,
20 "doNotUnlock": true
21}
Updates an existing entity of UserAccountAutoLiq
Was this page helpful?
Previous

Update User Auto Liq

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
idlongOptional
changesLockedbooleanOptional
Changes Locked
marginPercentageAlertdoubleOptional

Margin % for an Alert

dailyLossPercentageAlertdoubleOptional

Daily Loss % for an Alert

dailyLossAlertdoubleOptional

$ Daily Loss for an Alert

marginPercentageLiqOnlydoubleOptional

Margin % for an Liq Only

dailyLossPercentageLiqOnlydoubleOptional

Daily Loss % for an Liq Only

dailyLossLiqOnlydoubleOptional

$ Daily Loss for an Liq Only

marginPercentageAutoLiqdoubleOptional

Margin % for an Auto-Liq

dailyLossPercentageAutoLiqdoubleOptional

Daily Loss % for an AutoLiq

dailyLossAutoLiqdoubleOptional

$ Daily Loss for an Auto-Liq

weeklyLossAutoLiqdoubleOptional

$ Weekly Loss for an Auto-Liq

flattenTimestampdatetimeOptional

Flatten & Cancel

trailingMaxDrawdowndoubleOptional

$ Trailing Max Drawdown

trailingMaxDrawdownLimitdoubleOptional

$ Trailing Max Drawdown Limit

trailingMaxDrawdownModeenumOptional
EOD, RealTime
Allowed values:
dailyProfitAutoLiqdoubleOptional

$ Daily Profit for an Auto-Liq

weeklyProfitAutoLiqdoubleOptional

$ Weekly Profit for an Auto-Liq

doNotUnlockbooleanOptional
Do not automatically unlock account if triggered

Response

UserAccountAutoLiq
idlong
changesLockedboolean
Changes Locked
marginPercentageAlertdouble

Margin % for an Alert

dailyLossPercentageAlertdouble

Daily Loss % for an Alert

dailyLossAlertdouble

$ Daily Loss for an Alert

marginPercentageLiqOnlydouble

Margin % for an Liq Only

dailyLossPercentageLiqOnlydouble

Daily Loss % for an Liq Only

dailyLossLiqOnlydouble

$ Daily Loss for an Liq Only

marginPercentageAutoLiqdouble

Margin % for an Auto-Liq

dailyLossPercentageAutoLiqdouble

Daily Loss % for an AutoLiq

dailyLossAutoLiqdouble

$ Daily Loss for an Auto-Liq

weeklyLossAutoLiqdouble

$ Weekly Loss for an Auto-Liq

flattenTimestampdatetime

Flatten & Cancel

trailingMaxDrawdowndouble

$ Trailing Max Drawdown

trailingMaxDrawdownLimitdouble

$ Trailing Max Drawdown Limit

trailingMaxDrawdownModeenum
EOD, RealTime
Allowed values:
dailyProfitAutoLiqdouble

$ Daily Profit for an Auto-Liq

weeklyProfitAutoLiqdouble

$ Weekly Profit for an Auto-Liq

doNotUnlockboolean
Do not automatically unlock account if triggered