Repository navigation
v0.9.0-beta.6
Pre-release
Pre-release
·
4413 commits
to master
since this release
Changelog
All notable changes to Open Alice will be documented in this file.
[Unreleased]
🐛 Bug Fixes
- build: Fix opentypebb exports for production + add start script
- pipeline: Batch parallel tool results into single user message
- ui: Warn that Anthropic-compatible base URL must end with /v1
- pipeline: Remove double media extraction from text-kind providers
- Restore preview image in README
- Sanitize orphaned tool-calls in toModelMessages
- Correct message dispatch for TWS v201+ protocol
- Include spec files in tsc and fix all type errors
- Add optional chaining for legacy commits without contract/order
- Align frontend types with IBKR-renamed backend fields
- Upgrade deps to resolve 21 of 23 security vulnerabilities
- ci: Build @traderalice/ibkr before tests
- Nullable close price in crypto schema & IME composition guard (#65, #66)
- Order loss in Trading-as-Git — execution detection + precise sync
- Trading system precision — Decimal throughout, add reduceOnly
- AliceId uses market.symbol (unique) instead of market.id (ambiguous)
- Shared e2e setup + fetchClosedOrders without limit/since
- GetOrder uses fetchOpenOrder/fetchClosedOrder (singular)
📚 Documentation
- Add README for @traderalice/ibkr package
- Add DESIGN.md with exploration history and decision rationale
- Add experimental software disclaimer to README
- Update README with UTA architecture and IBKR type system
- Add Trading domain README — UTA design philosophy
🔧 Refactoring
- ai-providers: Rename GenerateProvider → AIProvider + add MockAIProvider
- Move mock.ts files into mock/ directories
- Consolidate provider utils into ai-providers/utils.ts + add vitest config
- Rename ai-provider.ts → ai-provider-manager.ts
- Push history serialization down into providers, remove inputKind
- Split decoder into modular handler files with full protobuf support
- E2e tests share single TWS connection via setup.ts
- Use IBKR types as UTA source of truth
- Rename ITradingAccount → IBroker, AlpacaAccount → AlpacaBroker, CcxtAccount → CcxtBroker
- Introduce UnifiedTradingAccount (UTA) class
- Rename providers/ → brokers/ directory
- Move broker types and factory into brokers/ directory
- Inline dispatcher and state bridge into UTA, add comprehensive tests
- Remove getAccountGit indirection, fix legacy commit crash
- Unified Trading Account (UTA) + IBKR type system (#67)
- Replace stub MockBroker with in-memory exchange simulator
- Trading-as-Git async model — push=submitted, sync=filled
- Remove defaultMarketType from CcxtBroker
- GetOrders(orderIds) — explicit query targets, no more guessing
🚀 Features
- Scaffold @traderalice/ibkr package — types, protocol, decoder, wrapper
- Complete EClient with all 100+ request methods
- Implement protobuf decoding for core TWS messages
- ToolCallLog + fix equity nullable OHLC (#69)
- Sync() accepts delayMs — exchange API settle time
🧪 Testing
- Expand unit test coverage from 62% to 74% statements
- Port Python tests + add comprehensive test suite (51 tests)
- Add unit tests for all IBroker methods on Alpaca and CCXT
- Precision + reduceOnly behavior tests (TDD contracts)
- Add UTA e2e tests — MockBroker lifecycle + Bybit sandbox
- Add raw CCXT diagnostic + e2e serial execution
- E2e confirms aliceId fix — orders now route to perp correctly
- Ccxt-bybit getOrder with 5s delay — still null, not a timing issue