Accounts
Retrieve Account Lots
Retrieves an Account Lots details by accountID.
get/accounts/{accountID}/position-details
Request
- Base URLhttps://bo-api.drivewealth.io/back-office
- URLhttps://bo-api.drivewealth.io/back-office/accounts/{accountID}/position-details
- AuthHTTP bearer
Path parameters
accountIDstring required
The user's unique account identifier.
Example:123e4567-e89b-12d3-a456-000000000004.1234567890125
Response
Retrieving Account Lots details by accountID was Successful.
Example response
{
"accountID": "123e4567-e89b-12d3-a456-000000000004.1234567890125",
"accountNo": "FFFF000005",
"positions": [
{
"instrumentID": "123e4567-e89b-12d3-a456-000000000006",
"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": "0123456789abcdef0123456789abcdef00000000",
"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!"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.