Skip to content

v0.12.0

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:41
Immutable release. Only release title and notes can be modified.

Adds human review to pre-trade risk checks across Rust, C, C++, Go, Python,
and JavaScript. Rules can reject an order or mark it for review with or without
a hold. On approval, the caller reruns pre-trade with confirmation and
indicates whether Spot Funds already holds the funds for that order.

  • Built-in review rules scoped to all accounts, an account group, or one
    account, with optional exact-instrument filters.
  • Review modes for rate limits, P&L bounds, and Spot Funds balance and
    position limits. Order size limits can be registered as review policies.
  • An account snapshot in custom policy contexts that keeps the account, group,
    and currency consistent throughout an operation.
  • Strict validation of unknown configuration keys in JavaScript and WebAssembly.
  • Correct loading of native release libraries and the Python extension on macOS.

Breaking changes

  • Check the review marks on pre-trade results before sending orders when review
    rules are enabled. A returned reservation can require human approval.
  • Migrate the single rate-limit broker barrier and Spot Funds global P&L
    barrier to barrier collections. Wrap an existing single barrier in a
    one-element collection and set its mode to Reject to keep enforcing it.
  • Rebuild C and C++ consumers against the 0.12.0 headers and native runtime.