Skip to content

feat: order metadata, consistency/stability metrics, dashboard & MCP improvements#428

Merged
MDUYN merged 1 commit into
mainfrom
dev
Apr 18, 2026
Merged

feat: order metadata, consistency/stability metrics, dashboard & MCP improvements#428
MDUYN merged 1 commit into
mainfrom
dev

Conversation

@MDUYN

@MDUYN MDUYN commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator

Changes

Order Metadata

  • Add metadata_json column to Order model with reason tracking
  • Tag orders with reasons: buy_signal, sell_signal, scale_out, stop_loss, take_profit
  • 43 tests across 7 test files

Consistency & Stability Metrics

  • CV-based consistency (scale-invariant) and normalized-std stability metrics
  • 8 new fields in BacktestSummaryMetrics
  • Weights added to all 4 BacktestEvaluationFocus presets

Dashboard Improvements

  • Consistency/Stability KPI cards and ranking table columns
  • Absolute-threshold color coding on metrics with best-value stars
  • Reason column in orders table, Stop Loss/Take Profit in trades table
  • Fixed empty timeline chart (custom canvas 2D rendering)
  • Symbol dropdown for timeline filtering
  • Fixed report.show(browser=True)

MCP Server

  • Consistency/Stability columns in list_strategies
  • Added to compare_strategies and rank/filter tool hints
  • 32 new MCP server tests

Housekeeping

  • Flake8 lint fixes (E501, E128)
  • Tutorial notebook and strategy example updates

@MDUYN MDUYN merged commit d9c8ed2 into main Apr 18, 2026
7 checks passed
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