v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBAccounts
Retrieve Account Lots
Retrieves an Account Lots details by accountID.
get/accounts/{accountID}/position-details
Path parameters
accountIDstring required
The user's unique account identifier.
Example:cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759
Response
Retrieving Account Lots details by accountID was Successful.
Example response
{
"accountID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759",
"accountNo": "DWBG000052",
"positions": [
{
"instrumentID": "3fb1e8a9-f7d5-4d90-95e2-43e7326b5636",
"symbol": "MS",
"currency": "USD",
"costBasis": 19,
"quantity": 0.16707001,
"currentMarketPrice": 90.16,
"currentMarketValue": 15.06,
"unrealizedPnL": -3.94,
"effectiveCostPerShare": 1.09,
"side": "B",
"taxLots": [
{
"id": "3db27e74626adac3be7b549f2bbc0ab2480852a7",
"created": "2017-06-16T15:35:30.617Z",
"initialQuantity": 0.17583963,
"openQuantity": 10.1,
"effectiveCostPerShare": 113.74,
"side": "B",
"comment": "Hey! Welcome to DriveWealth Developer Docs!"
}
]
}
]
}