Skip to main content
PATCH
Applies a partial update to a book your instance owns. Imported books are not updatable here; a request against another instance’s book returns ORDER_BOOK_NOT_FOUND. Only the fields you send are touched. Two properties of this venue are immutable: the custody contract and the token type. Neither the settlement mode nor the trading mode can be changed either, since external securities books are always on-chain and always continuous.

Idempotency

Accepts an optional Idempotency-Key header. A repeat with the same key and body replays the original response.

Path Parameters

string
required
Order book ID.

Body Parameters

string
ACTIVE, PAUSED or CLOSED. Pausing stops new orders without touching resting ones. Reopening a CLOSED book is refused with ORDER_BOOK_EXISTS if another open book now quotes the same pair.
string
Rotate the wallet that signs settlements. The new wallet must already be authorized on the custody contract for this security. If it is not, the request is refused with 409 CUSTODY_SETUP_REQUIRED and the response carries the setOperator transaction for the security admin to sign.
string
Smallest accepted quantity, in order book units.
string
Largest accepted quantity. Send null to remove the ceiling.
string
Price increment, in order book units.
integer
Maker fee in basis points, 0 to 1000.
integer
Taker fee in basis points, 0 to 1000.
integer
Market maker fee override, −1000 to 1000, or null to remove it.
boolean
Publish or unpublish the book for import.
boolean
Turn depth pooling on or off. The peer cache is invalidated immediately, so the change takes effect on the next order rather than after the 30-second window.
object
Hash of the setOperator transaction you signed for a settlement operator rotation, under the operator key.
boolean
Turn the reference band on or off. Turning it off clears the cached reference price.
string
MANUAL, STOCK_FEED or EXTERNAL_FEED.
string
HTTPS feed endpoint, or null. Must resolve to a public host.
string
Feed headers as a JSON string, or null.
string
JSON path, or the ticker symbol in STOCK_FEED mode.
string
Refresh interval, from EVERY_TRADE to 1DAY.
integer
Band half-width in basis points, 1 to 10000, or null.
boolean
Whether a stale reference stops trading.
integer
Staleness window in seconds, 60 to 604800, or null.
integer
Reference move that pauses the book, 10 to 10000, or null.

Response Fields

Returns the updated book, in the same shape as Get Order Book.
Rotating the settlement operator does not retire settlements already staged for the old one. A pending settlement’s calldata is rebuilt against the book’s current operator when you fetch it, so re-fetch with Get Settlement Calldata after a rotation rather than broadcasting a payload built earlier.

Error Codes