Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
Quantpedia
86 documents
TqSdk
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Quantopian lectures
45 documents
Binance API docs
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

11 documents

backtesting.py

This tutorial demonstrates parameter optimization and result analysis using a moving average crossover strategy with separate averages for trend, entry, and exit decisions. It first applies randomized grid search across constrained parameter combinations and…

BacktestingTechnical indicatorsEquitiesStatistics
backtesting.py

This tutorial shows how to build a long-only moving average crossover strategy by combining reusable strategy components from a Python backtesting library. It turns the relationship between a short and a longer moving average into entry signals, allocates…

EquitiesTrend followingTechnical indicatorsRisk management
backtesting.py

This tutorial shows how to test a long-only strategy that combines daily and weekly relative strength index readings with a stack of moving averages. It uses daily price bars as the base data, resamples them to weekly intervals to calculate the…

EquitiesTechnical indicatorsTrend followingBacktesting
backtesting.py

This tutorial shows how to test a long-only strategy using signals from daily and weekly data. It resamples daily price bars to weekly bars to calculate weekly RSI, then aligns that indicator with the daily series. Entries require both RSI readings to be…

EquitiesTechnical indicatorsTrend followingBacktesting
backtesting.py

This tutorial demonstrates a supervised learning workflow for hourly EUR/USD data using a k-nearest neighbors classifier. It builds features from price deviations from moving averages, moving-average spreads, momentum, Bollinger Bands, a sample sentiment…

ForexMachine learningTechnical indicatorsBacktesting
backtesting.py

The tutorial demonstrates how to optimize a four-moving-average strategy and inspect how its parameter choices affect backtest results. Two averages define the prevailing trend, while price crossing separate entry and exit averages triggers trades. The…

EquitiesTechnical indicatorsBacktestingStatistics
backtesting.py

This guide introduces a workflow for testing a single-asset trading strategy with a Python backtesting framework. It describes the expected OHLC data format, explains how to prepare indicators in a strategy initialization step, and shows how the strategy…

BacktestingTechnical indicatorsEquitiesRisk management
backtesting.py

The README introduces a Python framework for backtesting strategies on OHLC or OHLCV price data. Its example defines a moving-average crossover system: it buys when the shorter simple moving average crosses above the longer one and sells when the reverse…

BacktestingTechnical indicatorsEquitiesRisk management
backtesting.py

This tutorial builds a supervised learning strategy for hourly EUR/USD data. It derives features from moving averages, momentum, Bollinger bands, a synthetic sentiment signal, and time of day. The target class represents whether the price return roughly two…

ForexMachine learningTechnical indicatorsBacktesting
backtesting.py

This quick start explains how to use backtesting.py to simulate a strategy on one asset at a time from OHLC data. It walks through a moving-average crossover: calculate indicators during initialization, evaluate each new bar in the strategy loop, and submit…

BacktestingEquitiesTechnical indicatorsRisk management
backtesting.py

This tutorial demonstrates how to combine reusable strategy components in a backtesting framework. It turns a short and a long simple moving average crossover into a vectorized, long-only entry signal, sizes entries as a share of available liquidity, and…

BacktestingTechnical indicatorsTrend followingRisk management