Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Message DirectionHeadersFormatBodyExample
Request
  • x-api-key
  • x-api-routing
  • ticket
  • Content-Type: application/json
  • Accept: */*
 

 

v0/{route}/positions/balances/5R39001X,5R39002X

Response  JSON
  • {
    • "ResponseCode":0;
    • "Result":[
      • {
        • "AccountId":1,
        • "Attributes":[
          • {"Name":"dayTrades","Value":0},
          • {"Name":"pendingCash","Value":0},
          • {"Name":"equityTotal","Value":0},
          • {"Name":"stockLongMarketValue","Value":0},
          • {"Name":"stockShortMarketValue","Value":0},
          • {"Name":"optionLongMarketValue","Value":0},
          • {"Name":"optionShortMarketValue","Value":0},
          • {"Name":"maintenanceMargin","Value":0},
          • {"Name":"optionMaintenanceMargin","Value":0},
          • {"Name":"excess","Value":0},
          • {"Name":"stockBuyingPower","Value":0},
          • {"Name":"optionBuyingPower","Value":0},
          • {"Name":"openPL","Value":0},
          • {"Name":"closePL","Value":0},
          • {"Name":"netLiquidity","Value":0},
          • {"Name":"availableCash","Value":0},
          • {"Name":"pendingOrdersCount","Value":0}
        • ],
        • "ClearingAccount":"1"
      • }
    • ],
    • "Ticket":"YOURNEXTTICKET"
  • }
 

...