Trade RFQ
Execute a trade on a Block RFQ quote. For taker only.
Note: This API is asynchronous. A synchronous response indicates that the request was successful, but whether the transaction is successful requires querying the API or listening to WebSocket messages.
Endpoint
block/rfqs/trade
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| blockRfqId | string | true | ID of the Block RFQ |
| quoteId | string | true | ID of the Block QUOTE |
| protectPrice | string | true | Maximum acceptable price for execution |
| quantity | string | true | The size of the Quote, denominated in the clearingCurrency of the RFQ |
| side | string | true | The direction of the Quote. Valid values: buy, sell |
| accountId | long | true | Signalplus account ID |
Request Example
{
"rid": 2800470173980796000,
"method": "block/rfqs/trade",
"params": {
"blockRfqId": "792633537032432301",
"quoteId": "864691128866895365",
"protectPrice": "20061",
"quantity": "0.01",
"side": "buy",
"accountId": 10003723
}
}
Response
| Name | Type | Description |
|---|---|---|
| blockRfqId | string | RFQ ID |
| blockTradeId | string | RFQ trade ID |
| status | string | Trade status: pending, success, failed |
| failReason | string | Reason for failure if status is failed |
Response Example
{
"rid": 2800470173980796000,
"result": {
"blockRfqId": "792633537032432301",
"blockTradeId": "936748722493465261",
"status": "pending",
"failReason": null
}
}