Skip to navigation

Create RFQ

Create a new RFQ (request for quote), broadcasting a set of legs to selected counterparties who may respond with quotes.

Authentication

OK-ACCESS-KEYstring
Your API key.
OK-ACCESS-SIGNstring

Base64-encoded HMAC-SHA256 signature of the prehash string.

OK-ACCESS-TIMESTAMPstring

ISO 8601 UTC timestamp, e.g. 2020-12-08T09:08:57.715Z.

OK-ACCESS-PASSPHRASEstring
The passphrase you set when creating the API key.

Request

This endpoint expects an object.
counterpartieslist of objectsRequired
The trader codes of counterparties this RFQ is sent to.
legslist of objectsRequired
An array of the legs that make up the RFQ.
anonymousbooleanOptional
Whether the RFQ is anonymous to counterparties. Defaults to false.
clRfqIdstringOptional

Client-supplied RFQ ID. Alphanumeric string of up to 32 characters.

tagstringOptional
RFQ tag. Alphanumeric string of up to 16 characters.
allowPartialExecutionbooleanOptional
Whether the RFQ allows partial execution of its quotes. Defaults to false.
acctAlloclist of objectsOptional

Sub-account allocation details for the RFQ legs.

Response

Successful response
codestringOptional

Result code. 0 means success; any other value is an error code.

msgstringOptional
Error message. Empty on success.
datalist of objectsOptional