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 Item

GET
https://demo.tradovateapi.com/v1/fillPair/item
GET
/v1/fillPair/item
1const url = 'https://demo.tradovateapi.com/v1/fillPair/item?id=1';
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 "positionId": 1,
3 "buyFillId": 1,
4 "sellFillId": 1,
5 "qty": 1,
6 "buyPrice": 1.1,
7 "sellPrice": 1.1,
8 "active": true,
9 "id": 1
10}
Retrieves an entity of FillPair type by its id
Was this page helpful?
Previous

Fill Pair Items

Next
Built with

Authentication

AuthorizationBearer

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

Query parameters

idlongRequired

Response

FillPair
positionIdlong
buyFillIdlong
sellFillIdlong
qtyinteger
buyPricedouble
sellPricedouble
activeboolean
idlong