Get User's Positions in a Security
List all user's positions in a particular security
Overview
GET apiURL/v1.0/accounts/{accountID}/positions/AAPLResponse
[
{
"Id": 21483,
"AccountId": 6303,
"SecurityId": 4,
"Symbol": "AAPL",
"Name": "AAPL",
"CompanyName": "Apple Inc.",
"SecurityCurrency": "USD",
"SecurityType": "CommonStock",
"ContractSize": 1,
"CostBasis": 23485.5,
"DailyCostBasis": 25422,
"CreateDate": "2019-01-22T14:30:03.7328576Z",
"ModifyDate": "2019-01-22T14:30:03.7328576Z",
"Quantity": 150,
"RealizedProfitLoss": 0,
"AverageOpenPrice": 156.57,
"AverageClosePrice": 0,
"StopLossPrice": 0,
"TakeProfitPrice": 0,
"DailyCloseProfitLoss": 0,
"ExcessChanges": 0,
"DayQuantity": 0,
"MarketValueEOD": 600.41
}
]Security Type
Common Mistakes
Failing to Specify the Et-App-Key Parameter
Specifying the User ID Instead of the Trading Account ID
Specifying the Internal ID of the Security instead of the Ticker
Last updated