All positions related paths.
/accounts/{account_id}/positions
List of account positions
offset
int
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
limit
int
Use the limit
argument to specify the maximum number of items returned.
Response
{
"meta": {
"offset": 0,
"limit": 100,
"count": 1,
"total_count": 1,
"sort": "id",
"order": "ASC"
},
"data": [
{
"account_id": "c5161455-4d27-4781-bc74-f05532e49a77",
"instrument": {
"isin": "US0378331005",
"uuid": "ccb86937-8a39-4160-8d33-85bf9e902321"
},
"quantity": "10.4",
"locked_for_trading": "5",
"pending_settlement": "0",
"available_for_trading": "5.4"
}
]
}
/accounts/{account_id}/positions/{instrument_id}
Retrieve an account position
instrument_id
One Of
required
Instrument unique identifier.
Must match one of
International securities identification number defined by ISO 6166, prefixed with a 'isin:' URN scheme.
account_id
string
required
Account unique identifier.
Response
{
"account_id": "c5161455-4d27-4781-bc74-f05532e49a77",
"instrument": {
"isin": "US0378331005",
"uuid": "ccb86937-8a39-4160-8d33-85bf9e902321"
},
"quantity": "10.4",
"locked_for_trading": "5",
"pending_settlement": "0",
"available_for_trading": "5.4"
}
id
string
required
Event unique identifier
created_at
string
required
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
type
string
required
Event type
object
object
required
webhook_id
string
required
Webhook unique identifier.
{
"id": "8962b496-8d42-4560-bfab-10490dd1a724",
"created_at": "2021-07-21T14:10:00.00Z",
"type": "POSITION.UPDATED",
"object": {
"account_id": "c5161455-4d27-4781-bc74-f05532e49a77",
"instrument": {
"isin": "US0378331005",
"uuid": "ccb86937-8a39-4160-8d33-85bf9e902321"
},
"quantity": "10.4",
"locked_for_trading": "5",
"pending_settlement": "0",
"available_for_trading": "5.4"
},
"webhook_id": "9df39835-be87-4243-9018-f2500b39cee6"
}
Request has been processed successfully.
Empty response
Was this page helpful?