Skip to content

v0.3.5

Choose a tag to compare

@Quantweb3-Scott Quantweb3-Scott released this 12 Mar 07:26
· 68 commits to main since this release

Changed

  • Order.oid / Order.eid identifiers: The internal order identifier has been renamed from id/uuid to oid (Order ID). The exchange-assigned order ID is now accessed via eid (Exchange ID).
  • OrderRegistry simplified: The registry no longer manages a UUID↔ORDER_ID bidirectional mapping. It now tracks active OIDs directly.
  • AsyncCache constructor: Removed the registry= parameter. A clock: LiveClock parameter is now required.
  • AsyncCache._order_status_update() replaces _order_initialized(): Internal order lifecycle tracking now uses a single unified method.
  • REST API client sync/async unification: Exchange REST API clients now expose a unified interface — async methods are transparently callable in a synchronous context via an __getattr__ wrapper.
  • Trade schema: The side field (OrderSide) is now required when constructing a Trade object.

Fixed

  • connector.py OID bug: Order objects created inside BaseConnector incorrectly used id= instead of oid=, causing order tracking failures.