SPB Git

Repository Public

README.md 1.6 KB 22 lines markdown

1# ts_momentum / 323Universe-generic version: `META["universe"] = ["*"]`. The symbols are not written in the strategy; they are the ones the4agent trades (1 to 12 market symbols), passed by the engine with the candles and by `--symbols` to the backtest.5Same rule and same parameters as version 1: nothing was re-tuned, for any universe. Each symbol is judged on its own past return; `N` is the number of symbols the agent chose, so one symbol can take the whole allocation when `N = 1`.67**What a generic universe changes.** The code hash still pins the behaviour, and the agent's mandate pins the assets.8But the evidence does not travel: a backtest report is attached to ONE agent and records the symbols it was run on9(`config.symbols`); a result on one universe says nothing about another, and every universe tried is one more trial.10Symbols with a short history shorten the common backtest period for all of them.1112**Hypothesis.** Returns of liquid crypto assets are positively autocorrelated at the horizon of a few weeks: an asset13that went up over the last 30 days is more likely to keep going up than to reverse (time-series momentum, Moskowitz,14Ooi & Pedersen 2012).1516**Rule.** For each symbol: weight `1/N` if `close[t] > close[t - window]` (window = 720 hourly bars = 30 days),17otherwise 0. The unused part stays in USDC.1819**What would refute it.** No improvement over buy-and-hold in drawdown or Sharpe ratio after costs, out of sample.20The signal flips when the price crosses its level of 30 days ago, which can cause repeated in-and-out trades in a21flat market; each flip costs fee + slippage on the whole position.22
Files main
Menu

Theme