curl --request GET \
--url 'https://api.sandbox.services.payward.com/v1/users/AA23N84GGQN4WE6I/orderbooks/perpetual/PBTCUCZ0.BTNL?depth=2' \
--header "API-Key: $PWS_API_KEY" \
--header "API-Timestamp: $PWS_API_TIMESTAMP" \
--header "API-Sign: $PWS_API_SIGN"{
"data": {
"symbol": "PBTCUCZ0.BTNL",
"bids": [
{
"price": "82205",
"quantity": "10"
},
{
"price": "82200",
"quantity": "10"
}
],
"asks": [
{
"price": "83475",
"quantity": "10"
},
{
"price": "83480",
"quantity": "10"
}
]
}
}Derivatives market data
Get user order book
Get the order book for a specific instrument for a specific user.
GET
/
v1
/
users
/
{user_id}
/
orderbooks
/
{asset_type}
/
{symbol}
curl --request GET \
--url 'https://api.sandbox.services.payward.com/v1/users/AA23N84GGQN4WE6I/orderbooks/perpetual/PBTCUCZ0.BTNL?depth=2' \
--header "API-Key: $PWS_API_KEY" \
--header "API-Timestamp: $PWS_API_TIMESTAMP" \
--header "API-Sign: $PWS_API_SIGN"{
"data": {
"symbol": "PBTCUCZ0.BTNL",
"bids": [
{
"price": "82205",
"quantity": "10"
},
{
"price": "82200",
"quantity": "10"
}
],
"asks": [
{
"price": "83475",
"quantity": "10"
},
{
"price": "83480",
"quantity": "10"
}
]
}
}