Repository navigation
New
Integrations hub & remote MCP server. A new Integrations page brings together TradeTally's external connections, with a What's-new tour (?tour=2026-12-integrations) and cards that hide themselves when not configured on the server:
- Remote MCP server (
/api/mcp, Pro). Connect Claude, ChatGPT, Cursor, and other MCP clients to 8 read-only tools over Streamable HTTP with OAuth 2.1 (PKCE S256, protected-resource and server metadata, dynamic client registration, Client ID Metadata Documents, RFC 8707 resource binding, rotating refresh tokens with reuse detection, andoffline_accessso ChatGPT stays signed in). - Calendar feed (
.ics). Subscribable calendar for trades, journal reminders, weekly review, and (Pro) earnings for held symbols. - Trade intake webhook (Pro). Signed per-user webhook accepting fills or completed trades from TradingView and similar tools.
- Telegram & Discord bots. Account linking,
/pnl,/trades,/card,/note, daily recaps, and trade alerts. - Export sync & wearables. Sync trades to Google Sheets and Notion, and bring Oura and WHOOP sleep/recovery metrics into Health Analytics.
- Zapier app (
integrations/zapier). Event triggers, Create Trade, and Find Trade actions, with scoped v1 API keys (trades:read/trades:write). - New broker syncs. Credential-based broker syncs for ProjectX, TradeLocker, Coinbase, Kraken, Hyperliquid, and tastytrade.
Progressive Web App (PWA) support. Install TradeTally to your desktop or home screen with a web manifest, icons, service worker shell caching, and an install prompt.
Real-time Finnhub WebSocket price streaming. Opt in with FINNHUB_WEBSOCKET_ENABLED=true to stream live regular-session prices for up to FINNHUB_WEBSOCKET_MAX_SYMBOLS symbols (prioritizing price alerts, open trades, then watchlist/holdings) instead of 30-second REST polling, with automatic REST fallback. Also skips /stock/financials for 6 hours after a plan 403.
Per-trade import warnings. Import warnings that concern a specific trade (such as split reversals or rebuilt trades) are saved on the trade, linked directly in the import results modal, badged in the trade list, and explained with a Dismiss button on the trade detail page.
Opt-in sample trades & automatic cleanup. New accounts start empty instead of seeding example AAPL/NVDA/TSLA trades at signup. Sample trades can be loaded on demand from the dashboard and are automatically removed once your first real CSV import or broker sync lands. Removal now only deletes untouched sample rows and hides the sample-only Sample Account from the import account picker.
Performance & Accessibility
- Faster UI navigation & fewer API waterfalls. Prefetches core authenticated routes while idle, eliminates redundant request chains, and adds a repeatable UI/API/bundle benchmark suite under
scripts/bench/. - WAI-ARIA patterns for shared controls. Updated
BaseSelect,SymbolAutocomplete, andBaseModalto full ARIA patterns with proper Escape key handling inside dialogs. - Form & chart polish. Added
autocompleteandinputmode="numeric"attributes to password and 2FA inputs, and switchedTickDataCharttoreplaceChildren().
Fixes
- Broker fill pairing & CSV re-imports. Pairs broker fills by position cycle to prevent phantom trades on CSV re-imports, and imports the unmatched remainder of partly matched Schwab sales.
- Docker Compose
.envpass-through & docs fixes. Ensures all documented.envsettings reach the app container viaenv_fileand fixes issues caught in the documentation review. - Stale-chunk recovery & crash-screen resilience. Automatically recovers from stale lazy-loaded chunks after deployments, revalidates HTML responses in Docker nginx, and prevents non-fatal unhandled promise rejections or browser extensions from triggering the full-page crash screen.
- Account deletion vs. leaderboard deadlock. Locks user rows consistently and retries deadlocked (
40P01) account deletions. - Futures P&L preview guard. Prevents crashes in the trade form when switching to futures before a valid point value is set.
- Logout redirect. Prevents a 401 from
/auth/logoutfrom aborting navigation away on logout or account deletion. - Russell 2000 data. Refreshed the bundled Russell 2000 constituent list.
Upgrade notes
- Migrations
917,923–930, and934run automatically on startup. - Native nginx installs using the remote MCP server should include
scripts/nginx/tradetally-oauth.confso/.well-known/discovery documents reach the backend andGET /oauth/authorizeserves the SPA consent screen (Docker's bundleddocker/nginx.confalready handles this). - New optional environment variables:
FINNHUB_WEBSOCKET_ENABLED(defaultfalse),FINNHUB_WEBSOCKET_MAX_SYMBOLS,MCP_SERVER_ENABLED(defaulttrue).