fix: CcxtBroker OKX/Bybit initialization and market fetching#120
Open
HengWeiBin wants to merge 46 commits intoTraderAlice:devfrom
Open
fix: CcxtBroker OKX/Bybit initialization and market fetching#120HengWeiBin wants to merge 46 commits intoTraderAlice:devfrom
HengWeiBin wants to merge 46 commits intoTraderAlice:devfrom
Conversation
fix: Alpaca broker fixes + IBroker redesign (provider → meta, aliceId → UTA)
Trading push approval + IBroker refactor + UTA e2e
Unify AI providers: Agent SDK OAuth + remove Claude Code CLI
ui: frontend design overhaul — layout, consistency, polish / UTA connect
UTA management overhaul: health monitoring, connection validation, UI redesign
feat: IBKR broker connector + trading infrastructure improvements
fix: IBKR contract identity + E2E improvements
refactor: broker self-registration + AccountManager lifecycle + account enable/disable
feat: fill data capture, IBKR d.ts fix, E2E stability
feat: UTA snapshot system + equity curve + broker reliability fixes
v0.9.0-beta.8: IBKR, snapshots, broker self-registration
v0.9.0-beta.8: IBKR stability, aliceId enforcement, trailing stop fix
fix: conditional order visibility + ibkr ESM imports (TraderAlice#90, TraderAlice#94)
feat: IBKR-aligned order params + TPSL support + order summarization
v0.9.0-beta.9: MCP number coercion fix + modifyOrder safety
refactor: market data infrastructure overhaul
feat: session awareness tools, dev workbench, telegram onboarding
feat: Telegram connector overhaul — auth, trading panel, hot-reload
feat: add Codex AI provider + profile-based config system
feat: AI provider preset system + profile UX + Codex fixes
feat: currency-aware UTA + FX rates UI
feat: CCXT dynamic credentials + snapshot management + wizard refactor
fix: hyperliquid end-to-end support (markets, market orders, markPrice)
feat: commodity canonical naming, data provenance, provider bugfix
feat: news feed, UI page reorganization, dev watch
docs: rewrite README positioning and structure
feat: AgentEvent types, Decimal monetary fields, brand unification
feat: add Diary — passive read-only view of heartbeat cycles
Default Claude to Opus 4.7 + ListenerRegistry refactor
feat: event-driven architecture + external triggers + Flow visualization
e7db2df to
bdf8c75
Compare
Event graph maturation: Producers, external triggers, webhook auth
feat(ai-providers): GLM + Kimi presets, region-aware endpoints, quieter auth errors
feat(market): workbench page + market-data HTTP consolidation
feat: agent-sdk observability + Kimi K2.6 + UI test buttons (beta.13)
feat(market): equity detail page with per-asset-class routing
fix(market-data): hot-reload provider + credentials when config changes
a8558c4 to
26f0dd5
Compare
added 8 commits
April 22, 2026 21:50
- Pass 'type' in params to fetchMarkets() to fix 'Parameter instType error' on OKX - Add safety checks for enableDemoTrading() to prevent 'undefined (reading rest)' crash - Map 'sandbox' mode to enableDemoTrading() for OKX and Bybit - Ensure sandbox and demoTrading options are applied correctly without conflict
…to prevent DataCloneError
…uble-click issue - Moved CooldownGuard state update from check() to new onSuccess() hook - Added isPushing lock to TradingGit to prevent overlapping pushes - Updated Telegram plugin to show 'Processing...' state during push - Fixed missing 'sandbox' property in CcxtBroker tests - Added Decimal import in trading tools
…tDetails
- Add resolveContract helper to UnifiedTradingAccount to auto-fill broker-native fields (conId, localSymbol) from aliceId
- Update getQuote and getContractDetails to use resolveContract, fixing resolution issues for brokers like CCXT
- Update CCXT broker/contract comments to reflect correct aliceId format "{utaId}|{nativeKey}"
- Fix type errors in trading.spec.ts (position cost/price fields must be strings)
26f0dd5 to
f6b9537
Compare
4614520 to
01eed92
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes several CCXT initialization issues specifically affecting OKX and Bybit.
Changes