Place a buy or sell order on a prediction market
Documentation Index
Fetch the complete documentation index at: https://docs.bayse.markets/llms.txt
Use this file to discover all available pages before exploring further.
X-Public-Key, X-Timestamp, and X-Signature headers. See the Authentication guide.
BUY or SELL.LIMIT or MARKET.USD (default) or NGN.LIMIT orders.GTC (good-til-cancelled, default for limit), GTD (good-til-date), FAK (fill-and-kill, default for market), or FOK (fill-or-kill).true, the order is rejected instead of crossing the spread. Limit orders only. Default: false.SKIP. Unknown values fall back to SKIP.SKIP — the match is silently skipped and both orders remain on the book.CANCEL_OLDEST — the resting same-user maker is cancelled and refunded; the taker continues matching against other counterparties.CANCEL_NEWEST — the incoming taker stops at the same-user match. If it had already filled against other users, those fills stand and the taker comes back as cancelled; otherwise it is rejected.CANCEL_BOTH — the resting maker is cancelled and the taker is cancelled or rejected under the same rule as CANCEL_NEWEST.GTD orders.engine field indicating the market type, and an order object with the order details.
AMM or CLOB.stpModestpMode to CANCEL_OLDEST cancels the stale same-user maker server-side as the new quote arrives, so the new order can continue matching against external counterparties without sitting next to a duplicate of itself.