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

243 documents

Machine Learning for Trading

This configuration describes a daily, long-short US equity strategy that ranks a broad stock universe by model predictions, buys the top decile, and shorts the bottom decile with equal weights within each group. It specifies next-session open execution,…

EquitiesUS marketsPortfolio constructionExecution
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 measures how validation Sharpe for at-the-money S&P 500 option straddles changes across assumed execution costs and two option universes. It expresses spread cost as a fraction of the quoted option half-spread, since option premium and…

OptionsUS marketsBacktestingExecution
Machine Learning for Trading

This notebook explains how to assess whether strategies built on a US equities panel can withstand trading friction. It fixes one configuration per label using validation Sharpe, then reprices that same strategy across declared cost levels. This prevents the…

EquitiesBacktestingExecutionRisk management
Machine Learning for Trading

This document explains how to represent a live order’s lifecycle as a finite set of states and valid event-driven transitions. It covers submission, broker acknowledgment, exchange acceptance, partial and full fills, cancellation requests, rejection, expiry,…

ExecutionMarket microstructureRisk management
Machine Learning for Trading

This notebook shows how to translate gross returns into net performance under explicit trading, financing, and fund-expense assumptions. Its cost stack includes spread and market impact, commissions and exchange fees, margin interest, stock borrow,…

EquitiesExecutionBacktestingRisk management
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

The notebook presents the Almgren–Chriss framework for scheduling a large liquidation. It measures implementation shortfall against the arrival price and models two competing costs: market impact, which rises with trading intensity, and timing risk, which…

ExecutionMarket microstructureRisk managementStatistics
Machine Learning for Trading

This notebook walks through a deployment cycle for a daily FX pairs model using Interactive Brokers as both the live data source and execution venue. It trains a Ridge regression model on a historical panel, computes a compact set of daily return, momentum,…

ForexMachine learningExecutionRisk management
Machine Learning for Trading

This study re-prices leading ETF allocation and risk-control combinations across two cost grids while holding each registered strategy configuration fixed. One grid uses basis points per trade; the other uses per-share commission and half-spread, the…

BacktestingExecutionPortfolio constructionRisk management
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 contrasts two ways to divide a large equity order into child orders over a trading session. TWAP sends roughly equal quantities at each interval and needs no market forecast. VWAP allocates shares according to an estimated intraday volume…

EquitiesExecutionMarket microstructureBacktesting
Machine Learning for Trading

This notebook tests whether portfolio construction can rescue a cost-defeated, every-bar NASDAQ-100 strategy. It selects leading baseline predictions using the declared selection universe, then runs the allocation comparisons on the full universe. The sweep…

EquitiesPortfolio constructionPosition sizingExecution
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
Machine Learning for Trading

This notebook implements a long-only RSI mean-reversion rule for BTC/USDT perpetual bars using an event-driven backtesting engine. It aggregates intraday observations into UTC daily bars, calculates a simple rolling gain-and-loss RSI, enters when the…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This document explains how TWAP and VWAP divide a large parent order into child orders over a trading session. TWAP allocates equal shares to each time interval; VWAP allocates shares in proportion to a forecast of interval volume. The notebook estimates…

ExecutionMarket microstructureBacktestingEquities
Machine Learning for Trading

This feasibility analysis evaluates whether quote data can support a market-neutral, cross-sectional strategy that ranks NASDAQ-100 constituents at a fifteen-minute cadence and holds both ends of the ranking. It checks whether enough eligible symbols are…

EquitiesMarket microstructureExecutionBacktesting
Machine Learning for Trading

This notebook evaluates validation predictions as long-only equity portfolios, using equal-weight top-K selection and a decision schedule determined by each label's cadence. It checks the close-to-next-open event ordering with a seeded random-signal run,…

EquitiesOptionsBacktestingPortfolio construction
Machine Learning for Trading

The notebook studies whether order-book activity predicts near-term returns for NVDA. It builds a distance-weighted measure of book pressure from market-by-order adds, cancels, and fills, then smooths the signed activity to represent liquidity changes near…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook demonstrates connecting a shared ETF momentum strategy interface to Alpaca, with a simulated offline path available by default. It explains how broker and market-data adapters can change while the strategy, order log, and shadow-mode wrapper…

EquitiesMomentumExecutionRisk management
Machine Learning for Trading

This notebook compares gross and net Sharpe across strategy cost sweeps drawn from case-study backtests. For each deployed strategy configuration, it reads the assumed per-leg cost and rebalance cadence from recorded artifacts, interpolates Sharpe at the…

BacktestingRisk managementExecutionStatistics
Machine Learning for Trading

This notebook measures how a selected US firm-characteristics strategy’s validation performance changes as assumed commissions and slippage vary. It re-runs the same configuration across a declared cost grid, splitting each total charge evenly between…

EquitiesBacktestingExecutionRisk management
Machine Learning for Trading

This configuration describes an intraday study of order-flow signals across a point-in-time NASDAQ-100 universe. It defines a cost-screened subset using liquidity information available before each evaluation period, specifies decision schedules for several…

EquitiesUS marketsMarket microstructureMachine learning
Machine Learning for Trading

This notebook explains how a volume participation limit constrains the quantity of a parent order that can fill during each market interval. A broker calculates the allowed slice from observed traded volume and carries any unfilled remainder forward. Lower…

ExecutionMarket microstructureRisk managementEquities