Skip to main content

The sells that exit a strategy book, each with its signable quote

POST/signals-orders/exit

The same orders as POST /signals-orders/exit/plan, each carrying quote: exactly the POST /quote/sell answer for that order, signable payloads included. Sign and submit each quote through POST /trade/submit unchanged.

For programmatic signers only. A Solana leg is signable for about 45 s after this response. Each quote's own expires_at binds; the top-level expires_at is the earliest of them and signing_window_sec is the seconds left until it. Human and hardware-wallet flows should call POST /signals-orders/exit/plan, then POST /quote/sell per order when ready.

A partial result is normal: an order whose quote is refused is moved to skipped with the error code POST /quote/sell would have answered (for example no_routes, which on a sub-minimum leg carries no minimum, or holdings_insufficient), and the response is still 200. An order whose quote expired before the response was sent is skipped as quote_stale.

max_slippage_bps is required here and applies to every leg. To submit several quotes in one request, send them together through POST /trade/submit/batch.

One call at a time per wallet and strategy. While a quote from an earlier /exit for the same wallet and strategy is neither final (GET /quote/{quote_id}/status) nor five minutes past its expires_at, a new call is refused with 409 orders_in_flight naming those quote_ids (an empty list while the earlier call is still quoting), with Retry-After in seconds. A submitted quote counts as final once its status has been read as final, so poll every quote you submit. The plan route is never refused this way.

Limits on this route count upstream quote calls, not requests: an order held on one Solana venue costs 1 point, on two venues 3, on three 6 (each pass re-quotes the venues not yet filled). Points come from a per-integrator bucket (30 a minute) and from a bucket shared by every caller (90 a minute), charged only after the wallet is admitted and only when there is something to quote.

The plan never costs more than 30 points: orders past that are skipped as leg_cap, so an exit of more than ten names held on two venues each exits the rest on the next call. A plan costing more than the points left is refused whole with 429 before any order is quoted. A 429 from the shared bucket can be another integrator's traffic and does not spend your own points. The X-RateLimit-* headers describe the shared bucket.

One wallet per strategy. Your holdings are not tracked per strategy: every name of the book you hold in this wallet counts, whichever strategy (or none) you bought it for. Two strategies sharing a name in one wallet will sell or resize each other's position, so give each strategy its own wallet.

Requires your general (tik_) key; a reporting key is refused.

Request​

Responses​

OK