feat: TradingView-style report optimization and Python 3.9 compatibility#21
Merged
Conversation
Owner
AlanFokCo
commented
May 16, 2026
- 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
- 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>
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.