Skip to navigation

Create quote

Create a quote in response to an RFQ. Only accounts approved as market makers may create 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.
rfqIdstringRequired
RFQ ID this quote responds to.
quoteSideenumRequired
Side of the quote from the maker's perspective.
Allowed values:
legslist of objectsRequired
Legs of the quote.
clQuoteIdstringOptional

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

tagstringOptional
Quote tag. The block trade associated with the quote will have the same tag.
anonymousbooleanOptional
Whether the quote is anonymous. Defaults to false.
expiresInstringOptional
Number of seconds until the quote expires, between 10 and 120. Defaults to 60.

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