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

20 documents

Machine Learning for Trading

The document explains how a stochastic discount factor (SDF) estimates a pricing kernel that should price every asset, rather than estimating common return factors. It describes adversarial training: one network proposes the discount factor while another…

OptionsDerivatives pricingMachine learningFactor investing
Machine Learning for Trading

This notebook explains why a daily constant-maturity options series is not the return history of a single tradeable contract. Selecting a new near-the-money straddle each day can change the strike, expiration, or both. In particular, moving to a later…

OptionsVolatilityDerivatives pricingBacktesting
Machine Learning for Trading

This notebook compares learned and analytical hedges for a short European call when rebalancing is discrete and trading incurs proportional costs. It defines the self-financing terminal P&L from hedge gains, turnover costs, and the option payoff, then trains…

OptionsDerivatives pricingVolatilityRisk management
Machine Learning for Trading

This utility builds label artifacts for S&P 500 option straddles using the same symbol, strike, and expiration at entry and exit. It aligns feature dates to subsequent market sessions, constructs five- and ten-session exit dates, and joins call and put…

OptionsDerivatives pricingBacktestingRisk management
Machine Learning for Trading

This document describes a ledger for applying funding cash flows to perpetual futures positions during a backtest. At each funding timestamp, it uses the position’s signed quantity, the current mark, any contract multiplier, and the funding rate to calculate…

Perpetual futuresBacktestingDerivatives pricingRisk management
Machine Learning for Trading

This analysis introduces option-chain structure and examines a 2020 slice of S&P 500 options for eight underlyings. It explains moneyness, intrinsic and time value, Greeks, implied volatility, and the information represented by volatility skew and term…

OptionsVolatilityDerivatives pricingMarket microstructure
Machine Learning for Trading

This document outlines a two-pass method for extracting source observations used in an S&P 500 options straddle study. First, it identifies call and put contracts meeting a near-the-money candidate screen based on days to expiration, absolute delta,…

OptionsVolatilityDerivatives pricingStatistics
Machine Learning for Trading

This document explains why a daily constant-maturity option series is not a return series for a position actually held. It selects same-strike, same-expiration call and put legs that pass liquidity, maturity, volatility-estimation, and delta filters, then…

OptionsVolatilityBacktestingDerivatives pricing
Machine Learning for Trading

This notebook demonstrates deep hedging for a short European call. It simulates geometric Brownian motion paths, uses Black–Scholes delta hedging as a benchmark, and trains a semi-recurrent neural network to choose underlying positions that minimize a…

OptionsDerivatives pricingMachine learningRisk management
Machine Learning for Trading

This notebook constructs four model-based features for S&P 500 option research: next-day volatility forecasts from GJR-GARCH and stochastic volatility, plus the differences between each forecast and the option market’s implied volatility. It explains how the…

OptionsVolatilityDerivatives pricingBacktesting
Machine Learning for Trading

This notebook develops Black-Scholes pricing for European calls and puts, checks put-call parity, and computes implied volatility with Brent root-finding. It also defines Delta, Gamma, Vega, Theta, and Rho and uses plots to illustrate how option…

OptionsDerivatives pricingVolatilityRisk management
Machine Learning for Trading

This chapter frames reinforcement learning as a tool for sequential control, distinguishing it from supervised forecasting. It focuses on tasks where actions affect later outcomes and rewards are comparatively concrete: trade execution, market making, and…

Machine learningExecutionMarket makingOptions
Machine Learning for Trading

This document describes a pipeline for downloading official Binance USD-M perpetual funding records, normalizing them, and caching them in a columnar file. Monthly archives are fetched concurrently for the requested symbols and date range. The records are…

CryptoPerpetual futuresDerivatives pricingBacktesting
Machine Learning for Trading

This notebook builds forward return labels for short at-the-money straddles on S&P 500 stocks. Because the daily 30-day straddle panel rolls to a different strike or expiration each session, a shifted price series would compare different contracts. Instead,…

OptionsDerivatives pricingVolatilityBacktesting
Machine Learning for Trading

The document derives European call and put prices under Black-Scholes, checks their relationship through put-call parity, and computes implied volatility by numerically solving for the volatility that matches an observed option price. It also defines Delta,…

OptionsDerivatives pricingVolatilityRisk management
Machine Learning for Trading

This notebook demonstrates deep hedging for a short European call. It simulates underlying price paths with geometric Brownian motion, calculates Black-Scholes delta as a benchmark, and trains a semi-recurrent neural network to choose hedge positions. The…

OptionsMachine learningRisk managementDerivatives pricing
Machine Learning for Trading

This notebook explains why a generic target-weight risk overlay cannot govern the described S&P 500 short-straddle strategy. The options engine allocates fixed capital fractions to weekly cohorts and normalizes weights within each cohort; scaling those…

OptionsRisk managementBacktestingDerivatives pricing
Machine Learning for Trading

This exploratory analysis introduces option contracts and chain structure, then profiles a 2020 sample of S&P 500 options across eight underlyings. It explains moneyness, intrinsic and time value, implied volatility, Greeks, and how strike, expiration, and…

OptionsEquitiesVolatilityDerivatives pricing
Machine Learning for Trading

This document describes how to reduce large S&P 500 option chains into daily per-symbol datasets for research. Its surface summary selects options nearest target absolute deltas within maturity buckets, then derives at-the-money implied volatility at…

OptionsVolatilityDerivatives pricing
Machine Learning for Trading

This notebook develops forward return labels for short at-the-money straddles on S&P 500 stocks. Since the daily panel’s nominal 30-day straddle represents a different contract each session, a shifted price series would mix instruments. The label instead…

OptionsVolatilityDerivatives pricingStatistics