Get OTC Exposures
POST/private/GetOtcExposures
Retrieves the max and used OTC exposures.
API Key Permissions Required: Orders and trades - Query open orders & trades
Request
- application/json
Body
required
nonce int64required
Nonce used in construction of API-Sign
header
Responses
- 200
- 500
OTC Exposures retrieved.
- application/json
- Schema
- Example (from schema)
Schema
result object
max_otc stringrequired
Max OTC exposure assigned to the client.
max_rfq stringrequired
Max RFQ exposure assigned to the client.
used_otc stringrequired
Used OTC Exposure (chat + RFQ).
used_rfq stringrequired
Used RFQ exposure (RFQ only).
error string[]required
{
"result": {
"max_otc": "1500000",
"max_rfq": "1500000",
"used_otc": "100000",
"used_rfq": "50000"
},
"error": [
"EGeneral:Invalid arguments"
]
}
Internal Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string[]
{
"error": [
"EGeneral:Invalid arguments"
]
}
{
"errors": [
{
"field": null,
"value": null,
"type": "Internal Error",
"msg": "Internal error",
"severity": "E",
"errorClass": "General"
}
]
}
Loading...