Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 07:31
· 56 commits to main since this release
Immutable release. Only release title and notes can be modified.

Adds per-asset position limits to Spot Funds and lets accounts and limit policies be managed on a live engine: accounts can be retired, and rate-limit and order-size policies can start empty. Persisted account blocks now survive a restart with their original cause. The Go and Python bindings get a hardening pass, the C++ binding builds with Visual Studio 2026 (CMake 4.2 or later), and every binary artifact now carries third-party license notices.

  • New Spot Funds position limit per account and asset, adjustable at runtime
  • Account retirement on a live engine in Rust, the C ABI and Go
  • Support for empty rate-limit and order-size policies, with limits added at runtime
  • Restore of persisted account blocks with their original cause
  • Fix for memory-safety and decimal-precision defects in the Go and Python bindings

Breaking changes

  • Rust PreTradeContext::new takes the order as a second argument - pass the order the policy under test is driven with
  • Reject and account-block user_data is an integer token in the C ABI (size_t) and Go (uintptr), no longer a pointer - pass a handle or index your application resolves itself
  • An unset account group ID is rejected in Go and C++: Go Accounts.ClearGroupCurrency, marketdata.Service.SetAccountGroupTTL and ClearAccountGroupTTL now return an error, and C++ AccountGroupId has no default constructor - name the default group as DefaultAccountGroup
  • NoBarriersConfigured is removed from Rust RateLimitPolicyError and OrderSizeLimitPolicyError - an empty configuration is now valid, so drop that match arm
  • Python from_decimal_rounded rejects a Decimal with scale above 28 or a mantissa wider than 96 bits instead of rounding it - quantize before the call
  • Go AccountGroupResolutionError.Unwrap returns []error - match with errors.Is / errors.As instead of calling Unwrap