Skip to content

v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 07:51
· 0 commits to main since this release

Adds operator review for orders that reach a risk limit. A policy can reject an order or send it for review. Officer reserves funds while the operator decides only if every triggered review rule requests a hold.

  • Browser notifications for orders awaiting a decision and for accounts that gain access to both paper and live trading.
  • Spot trading on Bybit, OKX and Coinbase Advanced Trade, plus trading and market data through OpenAlgo.
  • A paper execution simulator with configurable fills, delays and rejections for testing an order from submission through settlement.
  • Position limits by account and asset, and manual or scheduled daily resets for realized account P&L.

Breaking changes

  • Limit writes now distinguish creation from updates. Replace MCP set_limit with add_limit for a new keyed barrier or update_limit for an existing one. REST clients use POST to create and PUT to update. Handle a duplicate key as HTTP 409 and a missing key on update as HTTP 404.
  • Order and signed-approval consumers must handle the new review verdict. Read the review marks and wait for an operator decision before treating the order as approved.
  • Custom Go hosts must supply a caller context for account-scoped operations and remove references to Caller.Role. When constructing a router directly, use RouterConfig.Surfaces and V1Surfaces for the standard prefixes. In a custom app.RouteConfig, provide Routes, AccessMode and access for each extra mount.
  • Hosts that embed the panel must call initOfficerI18n() and registerOfficerDefaults() at startup when using Officer's defaults, and mount DisplayPreferencesProvider above the panel pages.
  • Building Officer from source requires Go 1.26.11 or later.