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
WonderTrader
14 documents
Alphalens
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,364 documents

Quant Q&A

The discussion examines why replacing a vanilla option at one strike with a strip of options across nearby strikes can reduce the sharp gamma concentration near expiry. It offers two related explanations: a strip distributes exposure across strikes, and as…

OptionsDerivatives pricingVolatility
Quant Q&A

The question asks how long it takes a stock’s historical price to reach a chosen level. The answer explains that there is no model-free estimate: the waiting-time distribution depends on assumptions about how prices evolve. Under an arithmetic Brownian…

EquitiesStatistics
Quant Q&A

The document asks why fitting an autoregressive model of order one to stock prices can yield a high test-set R-squared while fitting the same form to returns can yield a negative score. An AR(1) regression predicts the current observation from its lag, but…

StatisticsEquitiesBacktestingMachine learning
Quant Q&A

The document uses a one-period, two-outcome stock model to show how stock and call positions can produce a payoff that is the same in either market outcome. With the stock ending above or below the strike, the call’s payoff differs across states. Choosing a…

OptionsEquitiesDerivatives pricingPortfolio construction
Quant Q&A

The document considers how to define carry for a USD payer swaption with a six-month expiry and a ten-year underlying swap. It questions a simple calculation based on subtracting a short-term LIBOR fixing from a ten-year yield, and whether that spread alone…

OptionsFixed incomeCarryVolatility
Quant Q&A

The document explains how trading in over-the-counter fixed income markets differs from trading listed equities. Rather than relying on one central exchange order book, dealers may maintain their own bond inventories and pricing books, especially for…

Fixed incomeMarket makingExecutionMarket microstructure
Quant Q&A

The note explains the CBOE Put Protection Index as a tail-protection strategy: it holds exposure to the S&P 500 and buys a monthly put struck out of the money. The put premium reduces returns in ordinary markets, while the option can cushion losses when the…

OptionsEquitiesVolatilityRisk management
Quant Q&A

The note addresses whether Excel’s YIELD function can calculate the yield of an Italian government bond that pays coupons semiannually while its yield convention uses annual compounding. It explains that the bond’s price equation must discount each coupon…

Fixed incomeDerivatives pricing
Quant Q&A

The note gives an econometric rationale for adding lagged versions of predictors to a recession classification model. Its example is the yield curve: an inversion may precede a downturn by many months, so the curve observed earlier can be relevant to whether…

Machine learningStatisticsFixed incomeUS markets
Quant Q&A

The note explains the inverse relationship between a bond’s yield to maturity and its price, then defines Macaulay duration as the cash-flow-weighted average time until payments are received. Under continuous compounding, bond price is the sum of discounted…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document challenges the idea that fitting a convex curve in strike-implied-volatility space guarantees an arbitrage-free option surface. Implied volatility need not itself be convex for market prices to be free of arbitrage, and convexity of implied…

OptionsDerivatives pricingVolatilityMarket microstructure
Quant Q&A

The document presents two ways to price a forward-start call whose payoff depends on the asset price at the start date as well as at expiry. One approach conditions on the information at the forward start date and rewrites the value using the price of an…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document shows how Brownian motion's quadratic variation leads to the identity for the Itô integral of Brownian motion against itself. Applying the finite-increment expansion of one half of the squared Brownian level separates the expression into a sum…

Statistics
Quant Q&A

The note explains why drift is often neglected when modeling asset prices at very short time intervals. For geometric Brownian motion with constant drift and volatility, it compares how each component scales as the interval shrinks: drift scales linearly…

High-frequency tradingStatistics
Quant Q&A

The document considers whether Monte Carlo simulation can be applied directly to discrete stock percentage changes rather than to stock prices. The response highlights a key distinction between simple returns and the log returns used in geometric Brownian…

EquitiesStatisticsBacktesting
Quant Q&A

The document distinguishes estimating volatility with a GARCH model from forecasting future volatility. It also considers realized volatility calculated from high-frequency price observations as another way to quantify volatility. Its central point is that…

VolatilityStatisticsFutures
Quant Q&A

The document asks how to predict whether bank customers will remain active, using their account movements, and points toward customer activity or churn analysis as the problem area. It recommends multinomial logit and probit models as statistical methods to…

StatisticsMachine learning
Quant Q&A

At expiration, a call with a zero strike pays the stock price when the stock price is nonnegative. The discussion asks whether this means the option should be worth the stock itself before expiration, and whether shareholder rights or counterparty risk…

OptionsDerivatives pricingStatistics
Quant Q&A

The question describes an energy option that runs across several months. For each month, its strike resets to that month’s first-of-month index, and daily settlements below that level generate a payoff based on the difference. The question asks how to value…

OptionsCommoditiesDerivatives pricing
Quant Q&A

The discussion responds to a request for learning materials on stock-price forecasting with artificial neural networks, LSTMs, regression, and other predictive methods. It recommends two practical books: one covering modern forecasting models, including…

EquitiesMachine learningStatistics
Quant Q&A

A backtest that selects stocks using today’s market capitalization can exclude companies that later failed or fell out of the universe, while favoring firms that grew into it. This survivorship bias can make historical performance look too strong. The…

EquitiesBacktestingStatisticsUS markets
Quant Q&A

The document defines an affine term structure model through the relationship between bond yields and model state variables. In the simplest formulation, a zero-coupon bond price is exponential in a maturity-dependent constant and the short rate; taking its…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses why the Black–Scholes call formula contains different volatility adjustments in d1 and d2 under risk-neutral pricing. It outlines a derivation route: solve the stock price process with its drift set to the risk-free rate, then express…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains how factor models can help identify risks and return patterns in an equity portfolio. It contrasts return-based analysis, which regresses portfolio returns on candidate factors, with holdings-based analysis, which aggregates exposures…

EquitiesFactor investingPortfolio constructionRisk management