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
TqSdk
86 documents
Quantpedia
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
Binance API docs
45 documents
Quantopian lectures
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

116 documents

Qlib

This configuration defines an equity prediction workflow for China’s CSI 300 universe. It applies robust feature normalization and missing-value filling, drops labels with missing values, and ranks labels cross-sectionally. An ordinary least squares linear…

China marketsEquitiesMachine learningBacktesting
Qlib

This notebook demonstrates an end-to-end Qlib workflow for a China-market stock ranking model. It initializes Qlib data, uses the CSI 300 universe and Alpha158 features, and trains a LightGBM model on historical data with separate training, validation, and…

EquitiesChina marketsMachine learningBacktesting
Qlib

This overview introduces reinforcement learning as a way to learn sequential decisions by interacting with an environment and maximizing accumulated reward. It outlines the agent, environment, policy, and reward, and explains how delayed feedback differs…

Machine learningExecutionPortfolio constructionRisk management
Qlib

This Qlib documentation describes a workflow for generating, storing, training, and collecting multiple research tasks. A task can include a model, dataset, and recorded outputs. Task generators such as RollingGen can create tasks for different date…

Machine learningBacktestingPortfolio constructionStatistics
Qlib

This Qlib documentation explains why historical strategies need the versions of financial data that were available at each past decision time. Financial statements can be revised after publication; using only the latest value in a historical simulation can…

BacktestingEquitiesStatistics
Qlib

This document describes a data preparation workflow for daily risk estimates on China A-shares. For each date, it selects the CSI 300 constituents, gathers a rolling window of closing prices, calculates returns, and clips extreme returns at the…

China marketsEquitiesStatisticsRisk management
Qlib

This document presents a framework for testing trading decisions made at multiple time scales together. It argues that portfolio selection and intraday order execution should interact within one backtest because execution quality can change which…

High-frequency tradingExecutionBacktestingPortfolio construction
Qlib

This configuration specifies a Qlib workflow for a TabNet model using the Alpha360 feature handler and CSI 300 instruments, with the index as benchmark. It sets a two-day-ahead close-price return label, applies robust normalization and missing-value filling…

EquitiesChina marketsMachine learningBacktesting
Qlib

This workflow note explains how to prepare data when training models across rolling windows. As each window advances, the training sample changes, and learned processor state—such as means and standard deviations—must be recalculated for that window. Reusing…

Machine learningBacktestingStatistics
Qlib

This configuration specifies a Qlib workflow for training a CatBoost model on Alpha158 features for the CSI 500 universe. The data spans 2008 through mid-2020, with training through 2014, validation during 2015–2016, and testing from 2017 onward. The model…

China marketsEquitiesMachine learningBacktesting
Qlib

This configuration describes a Qlib workflow for training a Localformer model on China A-share data and evaluating its predictions as a portfolio signal. It uses the CSI 300 universe and benchmark, an Alpha360 data handler, robust feature normalization,…

China marketsEquitiesMachine learningBacktesting
Qlib

This configuration defines a Qlib workflow for ranking CSI 500 equities with a LightGBM model and Alpha360 features. It uses cross-sectional rank normalization for labels and trains on data from 2008 through 2014, validates on 2015–2016, and evaluates a…

China marketsEquitiesMachine learningBacktesting
Qlib

This Qlib configuration defines a Chinese equity research workflow using the CSI 300 universe and Alpha158 features. It trains a double ensemble of gradient-boosted models, with both sample reweighting and feature selection enabled, then evaluates signals…

China marketsEquitiesMachine learningBacktesting
Qlib

This example shows a two-stage workflow for keeping predictions current with Qlib’s online model tools. First, it trains a model using a CSI 300 gradient-boosting task configuration and marks the resulting model as the online model. Second, it calls the…

Machine learningEquitiesChina marketsExecution
Qlib

This Qlib configuration trains an ADD model using a GRU base model and Alpha360 features to rank CSI 300 stocks. Features are robustly normalized and missing values are filled; labels are cross-sectionally rank-normalized after missing labels are dropped.…

EquitiesChina marketsMachine learningFactor investing
Qlib

This configuration specifies a Qlib research workflow for China A-share stocks in the CSI 300 universe. It uses Alpha360 features, robust feature normalization and missing-value filling, and cross-sectional rank normalization for labels. The prediction…

China marketsEquitiesMachine learningBacktesting
Qlib

This configuration describes a Qlib experiment for CSI 300 equities using a LightGBM regression model. The dataset combines daily features with intraday one-minute data resampled to a daily frequency through a custom handler. The configured label frequency…

EquitiesChina marketsMachine learningBacktesting
Qlib

The document defines Qlib data handlers for one-minute bars, aimed at high-frequency research and backtesting. The training handler creates normalized open, high, low, close, and approximate VWAP features, along with volume features. Price features are…

High-frequency tradingEquitiesStatisticsBacktesting
Qlib

This configuration describes an order-execution backtest using five-minute market data and an order file. The main strategy uses a recurrent network with a PPO policy, a categorical action interpreter, and a state interpreter that supplies recent intraday…

ExecutionMachine learningBacktestingMarket microstructure
Qlib

This configuration describes a Qlib workflow for training a TCTS model on the CSI 300 universe using Alpha360 features. The data span 2008 to 2020, with training through 2014, validation over 2015–2016, and testing from 2017 to mid-2020. Feature processing…

EquitiesChina marketsMachine learningBacktesting
Qlib

The document introduces Qlib’s online-serving components for applying trained models to current market data. It describes a workflow that can produce predictions in live conditions and support real trading based on those predictions. The named components are…

Machine learningExecution
Qlib

This document presents an optimization-based alternative to a simple top-ranked stock strategy. It describes using Qlib’s EnhancedIndexingStrategy to seek a balance between portfolio return and tracking error against a benchmark, with correlation and…

EquitiesPortfolio constructionRisk managementChina markets
Qlib

This configuration specifies a reinforcement learning setup for order execution using Proximal Policy Optimization. It defines a categorical action interpreter, a recurrent network, and a full-history state representation built from intraday and prior-day…

Machine learningExecutionBacktesting