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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

20,364 documents

Quant Q&A

The document explains when European calls and puts with the same strike and maturity should have matching implied volatilities. Under put-call parity, their implied volatilities coincide at the at-the-money forward strike when the other pricing inputs are…

OptionsDerivatives pricingEquities
Quant Q&A

The document asks how large institutional stock sales affect prices over weeks, months, or years, including the lasting losses that other large holders might face. It raises questions about whether permanent impact relates to peak temporary impact, how…

EquitiesMarket microstructureExecutionStatistics
Quant Q&A

The document considers whether two cointegrated price series can be combined into a stationary spread and modeled with an Ornstein-Uhlenbeck process. The proposed workflow estimates a hedge coefficient through regression, constructs the residual spread, and…

Pairs tradingMean reversionStatisticsEquities
Quant Q&A

The document distinguishes securities by the assets behind them and by how investors receive repayment. Asset-backed securities represent claims on pools of non-mortgage loans, such as auto or credit-card debt, while mortgage-backed securities represent…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks whether a forward price for a financial product can be expressed as its current price divided by the price of a zero-coupon bond maturing at the settlement date. The proposed argument uses a conditional expectation under the…

Fixed incomeDerivatives pricingFutures
Quant Q&A

The document outlines several mechanisms that can produce negative autocorrelation in short-horizon returns. The classic explanation is bid-ask bounce: trades initiated by buyers and sellers alternate between ask and bid transaction prices, creating…

EquitiesHigh-frequency tradingMarket microstructureStatistics
Quant Q&A

The document considers how to improve an Ornstein–Uhlenbeck model of EUR/USD when it understates large two-hour price ranges. The author has calibrated the process to historical mean, standard deviation, and total absolute variation, then explored adding…

ForexStatisticsVolatilityMarket microstructure
Quant Q&A

The document derives a way to constrain a fund’s next weekly return so that its rolling five-year, annualized ex-post volatility is less likely to exceed a chosen threshold. It treats the historical weekly returns as fixed, assumes the next return is…

VolatilityRisk managementStatisticsPosition sizing
Quant Q&A

The document shows how to price a payoff of the form (S_T f(S_T))^+ by changing from the money-market numeraire to the stock numeraire. Starting with a risk-neutral geometric Brownian motion, it defines the new measure using the discounted stock as the…

Derivatives pricingOptionsStatistics
Quant Q&A

The document describes how to enumerate every sequence of up, middle, and down moves in a trinomial tree. Its example uses recursive depth-first search: extend a partial path with each of the three moves until the desired number of steps is reached, then…

BacktestingStatistics
Quant Q&A

The document explains leptokurtosis as a return distribution with heavier tails than a normal distribution, which means extreme outcomes occur with greater probability. For investors, that can translate into a higher chance of unusually large gains or…

StatisticsRisk managementVolatility
Quant Q&A

The document relates Merton’s structural credit model to European option payoffs. It models company asset value as a geometric Brownian motion and treats equity at maturity as a call on firm value with debt face value as the strike. Risky debt is represented…

OptionsDerivatives pricingFixed incomeRisk management
Quant Q&A

The document explains the expiration profit and loss bounds for a collar, consisting of long stock, a long put, and a short call at a higher strike. At expiration, the call caps the position’s upside, while the put limits its downside. The stated maximum…

OptionsDerivatives pricingRisk management
Quant Q&A

The document raises a portfolio optimization problem in which tracking error is constrained using a sample covariance matrix. It describes a case with 1,000 assets but only 60 monthly return observations, producing a covariance estimate that is not positive…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document considers an option that pays the difference between two stock prices at maturity only if the first stock stays above the second throughout the option’s life. It presents a model-free replication argument: hold one share of the first stock and…

OptionsDerivatives pricingArbitrage
Quant Q&A

The answer demonstrates how a fixed-rate bond can be represented in QuantLib with an evaluation date, payment schedule, day-count convention, face amount, and coupon rates. The resulting cash-flow list contains coupon payments and the final principal…

Fixed incomeDerivatives pricingPortfolio construction
Quant Q&A

The question concerns building an inflation-swap curve with QuantLib rate helpers and encountering an error because multiple instruments share a pillar date. The practical diagnostic is to inspect each helper’s pillar date, which is the date used as a curve…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The exchange addresses where to obtain financial and related company data for U.S.-listed firms, including balance sheets, income statements, cash flows, market information, and records relevant to bankruptcy, fraud, and governance. One answer points to a…

EquitiesUS marketsStatistics
Quant Q&A

The discussion distinguishes contemporaneous factor models from forecasting models for portfolio optimization. In the Fama–French three-factor setup described, an asset’s return is related to factor returns from the same period. That relationship can help…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document describes a proposed product paying a notional amount times the change in the spread between 30-year and 10-year Treasury yields. The response frames the hedge as exposure to two future yields, corresponding to the 10-year and 30-year points on…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document examines how to interpret the stock and money-market components of a portfolio formed by holding a call and discounted cash equal to the strike. Under Black–Scholes assumptions, it combines the call price with the present value of the strike and…

OptionsDerivatives pricingPortfolio construction
Quant Q&A

The document asks whether initial nonstationarity in a simulated VAR series matters when estimating a copula with kernels. It describes an experiment in a cited paper using repeated series of length 1,024 and asks whether every observation, including early…

StatisticsMulti-asset
Quant Q&A

The document works through the expiry payoff of a position that buys a put, sells a call at a higher strike, and buys another call at a still higher strike. Ignoring premiums, the long put produces gains below its strike, the position is flat between the put…

OptionsDerivatives pricingRisk management
Quant Q&A

The document explains a standard regression approach for estimating a portfolio’s CAPM alpha. It recommends calculating monthly excess returns for the portfolio and market, then regressing portfolio excess returns on market excess returns. The regression…

EquitiesStatisticsFactor investing