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
    • GETGet Timestamp
    • GETO IDC User Info
      • GETAccount Risk Status Dependents
      • GETAccount Risk Status Item
      • GETAccount Risk Status Items
      • GETAccount Risk Status L Dependents
      • GETAccount Risk Status List
      • GETAccount Risk Status Log Dependents
      • GETAccount Risk Status Log Item
      • GETAccount Risk Status Log Items
      • GETAccount Risk Status Log L Dependents
      • GETAuto Liq Transaction Dependents
      • GETAuto Liq Transaction Item
      • GETAuto Liq Transaction Items
      • GETAuto Liq Transaction L Dependents
      • GETAuto Liq Transaction List
      • GETCategory Position Limit Dependents
      • GETCategory Position Limit Item
      • GETCategory Position Limit Items
      • GETCategory Position Limit L Dependents
      • GETCategory Risk Parameter Dependents
      • GETCategory Risk Parameter Item
      • GETCategory Risk Parameter Items
      • GETCategory Risk Parameter L Dependents
      • GETContract Margin Dependents
      • GETContract Margin Item
      • GETContract Margin Items
      • GETContract Margin L Dependents
      • POSTDelete User Account Position Limit
      • POSTDelete User Account Risk Parameter
      • GETEmergency Risk Dependents
      • GETEmergency Risk Item
      • GETEmergency Risk Items
      • GETEmergency Risk L Dependents
      • GETEmergency Risk List
      • 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
      • POSTReset Auto Liq Status
      • GETRisk Category Find
      • GETRisk Category Item
      • GETRisk Category Items
      • GETRisk Category List
      • GETRisk Category Suggest
      • GETRisk Discount Contract Group Find
      • GETRisk Discount Contract Group Item
      • GETRisk Discount Contract Group Items
      • GETRisk Discount Contract Group List
      • GETRisk Discount Contract Group Suggest
      • GETRisk Time Period Find
      • GETRisk Time Period Item
      • GETRisk Time Period Items
      • GETRisk Time Period List
      • GETRisk Time Period Suggest
      • POSTSet Account Notes
      • POSTSet Admin Auto Liq Action
      • POSTSet Demo Halt
      • POSTSwitch Risk Category
      • POSTUpdate Max Net Liq
      • POSTUpdate User Auto Liq
      • POSTUpdate User Auto Liqs
      • 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
      • POSTUser Account Position Limit Create
      • 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 Items

GET
https://demo-d.tradovateapi.com/v1/userAccountAutoLiq/items
GET
/v1/userAccountAutoLiq/items
1const url = 'https://demo-d.tradovateapi.com/v1/userAccountAutoLiq/items?ids=%5B1%5D';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1[
2 {
3 "id": 1,
4 "changesLocked": true,
5 "marginPercentageAlert": 1.1,
6 "dailyLossPercentageAlert": 1.1,
7 "dailyLossAlert": 1.1,
8 "marginPercentageLiqOnly": 1.1,
9 "dailyLossPercentageLiqOnly": 1.1,
10 "dailyLossLiqOnly": 1.1,
11 "marginPercentageAutoLiq": 1.1,
12 "dailyLossPercentageAutoLiq": 1.1,
13 "dailyLossAutoLiq": 1.1,
14 "weeklyLossAutoLiq": 1.1,
15 "flattenTimestamp": "2024-01-15T09:30:00Z",
16 "trailingMaxDrawdown": 1.1,
17 "trailingMaxDrawdownLimit": 1.1,
18 "trailingMaxDrawdownMode": "EOD",
19 "dailyProfitAutoLiq": 1.1,
20 "weeklyProfitAutoLiq": 1.1,
21 "doNotUnlock": true
22 }
23]

Fetches multiple UserAccountAutoLiq entities of id field

Was this page helpful?
Previous

User Account Auto Liq L Dependents

Next
Built with

Authentication

AuthorizationBearer

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

Query parameters

idslist of longsRequired

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