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 document considers an informed trader who observes an endowment and a correlated risky asset, trades against independent noise demand, and faces a market maker who prices from aggregate order flow. The trader's demand is intended both to exploit…

Market microstructureExecutionRisk managementDerivatives pricing
Quant Q&A

The document presents two matrix expressions for portfolio risk attribution: one labeled asset risk contribution and another labeled correlation-weighted asset risk contribution. It defines the identity matrix, diagonal weight and volatility matrices, asset…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document clarifies how overnight indexed swap quotes relate to overnight index fixings and the construction of an OIS curve. The overnight rate in the swap formula is the relevant published index fixing, or its forecast for future dates; it is not simply…

Fixed incomeDerivatives pricingStatisticsMarket microstructure
Quant Q&A

The document explains why historical share prices in a data series may appear inconsistent with prices remembered from the time. Data vendors may adjust prices and possibly volumes for corporate actions such as stock splits. A split changes the number of…

EquitiesBacktestingStatistics
Quant Q&A

The document considers a project with irregular income and expenditure at year-end, a stated annual compounding rate, and a valuation date. It describes valuing each cash flow separately: discount past or future amounts to the present for present worth, or…

StatisticsRisk management
Quant Q&A

The note explains how to estimate an overnight indexed swap rate from a fixed rate on an interest rate swap and a matching-tenor Fed Funds versus Libor basis spread. When the relevant swap schedules align—including dates, payment frequency, day-count…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why changing from a physical probability measure to an equivalent pricing measure can remove or alter the drift of an asset process while leaving its volatility coefficient unchanged. Using Girsanov’s theorem, it constructs a density…

Derivatives pricingRisk managementStatisticsFixed income
Quant Q&A

The document explains how to turn observed zero-coupon yields into bond prices and estimate instantaneous forward rates from maturity changes. The proposed finite-difference calculation uses adjacent maturities to approximate the maturity derivative of the…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The document treats replication of an option payoff using options at a different set of strikes as a constrained function approximation problem. It represents the target call payoff as a weighted combination of calls at available strikes, then chooses the…

OptionsDerivatives pricingStatisticsPortfolio construction
Quant Q&A

The document derives the relationship between a zero-coupon bond price and an interest rate that varies deterministically over time. Starting from the exponential of the negative integral of the short rate, it takes logarithms and differentiates with respect…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion derives the terminal error of a continuously delta-hedged option position when the realized asset volatility differs from the volatility used in Black–Scholes pricing. The portfolio is self-financing, and subtracting the option value from…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The exchange explains the value relationship for an American option immediately before and after exercise. Once exercised, the option contract ends, so its post-exercise value is zero. The holder instead receives the exercise payoff: for a call or put, this…

OptionsDerivatives pricing
Quant Q&A

The discussion examines why an autocallable structured product may be less likely to call at later observation dates, conditional on having survived earlier dates. A call at a later date requires that no earlier call condition was met, so the qualifying path…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion questions whether reinforcement learning is useful when a portfolio model is trained on fixed historical prices. In that setup, market states advance independently of the chosen action, and next-period rewards can be deterministic given the…

Machine learningPortfolio constructionBacktestingRisk management
Quant Q&A

The document asks how to price a bond with an embedded option in a Black–Derman–Toy short-rate tree when the exercise date does not coincide with a time step. In the aligned case, the tree is built with a fixed step and bond values are rolled backward; at…

Fixed incomeOptionsDerivatives pricingBacktesting
Quant Q&A

The document explains the change-of-numeraire result in asset pricing: when a positive asset is selected as numeraire, the price of another asset divided by that numeraire is a martingale under the associated probability measure. It starts with the cash…

Derivatives pricingStatisticsFixed income
Quant Q&A

The document presents a one-period binomial pricing question for an at-the-money caplet on a future one-year Treasury rate. The caplet pays if the rate rises to the upper of two possible outcomes. The question compares treating the yield like an equity price…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document discusses how Google Finance may estimate a stock’s beta, focusing on the market benchmark and historical observation window. One reported account says it regresses monthly closing prices against the S&P 500 using month-end data over five years.…

EquitiesStatisticsRisk managementUS markets
Quant Q&A

The document describes Markov-functional interest rate models as low-dimensional representations of the term structure built from functions of a Markov process. It notes their ability to calibrate to market prices and capture volatility smiles, while raising…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document discusses a linear regression approach to forecasting corporate default rates from macroeconomic variables, using a historical dataset and scenario forecasts. The model selection goals are high adjusted R-squared and economic interpretability.…

Fixed incomeStatisticsRisk management
Quant Q&A

The document examines how a short three-month SOFR futures position compares with a short single-period swap (SPS) over the same accrual period. Its answer emphasizes that the IMM dates and exact number of days matter when matching the instruments’ rate…

FuturesFixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion clarifies that a probability calculated from option implied volatility is not automatically a real-world forecast. Under Black–Scholes assumptions, the probability of finishing below a strike differs depending on the chosen pricing measure:…

OptionsVolatilityStatisticsDerivatives pricing
Quant Q&A

The question asks whether the normal or shifted log-normal model is the industry standard for pricing swaptions during negative-rate conditions, with the stated purpose of supporting credit valuation adjustment work. The response does not choose between…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The discussion explains why a risk-free rate appears in asset pricing and why its sign is not fixed. One account treats the rate as compensation for lending money and giving up access to it until repayment. Other explanations emphasize time preference,…

Fixed incomeDerivatives pricingRisk management