IDB Cancel OTC Trade
Cancel a pending OTC trade that was previously initiated by the IDB.
Submits a command to the trading engine. A successful response indicates that the command entry was acknowledged but does not indicate that the command was executed. This endpoint uses the signing format which does not require strict field ordering and addition of null fields in the request body.
Command schemas and examples are provided below. Supported commands:
-
V1IdbCancelOtcTrade
-
requires bearer token in authorization header
Request
- Base URLhttps://api.exchange.bullish.com/trading-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
signature obtained using the signing format
timestamp is the number of milliseconds since EPOCH
nonce is a client side incremented unsigned 64 bit integer
Request body
Example request
{
"commandType": "V1IdbCancelOtcTrade",
"sharedMatchKey": "a40d0c302d0448ce8e144c8312dd6ef0",
"idbRemarks": "Cancelled per client request via Bloomberg chat"
}Response
Status OK. This means a command was successfully acknowledged.
Example response
{
"message": "Command acknowledged - IdbCancelOtcTrade",
"sharedMatchKey": "a40d0c302d0448ce8e144c8312dd6ef0",
"maker": {
"requestId": "100000000000000147",
"otcTradeId": "200000000000000098"
},
"taker": {
"requestId": "100000000000000148",
"otcTradeId": "200000000000000099"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.