Skip to content

feat: TradingView-style report optimization and Python 3.9 compatibility#21

Merged
AlanFokCo merged 2 commits into
mainfrom
trading-view-style-optimize
May 16, 2026
Merged

feat: TradingView-style report optimization and Python 3.9 compatibility#21
AlanFokCo merged 2 commits into
mainfrom
trading-view-style-optimize

Conversation

@AlanFokCo
Copy link
Copy Markdown
Owner

  • Add RSI(14), MACD(12,26,9), Bollinger Bands(20,2) indicators to HTML report
  • Add indicator toggle panel (MA/BB/VOL/S-R show/hide) on K-line chart
  • Add crosshair-linked dynamic legend with real-time indicator values
  • Replace iframe-based web console with native Lightweight Charts (ReportViewer)
  • Replace SVG sparklines with LTVC mini area charts in MetricsComparison
  • Extract shared _compute_chart_data() helper for unified chart data production
  • Fix Python 3.9 compatibility: replace str|None/list[str]/dict[str] with Optional/List/Dict across all backend files
  • Fix RSI reference lines using OHLCV time axis instead of portfolio dates
  • Fix ReportLinkModal scrolling by changing overflow:hidden to overflow:auto

AlanFokCo and others added 2 commits May 16, 2026 23:23
- Add RSI(14), MACD(12,26,9), Bollinger Bands(20,2) indicators to HTML report
- Add indicator toggle panel (MA/BB/VOL/S-R show/hide) on K-line chart
- Add crosshair-linked dynamic legend with real-time indicator values
- Replace iframe-based web console with native Lightweight Charts (ReportViewer)
- Replace SVG sparklines with LTVC mini area charts in MetricsComparison
- Extract shared _compute_chart_data() helper for unified chart data production
- Fix Python 3.9 compatibility: replace str|None/list[str]/dict[str] with Optional/List/Dict across all backend files
- Fix RSI reference lines using OHLCV time axis instead of portfolio dates
- Fix ReportLinkModal scrolling by changing overflow:hidden to overflow:auto

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Add UP006/UP035/UP045 to ruff ignore list for Python 3.9 Optional/List/Dict compatibility
- Fix import ordering (I001) in proc_registry.py and strategies.py
- Black format runs.py
- Disable no-explicit-any for ReportViewer/MetricsComparison (required for LTVC v4 type casts)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@AlanFokCo AlanFokCo merged commit f2ce8cd into main May 16, 2026
7 checks passed
@AlanFokCo AlanFokCo deleted the trading-view-style-optimize branch May 16, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant