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 explains why an attempted R calculation returned zeros: it subtracts the logarithm of each price from the logarithm of that same price. Log returns instead compare prices at different observations, commonly by taking the difference between…

EquitiesStatistics
Quant Q&A

The document considers a portfolio formed from several contingent claims whose prices depend on one underlying asset. It explains why differentiating the portfolio value as a weighted sum can be misleading: the weights may change over time, but the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document distinguishes the mechanical effect of interest rates on a stock forward price from the broader economic effect of rates on the underlying share price. Under a no-arbitrage carry argument for a non-dividend-paying stock, the forward price is the…

EquitiesOptionsDerivatives pricingArbitrage
Quant Q&A

The document describes a direct way to interpret a finite set of equally probable portfolio-return scenarios for Value at Risk. With 250 scenarios, sorting the outcomes from worst to best makes the 25th-worst outcome the 10% VaR under the convention…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document explains how the stochastic discount factor prices a payoff through its expected value and its covariance with that payoff. When covariance is zero, the payoff has no exposure to the priced source of risk represented by the discount factor. Its…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document explains when a cross-currency swap can be viewed as two interest rate swap legs. For a typical physically delivered fixed-for-fixed or fixed-for-floating structure, each currency has its own interest cash flows, and principal exchanges must…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document explains why changing interest-rate or dividend-yield inputs can make an option implied-volatility smile appear unusual, especially for in-the-money options. Under Black–Scholes intuition, a higher interest rate raises a call’s modeled value; if…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

A deliverable FX forward exchanges the two contracted currencies at maturity. A non-deliverable forward instead calculates a net payment in a settlement currency from observed exchange rates on a fixing date, usually before maturity. NDFs are used where…

ForexDerivatives pricingRisk management
Quant Q&A

The document asks how to obtain long-run daily or weekly returns for MSCI factor indices, including momentum, minimum volatility, small cap, and enhanced value. The replies explain that index providers commonly restrict benchmark data, so full historical…

EquitiesFactor investing
Quant Q&A

The question investigates why a USD zero-coupon inflation swap’s fixed-leg payment can remain unchanged when its maturity date moves by a few days, then jump to the next annual compounding amount. The answer proposes interpreting the 1/1 convention through a…

Fixed incomeStatistics
Quant Q&A

The question asks whether Black–Scholes can use an expiration measured in hours after converting that duration to years, and why an option calculator returns a different value when the input changes from a day to an hour. The answer interprets the change as…

OptionsDerivatives pricingVolatility
Quant Q&A

The document describes a question about fitting an Asymmetric Laplace Distribution (ALD) to daily NIFTY 50 log returns and determining whether the fitted distribution has finite variance. The post gives fitted location, scale, and asymmetry parameters and…

StatisticsEquitiesRisk management
Quant Q&A

The discussion outlines ways to study high-frequency quotes and trades when observations arrive at uneven intervals. It recommends first defining the target, such as volatility or correlation, and accounting for how measurement intervals affect the…

High-frequency tradingStatisticsVolatilityMarket microstructure
Quant Q&A

The document explains how derivative volatility relates to the volatility of its underlying asset through elasticity, also called leverage or lambda. Elasticity measures the derivative’s percentage price response to a one-percent change in the underlying,…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

This document considers how to interpret significant cross-correlations with opposite signs at adjacent lags in two time series. Its example frames interest rate data as sound signals and reports a strong positive correlation at zero lag alongside a stronger…

StatisticsFixed income
Quant Q&A

Bond yields are generally quoted using a compounding frequency that matches the coupon payment schedule. Some markets instead standardize yields to the frequency used for local government bonds, which makes comparisons with benchmarks and across issuers…

Fixed incomeStatistics
Quant Q&A

This document asks how to translate an earnings event volatility estimate into an implied one-day expected return using a formula from a volatility trading text. The formula combines the exponential of half the event variance with the normal cumulative…

OptionsVolatilityEvent-drivenDerivatives pricing
Quant Q&A

The document considers how to estimate volatility when a return series contains complete monthly observations plus a final observation covering only part of a month. It proposes a weighted variance calculation: first scale the partial-period return to an…

VolatilityStatistics
Quant Q&A

The document explains how to calculate a portfolio’s cumulative return across several periods and why the calculation depends on whether the portfolio is rebalanced. For buy-and-hold, multiply each asset’s returns across periods, apply its initial portfolio…

Portfolio constructionStatistics
Quant Q&A

The document explains a formula for estimating a one-period total return on a ten-year Treasury note using its yield at the start and end of the period. The formula values the note’s coupon stream as an annuity discounted at the ending yield, adds the…

Fixed incomeStatisticsRisk management
Quant Q&A

The document explains style factors as interpretable characteristics used to describe the risk and returns of assets or portfolios. They give portfolio managers and other decision-makers a consistent way to discuss exposures, in contrast with less directly…

Factor investingRisk managementEquities
Quant Q&A

Mean-variance optimization is a general portfolio framework that evaluates portfolios by expected return and variance or standard deviation of returns. Under suitable distributional assumptions, it identifies efficient portfolios: those offering the best…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document frames a market-impact question: how typical transaction cost models would estimate the long-term price effect of buying shares equal to 1% of a company’s outstanding stock. It converts that quantity into trading volume using an assumption of…

EquitiesExecutionMarket microstructure
Quant Q&A

The document examines a structural default model in which a firm's unobserved assets follow a geometric Brownian motion and default is linked to a debt threshold. It contrasts measuring default at a fixed horizon by checking whether assets finish below the…

Fixed incomeStatisticsRisk management