Back to Factors
New factor
Write a factor
Python-style formula over the bar fields and the operator table. Every operator looks back or across the universe, never forward, so the rule is causal by construction.
Definition
Preprocessing (fixed order)
Analysis parameters
What benchmark_close / benchmark_returns are: a venue symbol (BTCUSDT by default) or UNIVERSE, the equal-weight mean of the members. A benchmark coin that is itself a member stays in the cross-section (its relative values are 0).
Fill the name and slug and pass the check to save.