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 Position Limit Items

GET
https://demo.tradovateapi.com/v1/userAccountPositionLimit/items
GET
/v1/userAccountPositionLimit/items
1const url = 'https://demo.tradovateapi.com/v1/userAccountPositionLimit/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 "active": true,
4 "totalBy": "Contract",
5 "accountId": 1,
6 "id": 1,
7 "contractId": 1,
8 "productId": 1,
9 "exchangeId": 1,
10 "productType": "CommonStock",
11 "riskDiscountContractGroupId": 1,
12 "productVerificationStatus": "Inactive",
13 "contractGroupId": 1,
14 "riskTimePeriodId": 1,
15 "shortLimit": 1,
16 "longLimit": 1,
17 "exposedLimit": 1,
18 "description": "string"
19 }
20]
Retrieves multiple entities of UserAccountPositionLimit type by its ids
Was this page helpful?
Previous

User Account Position Limit 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

UserAccountPositionLimit
activeboolean
totalByenum
Contract, ContractGroup, DiscountGroup, Exchange, Overall, Product, ProductType
accountIdlong
idlong
contractIdlong
productIdlong
exchangeIdlong
productTypeenum
CommonStock, Continuous, Cryptocurrency, Futures, MarketInternals, Options, Spread
riskDiscountContractGroupIdlong
productVerificationStatusenum
Inactive, Locked, ReadyForContracts, ReadyToTrade, Verified
Allowed values:
contractGroupIdlong
riskTimePeriodIdlong
shortLimitinteger>=0
longLimitinteger>=0
exposedLimitinteger>=0
descriptionstring<=64 characters