curl --request GET \
--url https://api.orderly.org/v1/client/aggregate/holding \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'
{
"success": true,
"timestamp": 1702989203989,
"data": [
{
"account_id": "0x1111",
"updated_time": 1580794149000,
"token": "BTC",
"holding": -28.000752,
"frozen": 0,
"pending_short": -2000
},
{
"account_id": "0x2222",
"updated_time": 1580794149000,
"token": "ETH",
"holding": -10.123456,
"frozen": 0,
"pending_short": -500
}
]
}
Limit: 1 request per 60 seconds
GET /v1/client/aggregate/holding
Only the main account is allowed to call this API
curl --request GET \
--url https://api.orderly.org/v1/client/aggregate/holding \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>'
{
"success": true,
"timestamp": 1702989203989,
"data": [
{
"account_id": "0x1111",
"updated_time": 1580794149000,
"token": "BTC",
"holding": -28.000752,
"frozen": 0,
"pending_short": -2000
},
{
"account_id": "0x2222",
"updated_time": 1580794149000,
"token": "ETH",
"holding": -10.123456,
"frozen": 0,
"pending_short": -500
}
]
}
OK
The response is of type object
.