Skip to main content
PUT
Sell a Position

Authorizations

X-Api-Key
string
header
default:your-api-key-here
required

Path Parameters

market_id
required

Flexible identifier type that accepts either a numeric integer ID or a human-readable qualified ID string (QID). QIDs follow a prefix convention: MA for markets, MAA for market assets, AP for account payouts. Most path parameters that accept an ID use this type so callers can use whichever form is more convenient.

order_id
integer
required

Body

application/json

Request body for PUT /v1/markets/{market_id}/orders/{order_id}/sell. Specifies how many shares of an existing filled position to sell and at what price.

account_id
integer
required

ID of the account placing the order

quantity
required

Quantity to sell of the order

Response

Sell order created

The response is of type string.