All notable changes to DeepStack are documented here.
- Fix stale market data when backend unavailable (#38)
- Added backend health check before trusting cached quotes
- Returns fresh mock data with realistic prices when backend is down
- Prevents showing outdated cached prices as "real" data
- Comprehensive test coverage for high-risk modules (#35)
test_psychology_integration.py- Psychology/emotional state integrationtest_emotional_firewall_panic.py- Panic mode and circuit breakerstest_paper_trader_concurrency.py- Concurrent trading safetytest_paper_trader_database.py- Database persistence edge cases- +76 new tests, +2,141 lines of test code
- Coverage improved from 0% to 62-80% on critical trading modules
- Fix CORS misconfiguration vulnerability (#26)
- Fix critical XSS vulnerability in JournalList (#25)
- Add distributed rate limiting with Redis (#27)
- Add comprehensive database security migrations (#28)
- Resolve React hydration error #418 (#29)
- Unified token-based usage tracking with Usage Panel
- Model-based credit multipliers (Claude Opus > Sonnet > Haiku)
- Loss leader strategy: Market data endpoints now free
- Updated pricing, settings, and help documentation
- Prediction Markets: Kalshi integration with real-time odds
- Discover Feed: Perplexity-style news discovery in NewsPanel
- Alpha Vantage: Real market data integration for fundamentals
- Mobile Market Watcher: Three-state collapsible panel
- TradingView-style chart polish with OHLCV legend
- Emotional Firewall: Replaced glow with subtle status dot
- Market Watcher: Auto-collapse on tool select
- Discover: Text-only card variant for articles without images
- Improved chevron visibility in collapsible panels
- 262+ unit tests for thesis and options components
- E2E testing infrastructure with advanced utilities
- Load testing infrastructure with k6
- Multi-layer caching for server data performance
- Corrected Kalshi market URL generation
- Improved news article image extraction
- Fixed Discover tabs client-side category filtering
- Backend .env file loading for API keys
- Create and track trading hypotheses with structured fields
- Live price monitoring with 30-second refresh
- Circular validation gauge (0-100%)
- Price level visualization (Entry/Target/StopLoss)
- Status workflow: Drafting → Active → Validated/Invalidated
- Risk/Reward calculation
- Full CRUD for trade entries
- TipTap rich text editor for notes
- Emotion tracking at entry and exit
- Automatic P&L and percentage calculation
- Direction (Long/Short) tracking
- Lessons learned section
- Integration with Thesis Engine
- Emotion pattern analysis (win/loss correlation)
- Symbol performance tracking
- Behavior pattern detection (early exits, fear trading)
- Privacy-first design with explicit consent
- Pattern clearing capability
- Integration with AI chat context
- Free tier: 10 AI queries/12hrs, 15m delayed data, 1 thesis
- Pro tier: Unlimited AI, real-time data, full features
- Quota tracking with paywall integration
- Persistent disclaimer banner ("Not Financial Advice")
- Back buttons on all feature pages
- Research Tools section in sidebar
- Improved navigation flow
- Added Zustand stores: quota-store, thesis-store, journal-store, pattern-store
- Extended chat API with pattern context for personalization
- TipTap integration with SSR hydration fix
- New API routes: /api/journal, /api/thesis
- Fixed TipTap SSR hydration mismatch with
immediatelyRender: false - Removed duplicate DialogClose buttons
- Fixed Progress component import error
- Professional charting with symbol search
- Multi-timeframe support
- Advanced chart indicators
- Real-time market data integration
- Alpaca API proxy routes
- Live watchlist updates
- Options chain display
- Options strategy builder
- Greeks calculations
- Stock screener with real data
- News feed integration
- Economic calendar
- Multi-provider AI support (Claude, GPT, Gemini)
- Extended thinking mode
- Streaming responses
- AI-powered trading chat interface
- Basic charting
- Watchlist management
- Paper trading integration