-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
The current YAML output structure is well-organized for detecting and logging market patterns. However, to validate the predictive power of these patterns, the structure needs to be enhanced to include outcome-based metrics. The current format reports that a pattern occurred but does not track what happened next, which is essential for rigorous backtesting.
Acceptance Criteria
The output data structure should be refactored to include the following changes:
-
Add an
outcome_metricsObject: For each detection, include a new object that captures the market's subsequent performance.forward_1d_return_pctforward_3d_realized_volprediction_materialized(boolean)
-
Incorporate "Velocity" Metrics: The quantitative evidence should include day-over-day changes, which are often the primary signal.
- Add
net_gex_change_1dto thequantitative_evidence.
- Add
-
Refine Performance Terminology: The top-level metrics block should be updated for clarity.
- Rename
detection_metricstoperformance_metrics. - Rename
success_rate_pcttodetection_rate_pct. - Add a new
predictive_accuracy_pctfield derived from theprediction_materializedoutcome.
- Rename
-
Consolidate Redundant Fields: Clean up the GEX metric fields to remove duplication (e.g., use a single field like
net_gex_usdinstead of three similar ones). -
Improve Readability (Optional): Group related fields within each detection into logical objects like
narrative,quantitative_evidence, andoutcome_metricsto improve clarity.