Cancel a pending limit order.
Refunds reserved funds (BUY) or restores reserved shares (SELL). Only PENDING orders owned by the authenticated user can be cancelled.
cURL
curl --request DELETE \ --url https://staging-api.polysimulator.com/v1/orders/{order_id} \ --header 'X-API-Key: <x-api-key>'
{ "order_id": 123, "status": "<string>", "order_type": "<string>", "side": "<string>", "outcome": "<string>", "price": "<string>", "quantity": "<string>", "notional": "<string>", "fee": "<string>", "filled_at": "<string>", "price_source": "<string>", "slippage_bps": 123, "account_balance": "<string>", "position": {} }
Your PolySimulator API key
Successful Response
Was this page helpful?