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
Quantopian lectures
45 documents
Binance API docs
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 raises a question about P&L attribution for a single stock option. It defines daily P&L as the change between desk market values and proposes explaining that change through underlying-price delta and gamma effects, implied-volatility vega, and…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document examines whether stock prices should be martingales when profitable companies generate earnings and investors expect positive returns. Its replies distinguish ordinary prices from discounted or relative asset prices: under no-arbitrage…

EquitiesStatisticsRisk managementMarket microstructure
Quant Q&A

The document asks how to close an in-the-money American put in a limited-margin IRA when the option has poor liquidity, uncovered options and short stock positions are prohibited, and exercising would forfeit remaining time value. It considers buying a…

OptionsVolatilityRisk managementExecution
Quant Q&A

The document describes a proposed stress-testing exercise for a zero-coupon yield curve built from daily observations. The curve combines a money-market-based short tenor with longer tenors interpolated from secondary-market Treasury rates. The author…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The response explains why a volatility surface matters when pricing a Bermudan swaption, an option exercisable on specified dates. It first clarifies that a Bermudan contract need not be exercisable from the beginning of its life, then outlines a model-based…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document asks how to annualize a Sharpe ratio calculated from monthly returns when those returns are serially correlated. It notes that the usual square-root-of-time scaling assumes uncorrelated returns and raises a specific question about estimating the…

StatisticsRisk managementBacktesting
Quant Q&A

This discussion addresses why a consumer price index can look nearly linear over a selected historical period even though a constant positive inflation rate would compound. It distinguishes an index level from the inflation rate: sustained target inflation…

StatisticsMulti-assetCommodities
Quant Q&A

This note shows how to price a path-dependent lookback call in a two-period binomial model. A European payoff depends only on the terminal asset price, so the two paths that reach the same middle terminal node can be combined and their probabilities added. A…

OptionsDerivatives pricingBacktesting
Quant Q&A

This discussion considers how to interpret a negative volume entry in a daily market-data file when blanks represent unavailable values. The replies agree that traded volume is not ordinarily negative, while zero volume can occur in some circumstances. One…

Market microstructureStatisticsEquities
Quant Q&A

This note explains how to connect a Black–Scholes call’s volatility sensitivity to the strike derivative used to price a cash-or-nothing digital option. It starts from the call price and its vega, then shows that the apparent mismatch between a term…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion considers whether Markov chain Monte Carlo is useful for Bayesian inference in quantitative finance. It describes potential applications to estimating hidden-process parameters, including stochastic volatility models, and to inference for…

StatisticsMachine learningVolatilityDerivatives pricing
Quant Q&A

The exchange addresses how to obtain the underlying input needed to analyze an options dataset when spot prices are unavailable. It suggests estimating a forward price from put and call quotes at a common maturity: identify the strike where their prices are…

OptionsDerivatives pricingVolatilityEquities
Quant Q&A

The document compares annualized return and volatility calculations based on logarithmic returns and simple returns. For monthly log returns, it describes scaling the mean by the number of periods in a year and scaling standard deviation by the square root…

StatisticsVolatilityRisk managementBacktesting
Quant Q&A

The document considers two equivalent ways to represent a complete market: state-contingent Arrow-Debreu securities and a set of complex securities whose payoff vectors span all possible states. It asks how to express the equilibrium price of each complex…

Derivatives pricingPortfolio constructionFixed incomeStatistics
Quant Q&A

The document asks how to read Johansen cointegration test output for two stocks and whether cointegration implies a mean-reverting pair. It presents an initial result indicating one rejected rank hypothesis, followed by a detailed trace-test output where…

StatisticsEquitiesPairs tradingMean reversion
Quant Q&A

A special cash dividend or another corporate action can change an option contract’s deliverable. As a result, an adjusted, nonstandard contract may appear beside a newly issued standard contract with the same underlying, strike, expiration, and call or put…

OptionsEquitiesEvent-drivenDerivatives pricing
Quant Q&A

The document discusses how to hedge a caplet dynamically in a theoretical framework, comparing it with delta hedging an equity call. One suggested approach is to use a forward rate agreement with the relevant expiry, such as an at-the-money FRA, and adjust…

OptionsFixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to simulate two correlated asset paths under geometric Brownian motion. It starts with a covariance matrix encoding each asset's volatility and their correlation, then factors that matrix with a Cholesky decomposition. Multiplying a…

Multi-assetStatisticsBacktesting
Quant Q&A

The document considers whether predicting an asset's current price from other assets has practical value when the market already reports that price. The responses identify data alignment and missing observations as possible uses. A model could estimate…

EquitiesStatisticsMachine learningMarket microstructure
Quant Q&A

The document asks how to define a spread for pairs trading after estimating a linear relationship between two asset prices. It compares subtracting the fitted intercept and scaling one price by the estimated gradient with omitting the intercept or simply…

Pairs tradingMean reversionStatisticsPosition sizing
Quant Q&A

The discussion examines why the variance sensitivity of a variance swap may seem inconsistent with the sensitivities of the options used to replicate it. Under assumptions of continuous paths and a continuum of strikes, the question treats the option…

OptionsDerivatives pricingVolatility
Quant Q&A

The discussion distinguishes smoothing a price series from forecasting future values. It gives a recursive exponential-smoothing forecast in which the next estimate updates the current forecast in proportion to the latest observation's forecasting error.…

StatisticsVolatilityTechnical indicatorsRisk management
Quant Q&A

The discussion asks whether Bitcoin has a quantifiable fair value and how mispricing might be recognized. The answers describe its traded price as an outcome of supply and demand once the market is sufficiently liquid, while emphasizing that speculation is…

CryptoSpot marketsOptionsVolatility
Quant Q&A

The document raises a practical calibration problem: fitting an SVI or SABR volatility surface to mid implied volatility produced a satisfactory fit, while separate fits to bid or ask implied volatility performed poorly. It asks how to fit surfaces to…

OptionsVolatilityDerivatives pricingMarket microstructure