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

100 documents

Machine Learning for Trading

This demonstration describes the operational shape of a continuously running crypto strategy connected to a USD spot broker. It maps a larger perpetual-futures case-study universe to the smaller set of available spot pairs, then routes a momentum z-score…

CryptoPerpetual futuresSpot marketsMomentum
Machine Learning for Trading

This notebook trains a reinforcement learning agent to schedule a fixed sell order across hourly bars from a crypto perpetual futures market. Its state includes lagged returns, volatility, prior-hour volume, the perpetual premium to spot, and time until…

CryptoPerpetual futuresExecutionMachine learning
Machine Learning for Trading

This notebook builds a reusable diagnostic survey for financial datasets before preprocessing or feature engineering. It checks time-index dtype, null timestamps, ordering and uniqueness; finds exact and key-based duplicates; measures missing values by…

StatisticsEquitiesCryptoFutures
Machine Learning for Trading

This chapter presents a framework for evaluating causal claims in quantitative trading research. It starts with clear definitions of treatment, outcome, estimand, counterfactual, and adjustment set, then matches research questions to methods: Double Machine…

Machine learningStatisticsBacktestingFactor investing
Machine Learning for Trading

This evaluation notebook screens financial and model-based features for their relationship to the next eight-hour return of crypto perpetual futures. It builds the evaluation sample from walk-forward validation windows, keeps the final holdout outside the…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

The document explains why TabM is used to model perpetual funding panel data: its shared neural backbone combines all input features, while nonlinear layers can represent interactions. Unlike a tree that chooses one feature at each split, this design can use…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This notebook studies gradient-boosted models for forecasting returns and direction in crypto perpetuals. Its grid varies tree capacity and loss function, including squared-error, absolute-error, and Huber objectives, while scoring models at multiple points…

CryptoPerpetual futuresMachine learningMomentum
Machine Learning for Trading

This notebook estimates whether the premium z-score of a crypto perpetual affects subsequent eight-hour returns when three declared drivers—price volatility, funding rate, and average premium deviation—are held fixed. Because treatment is continuous, the…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This exploratory analysis profiles hourly OHLCV for crypto perpetual contracts alongside an eight-hour premium index. It examines symbol and date coverage, changing contract membership, premium units and distribution, OHLC integrity, missing values, and…

CryptoPerpetual futuresMarket microstructureStatistics
Machine Learning for Trading

This notebook develops a unit-aware framework for estimating trading costs across equities, ETFs, futures, foreign exchange, and crypto perpetuals. It first distinguishes traded volume from activity measures that cannot be converted into dollar turnover,…

ExecutionMarket microstructureRisk managementFutures
Machine Learning for Trading

This notebook measures how execution costs affect the already selected crypto perpetual futures configuration. It holds the model, checkpoint, entry rule, allocation, and risk control fixed, then reruns backtests across a grid of round-trip charges on traded…

CryptoPerpetual futuresExecutionBacktesting
Machine Learning for Trading

This guide maps causal questions to Python libraries and clarifies the distinction between estimating effects under an assumed causal structure and discovering possible structures from data. It introduces double machine learning for adjusted treatment…

Machine learningStatisticsEquitiesCrypto
Machine Learning for Trading

This notebook applies TabM, a weight-sharing neural ensemble, to a panel of cryptocurrency perpetual-futures features. Its members share a neural backbone but have separate scaling vectors and output layers, combining efficient ensembling with nonlinear…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This notebook builds an auditable report for a long-only Bitcoin strategy that enters and exits using RSI thresholds. It compares gross and net results, then measures performance against a buy-and-hold benchmark run with the same data, warmup, exposure,…

CryptoMean reversionTechnical indicatorsBacktesting
Machine Learning for Trading

This notebook frames a focused test: whether a learned sequence representation of perpetual-funding features improves on hand-built summaries of the premium, the gap between perpetual and spot prices. It compares NLinear, which applies a linear mapping to…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This notebook turns model rankings into simple crypto perpetual portfolios. At each funding timestamp, an entry rule selects contracts from the top or bottom of the ranking and assigns equal weights. Equal weighting provides a reference point: comparisons…

CryptoPerpetual futuresBacktestingPortfolio construction
Machine Learning for Trading

This notebook compares validation predictions from multiple model families for perpetual-futures funding research. It explains that information coefficient measures rank association between predictions and subsequent returns, AUC measures ranking for up or…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This implementation describes how to construct batched sequence windows for panel data used in deep-learning studies. Windows follow the panel’s expected calendar rather than compressing each asset’s observations into consecutive rows. Missing sessions…

Machine learningStatisticsBacktestingCrypto
Machine Learning for Trading

This notebook compares Polymarket’s crypto-settled event contracts with Kalshi’s regulated contracts, focusing on how access rules and listing policies shape the prices and questions each venue represents. It inspects a small Polymarket snapshot, checks how…

Event-drivenCryptoStatisticsMarket microstructure
Machine Learning for Trading

This notebook compares behavior cloning with inverse reinforcement learning (IRL) for learning from execution records. Its demonstrations come from a TWAP schedule, whose risk-neutral objective is known: spread trades evenly to limit impact while accepting…

ExecutionMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook examines retained results from a real-strategy audit comparing the LEAN engine with matching ML4T Backtest profiles. It identifies the asset-class workloads supported by the frozen inputs and reports parity evidence across fills, valuations,…

BacktestingExecutionEquitiesFutures
Machine Learning for Trading

The notebook assembles end-to-end pipelines for daily equities and hourly crypto perpetual futures, covering acquisition, validation, source labeling, and storage. Its equity example joins historical WikiPrices data with a more recent Yahoo feed. Since the…

EquitiesCryptoFuturesMarket microstructure
Machine Learning for Trading

This notebook uses double machine learning to estimate whether a perpetual-futures premium z-score is associated with the following eight-hour return after adjustment for six pre-treatment controls. It compares effects across high- and low-volatility regimes…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This chapter describes a path from research to live execution built around strategy logic that can run in backtest, paper, and live settings. It covers broker and platform integrations, deployment loops, data and feature parity checks, order lifecycle…

ExecutionRisk managementBacktestingMarket microstructure