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

Auto Liq Transaction L Dependents

GET
https://demo-d.tradovateapi.com/v1/autoLiqTransaction/ldeps
GET
/v1/autoLiqTransaction/ldeps
1const url = 'https://demo-d.tradovateapi.com/v1/autoLiqTransaction/ldeps?masterids=%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 "accountId": 1,
4 "contractId": 1,
5 "timestamp": "2024-01-15T09:30:00Z",
6 "liquidatedNetPos": 1,
7 "cancelledSellLimitQty": 1,
8 "cancelledSellStopQty": 1,
9 "cancelledBuyLimitQty": 1,
10 "cancelledBuyStopQty": 1,
11 "initiator": "Admin",
12 "adminAction": "AgreedOnLiqOnlyModeByAutoLiq",
13 "exitFilledQty": 1,
14 "id": 1,
15 "liquidatedNetPrice": 1.1,
16 "cancelledSellLimitAvgPrice": 1.1,
17 "cancelledSellStopAvgPrice": 1.1,
18 "cancelledBuyLimitAvgPrice": 1.1,
19 "cancelledBuyStopAvgPrice": 1.1,
20 "marketPriceSnapshot": 1.1,
21 "exitAvgFillPrice": 1.1,
22 "exitOrderId": 1,
23 "exitOrdStatus": "Canceled",
24 "ownedByAdminId": 1,
25 "completed": "2024-01-15T09:30:00Z"
26 }
27]
Fetches all AutoLiqTransaction entities associated with multiple Account entities
Was this page helpful?
Previous

Auto Liq Transaction List

Next
Built with

Authentication

AuthorizationBearer

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

Query parameters

masteridslist of longsRequired
List of Account entity IDs

Response

AutoLiqTransaction
accountIdlong
contractIdlong
timestampdatetime
liquidatedNetPosinteger

Liq-d Net Pos

cancelledSellLimitQtyinteger>=0

Canc-d Sell Limit Qty

cancelledSellStopQtyinteger>=0

Canc-d Sell Stop Qty

cancelledBuyLimitQtyinteger>=0

Canc-d Buy Limit Qty

cancelledBuyStopQtyinteger>=0

Canc-d Buy Stop Qty

initiatorenum
Admin, Customer
Allowed values:
adminActionenum
AgreedOnLiqOnlyModeByAutoLiq, AgreedOnLiquidationByAutoLiq, DisableAutoLiq, LiquidateImmediately, LiquidateOnlyModeImmediately, LockTradingImmediately, Normal, PlaceAutoLiqOnHold
exitFilledQtyinteger
Exit Filled Qty
idlong
liquidatedNetPricedouble

Liq-d Net Price

cancelledSellLimitAvgPricedouble

Canc-d Sell Limit Avg.Price

cancelledSellStopAvgPricedouble

Canc-d Sell Stop Avg.Price

cancelledBuyLimitAvgPricedouble

Canc-d Buy Limit Avg.Price

cancelledBuyStopAvgPricedouble

Canc-d Buy Stop Avg.Price

marketPriceSnapshotdouble
Mkt Price Snapshot
exitAvgFillPricedouble
Exit Avg. Fill Price
exitOrderIdlong
exitOrdStatusenum
Canceled, Completed, Expired, Filled, PendingCancel, PendingNew, PendingReplace, Rejected, Suspended, Unknown, Working
ownedByAdminIdlong
Owned By...
completeddatetime