v4

latestOpenAPI 3.0.02026-08-04103181301.4 KB
communications

Create Quote

Endpoint for creating a quote in response to an RFQ

post/communications/quotes

Request body

rfq_idstring required

The ID of the RFQ to quote on

yes_bidstring required

US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market's price level structure.

no_bidstring required

US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market's price level structure.

rest_remainderboolean required

Whether to rest the remainder of the quote after execution

post_onlyboolean

If true, the quote creator's resting order will be cancelled rather than crossed if it would take liquidity. Defaults to false.

subaccountinteger

Optional subaccount number to place the quote under (0 for primary, 1-63 for subaccounts)

Example request

{
  "yes_bid": "0.5600",
  "no_bid": "0.5600"
}

Response

Quote created successfully

idstring required

The ID of the newly created quote