Skip to content

BFP-5156: add OPERATOR_CANCELLED_ALL_ON_MARKET to OrderCancelReason - #299

Merged
kevin-ip merged 1 commit into
mainfrom
kevin/bfp-5156-operator-cancelled-all-on-market
Oct 29, 2026
Merged

kevin-ip merged 1 commit into
mainfrom
kevin/bfp-5156-operator-cancelled-all-on-market

Conversation

@kevin-ip

Copy link
Copy Markdown
Contributor

What

Adds OPERATOR_CANCELLED_ALL_ON_MARKET to OrderCancelReason and regenerates the TypeScript, Python and Rust clients. Users will see it on orders an operator cancels across a whole market ahead of a delist (BFP-5156); the matching engine emits it as CANCEL_REASON_OPERATOR_CANCELLED_ALL_FOR_MARKET (protobuf-messages #396) and event-dispatcher-v3 maps it to this value.

Versions

Python and Rust 1.21.0 → 1.22.0 (apigen's minor bump). TypeScript 2.3.1 → 2.4.0 by hand: apigen wrote 1.22.0, which would be a downgrade on the TS package's own version line.

Client impact

A new enum value. Clients that switch exhaustively on OrderCancelReason, or reject values they don't know, need to handle it before the matching engine starts emitting it.

🤖 Generated with Claude Code

An operator can cancel every order on a market ahead of a delist; users
see this reason on the cancellations. Clients regenerated: Python and
Rust 1.22.0, TypeScript 2.4.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kevin-ip
kevin-ip marked this pull request as ready for review October 29, 2026 16:06
@kevin-ip
kevin-ip requested review from a team and lucasfronza as code owners October 29, 2026 16:06
@kevin-ip
kevin-ip merged commit 1e3101a into main Oct 29, 2026
5 checks passed
@kevin-ip
kevin-ip deleted the kevin/bfp-5156-operator-cancelled-all-on-market branch October 29, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants