Repository navigation
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_limitwithadd_limitfor a new keyed barrier orupdate_limitfor an existing one. REST clients usePOSTto create andPUTto 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
reviewverdict. 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, useRouterConfig.SurfacesandV1Surfacesfor the standard prefixes. In a customapp.RouteConfig, provideRoutes,AccessModeand access for each extra mount. - Hosts that embed the panel must call
initOfficerI18n()andregisterOfficerDefaults()at startup when using Officer's defaults, and mountDisplayPreferencesProviderabove the panel pages. - Building Officer from source requires Go 1.26.11 or later.