#39 — Dashboard momentum signals tab
Hypothesis — what it tests
Engineering: give the operator a live multi-timeframe view of momentum, its acceleration, and currency strength, with persistent history — situational awareness rather than a tradeable hypothesis.
Description
An infrastructure build, not a strategy test. The fx-signals service was extended (213 → 364 lines) to compute, per pair and per currency, a weighted momentum sum across seven time windows (S5, M1, 5m, 15m, 1h, 4h, 24h with weights 0.05-0.25), per-window acceleration (change in momentum per poll interval), and the same for currency-strength (CSI) values. All values are appended to a DuckDB history database (signals_history.duckdb) each polling cycle. The dashboard gained a /api/signals/history endpoint, a WSum column with acceleration arrow badges on both the pair and CSI tables, and three Chart.js time-series charts (momentum / acceleration / weighted sum) with pair selector and 1h-24h range switches. One deploy fix was needed: the column name `window` is a DuckDB reserved word and was renamed to `tf`.
Key result
Indicators
Algorithms
Interactive version (search, filters, figures): the experiment explorer.