post
https://isv-api.prophetx.co/private/v1/positions/close
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Access token is missing or invalid
