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

106 documents

Machine Learning for Trading

This document fits TabM, a weight-sharing neural ensemble, to option-derived features for predicting forward equity returns and risk-adjusted returns. Its members use one shared two-layer network, with separate activation scaling and output heads, then…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This notebook fits PatchTST as one member of a declared sequence-model population for S&P 500 options. PatchTST divides a lookback window into fixed-size patches, embeds them as tokens, and uses attention to learn relationships among portions of the history.…

OptionsMachine learningBacktesting
Machine Learning for Trading

This document describes an LSTM sequence model for an S&P 500 options study. Unlike cross-sectional models that rely on engineered features to summarize a symbol’s history, the LSTM receives chronological windows and learns which parts of the sequence…

OptionsEquitiesMachine learningBacktesting
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 notebook describes a patched transformer for sequence prediction in an S&P 500 equity and options study. It divides a time window into contiguous blocks and represents each block as a token, allowing attention to compare distant parts of the window…

EquitiesOptionsMachine learningStatistics
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 case study constructs features for comparing variance risk premiums across S&P 500 stocks using 30-day at-the-money straddles and underlying price data. It measures implied volatility against realized volatility at several horizons, adds option-market…

OptionsEquitiesVolatilityBacktesting
Machine Learning for Trading

This analysis checks whether daily option data can support a weekly strategy that sells at-the-money straddles on S&P 500 constituents, delta hedges shares, and holds contracts to expiration. It explains how calls and puts form a straddle, how implied and…

OptionsVolatilityExecutionBacktesting
Machine Learning for Trading

This notebook presents a family-level view of five latent-factor approaches applied to an equity option analytics case study. PCA estimates common movements directly from the return panel; IPCA maps characteristics to exposures linearly; a conditional…

OptionsMachine learningFactor investingStatistics
Machine Learning for Trading

This feasibility analysis checks whether the data and assumptions can support a weekly strategy that ranks S&P 500 stocks by at-the-money implied volatility and buys the leading shares. Options supply the signal, but positions are held in equities. The…

EquitiesOptionsVolatilityRisk management
Machine Learning for Trading

This notebook evaluates sequence models for ranking S&P 500 stocks using windows of their option-surface and price histories. It pairs a normalized linear model, which has no recurrent memory, with an LSTM whose gates carry information through time. The…

Machine learningEquitiesOptionsBacktesting
Machine Learning for Trading

This notebook builds forward-return labels for a strategy that reads listed-option signals and trades the underlying shares. It adjusts daily share prices for splits and dividends, uses a persistent security identifier, and defines returns between executable…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This notebook turns model prediction sets into comparable S&P 500 options backtests. On each weekly decision date, it ranks predicted returns, selects the highest-ranked symbols in the liquid universe, and sells equally weighted at-the-money straddles.…

OptionsEquitiesBacktestingExecution
Machine Learning for Trading

This configuration note distinguishes settings that appear in a backtest identity from settings that actually affect simulated trading costs. In the described case study, all registered runs use a vectorized, return-to-expiry path. The configured…

OptionsBacktestingExecutionStatistics
Machine Learning for Trading

This notebook screens candidate features for a strategy that sells at-the-money call and put options on the same stock with the same expiry, holding the straddle to expiration. For each feature, it measures whether the feature ranks available names in the…

OptionsEquitiesStatisticsRisk management
Machine Learning for Trading

This notebook evaluates validation predictions derived from equity and options research by translating them into long-only equity portfolios. It uses an equal-weight top-K baseline, compares several portfolio concentrations, and follows the label-specific…

EquitiesOptionsBacktestingPortfolio construction
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

This notebook fits a declared LSTM model for forecasting in an S&P 500 options study. The network receives chronological windows of each symbol’s history and uses gated recurrent state to represent information across sessions, rather than relying only on…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This study screens financial and GJR-GARCH volatility features against forward equity returns. For each session, it calculates the rank correlation across stocks between a feature and subsequent returns, then assesses average association, consistency across…

EquitiesOptionsStatisticsMachine learning
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 evaluation screens option-surface, price-derived, and conditional-volatility features against forward equity returns. For each session it computes a cross-sectional rank correlation between feature values and subsequent returns, then examines the time…

EquitiesOptionsStatisticsMachine learning
Machine Learning for Trading

This notebook measures how an S&P 500 options strategy's validation performance changes under different assumed fractions of the quoted spread paid. It selects one baseline strategy per model family, then reruns each across spread-cost assumptions and both a…

OptionsExecutionBacktestingRisk management
Machine Learning for Trading

This notebook explains instrumented principal component analysis (IPCA) for an equity panel with option-surface features. Unlike ordinary PCA, which estimates each stock's exposures from its return history, IPCA models exposures as a shared linear function…

EquitiesOptionsFactor investingMachine learning