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
      • GETFill Pair Dependents
      • GETFill Pair Item
      • GETFill Pair Items
      • GETFill Pair L Dependents
      • GETFill Pair List
      • GETPosition Dependents
      • GETPosition Find
      • GETPosition Item
      • GETPosition Items
      • GETPosition L Dependents
      • GETPosition List
Support Center
LogoLogo
REST API EndpointsPositions

Fill Pair L Dependents

GET
https://demo.tradovateapi.com/v1/fillPair/ldeps
GET
/v1/fillPair/ldeps
1const url = 'https://demo.tradovateapi.com/v1/fillPair/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 "positionId": 1,
4 "buyFillId": 1,
5 "sellFillId": 1,
6 "qty": 1,
7 "buyPrice": 1.1,
8 "sellPrice": 1.1,
9 "active": true,
10 "id": 1
11 }
12]
Retrieves all entities of FillPair type related to multiple entities of Position type
Was this page helpful?
Previous

Fill Pair List

Next
Built with

Authentication

AuthorizationBearer

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

Query parameters

masteridslist of longsRequired
ids of Position entities

Response

FillPair
positionIdlong
buyFillIdlong
sellFillIdlong
qtyinteger
buyPricedouble
sellPricedouble
activeboolean
idlong