unravel
unravel
Slow Momentum Factor is a measure of the momentum of an asset, calculated based on a range different lookback periods.
Leveraged positions and stop-loss orders create cascading buy/sell pressure. For example:
Cryptocurrency valuations often depend on viral adoption cycles and developer activity spikes. Faster Momentum indicators:
unravel
Benchmark (Filecoin) | Strategy | |
---|---|---|
100% | 100% | |
100% | 100% | |
1.00 | 1.00 | |
100% | 100% | |
1.00 | 1.00 | |
1.00 | 1.00 |
Predictive factors are designed to be translated into simple long-only strategy, with simulated past performance:
The strategy is rebalanced daily, on a continuous basis. There are 0.05% transaction costs applied on each position adjustment.
Get started by replicating the historical performance with our code snippets.
from api import get_normalized_series, get_price_series from backtest import vectorized_backtest from plotting import plot_backtest_results UNRAVEL_API_KEY = "YOUR-API-KEY" risk_factor = "momentum_slow" ticker= "FIL" start_date = "2022-01-01" end_date = "2024-06-01" smoothing = 0 risk_factor_signal = get_normalized_series(ticker, risk_factor, start_date, end_date, smoothing, UNRAVEL_API_KEY) price = get_price_series(ticker, start_date, end_date, UNRAVEL_API_KEY) price = price[risk_factor_signal.index] results = vectorized_backtest(price, risk_factor_signal) plot_backtest_results(results, ticker, risk_factor, smoothing)