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,364 documents

Quant Q&A

The discussion questions whether C is preferred over C++ for numerical optimization and offers several possible explanations. One answer argues that C is not generally favored for numerical optimization today, with continued use often reflecting legacy code…

Multi-assetExecution
Quant Q&A

The discussion addresses why discount factors inferred from put-call parity across strikes may appear nonconstant. The key missing input is dividends: the basic parity equation without dividend treatment does not describe the relationship correctly when the…

OptionsDerivatives pricingFixed incomeEquities
Quant Q&A

The discussion explains how to include cash dividends when calculating an asset’s year-to-date return for performance analysis or backtesting. If dividends are not reinvested, the suggested calculation adds dividends received during the period to the ending…

EquitiesBacktestingPortfolio construction
Quant Q&A

The discussion distinguishes standard conditional value at risk (CVaR), also called expected shortfall, from a separate copula-based measure called CCVaR. Standard CVaR is described as a coherent risk measure, whose properties include subadditivity: the risk…

Risk managementStatisticsPortfolio construction
Quant Q&A

The note shows how to establish that a call and put have the same vega when they share the same forward underlying, strike, maturity, and volatility inputs. It starts from put-call parity, which expresses the call-minus-put price difference as the forward…

OptionsDerivatives pricing
Quant Q&A

The note examines a stock price modeled by geometric Brownian motion with zero drift and asks whether its expected one-period price ratio is one. It distinguishes the expected log return from the expected simple price ratio: the log return has a negative…

EquitiesStatistics
Quant Q&A

The note asks for the risk-neutral dynamics of a zero-coupon bond whose price is exponential-affine in a short rate following a linear diffusion. It gives the time equations for the affine coefficients and compares applying Itô’s lemma to the bond price with…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note derives the familiar link between the smoothing factor of an exponential moving average (EMA) and the period of a simple moving average. It defines each observation’s age as the number of periods back from the current point. A simple moving average…

Technical indicatorsStatistics
Quant Q&A

This thesis-related question asks how to choose bounds for the Heston model parameters kappa, theta, sigma, and rho when generating synthetic data to train a neural network for calibration. It compares one published set of ranges, described as excluding…

OptionsVolatilityMachine learningDerivatives pricing
Quant Q&A

This discussion considers a European call with an early-exercise feature that lets the holder exercise a portion and receive that portion’s current Black–Scholes value. The proposed replication is to hold the call and sell the corresponding fraction whenever…

OptionsDerivatives pricingVolatility
Quant Q&A

This short discussion addresses how to calculate the maturity amount for an overnight index swap over a short accrual period. It distinguishes a simple interest calculation over the full period from compounding a sequence of overnight rates. The answer says…

Fixed incomeDerivatives pricing
Quant Q&A

This discussion explains why a bond’s coupon is not a reliable stand-in for its credit spread when assessing a CDS–bond basis trade. A coupon includes compensation tied to the bond’s cash flows and market interest rates, while the z-spread measures the…

Fixed incomeArbitrageDerivatives pricingRisk management
Quant Q&A

The document explains how to handle companies that fail during a historical stock study, such as an analysis comparing returns by corporate social responsibility ratings. Its answer recommends defining an investable universe using information available at…

EquitiesBacktestingRisk managementPortfolio construction
Quant Q&A

The document poses a valuation question about floating-floating cross-currency basis swaps whose coupons reference overnight risk-free rates and whose discounting uses the same rate. It cites a par-value expression for a basis swap and notes that its…

Fixed incomeMulti-assetDerivatives pricing
Quant Q&A

The document describes a calibration problem for a Libor market model used to value a Bermudan swaption. The proposed volatility structure has a parametric time-to-maturity shape and period-specific scaling factors, while correlations follow an exponential…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains how a 30/360 day-count convention affects discounting dated bond cash flows. Under this convention, elapsed time is computed by treating months as 30 days and years as 360 days, with details depending on the specific convention used.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers how to align closing-price histories for indices traded on exchanges with different holidays and weekly schedules. It outlines several treatments for missing observations and explains the trade-offs of each. Keeping only dates shared…

EquitiesStatisticsBacktesting
Quant Q&A

The document introduces a lookback option whose value depends on the underlying asset price and its running maximum. It defines the underlying as a diffusion process and presents the running maximum as the limit of an integral-based approximation using…

OptionsDerivatives pricingStatistics
Quant Q&A

The document examines whether a futures contract’s price relative to its underlying asset predicts the underlying’s later direction. It proposes a historical check: compare the contract’s position above or below the underlying with the underlying’s eventual…

FuturesArbitrageDerivatives pricing
Quant Q&A

The document asks how proprietary trading firms account for large intraday exposures when assessing annual trader performance with a PnL-to-VaR ratio. It distinguishes end-of-day ex-ante VaR, based on a trader’s positions, from risk estimates based on…

Risk managementStatisticsVolatility
Quant Q&A

The document explains how to calculate monthly price returns for many companies without allowing one company’s last price to affect the next company’s first return. Its main approach is to group observations by company name, then calculate each return from…

EquitiesStatistics
Quant Q&A

The document asks where to find historical S&P 500 book-value data to calculate a Graham-style earnings-to-book-value ratio over a long sample. The response points to the Ken French data library as a potential source of accounting and market data. It also…

EquitiesFactor investingUS markets
Quant Q&A

The document considers how to estimate a portfolio’s quarter-end return when valuations for some illiquid private assets have not yet arrived. It frames the task as predicting missing asset values from the returns of assets already marked and the portfolio’s…

Multi-assetStatisticsPortfolio constructionRisk management
Quant Q&A

The document addresses why option pricing under the risk-neutral measure uses the risk-free rate rather than a stock’s real-world expected return. It begins with a discrete-time replication argument: a call payoff can be matched by a portfolio of stock and…

OptionsDerivatives pricingRisk management