Close a position

Closes (sells) some or all of an open position at the current
opposing-side liquidity, at or better than floorPrice. Returns
immediately with a refId and a pending status — poll
GET /positions/close/{refId} for the outcome.

quoteId from a quote call for the same contractId and contracts
is required: it sets the fee rate this close is charged, and it is
also the close's refId, so sending the same quote again returns the
same close rather than starting another, which makes a retry safe. A quote
that is unknown or priced for a different contract or number of
contracts is rejected with a 422.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Unique identifier for a sport event, market, outcome and strike combination

double
required

Number of contracts to close; must equal the contracts the quote was requested for

integer
required

Minimum acceptable price per contract (American format). The close fills at this price or better, or not at all

string
required

quoteId from a quote call for the same contractId and contracts

Responses

401

Access token is missing or invalid

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json