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 reviews a commonly cited set of empirical regularities in asset returns, including heavy tails, volatility clustering, slow decay in the autocorrelation of absolute returns, leverage effects, and relationships between volume and volatility. It…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The document examines a proof claiming that a positive martingale can be expressed as an exponential driven by a Brownian stochastic integral. The proof applies the martingale representation theorem to write the martingale differential in terms of Brownian…

StatisticsDerivatives pricing
Quant Q&A

The document describes a problem generating Monte Carlo paths from a QuantLib Black variance surface. The surface is interpolated and extrapolated from market data, with checks for decreasing total variance across maturities and butterfly irregularities, yet…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why simple returns and log returns aggregate differently when a portfolio contains multiple trades and is measured across multiple days. With fixed weights for a given day, simple returns combine linearly across trades. Across time,…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document explains that an issuer-level credit rating does not necessarily determine the rating of every individual bond. Even bonds from the same obligor that share a seniority category can receive different issue ratings, because features in each bond’s…

Fixed incomeRisk management
Quant Q&A

The document raises two practical problems in estimating correlation from market time series: missing observations within a trading day and trades that arrive at different times for each security. It points readers toward methods designed for irregularly…

StatisticsMarket microstructure
Quant Q&A

The discussion considers estimating implied volatility at each intraday option tick when end-of-day implied volatility and Greeks are available alongside tick-level option and underlying prices. One shortcut estimates volatility changes from option price…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion concerns software choices for building fixed-income portfolio risk analytics when QuantLib and its Java interface are unavailable. The questioner reports problems with JQuantLib, including a bond-yield calculation error, and asks for pure Java…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note asks how the Black–Scholes framework extends to a stock paying a continuous dividend yield. It outlines a proposed construction that converts the dividend-paying stock into an auxiliary process by reinvesting the yield, then applies a change of…

OptionsDerivatives pricingStatistics
Quant Q&A

The note addresses a pairs trading setup that selects pairs using the sum of squared distances between normalized prices, then monitors the resulting spread. It raises concerns about unequal dollar values in the long and short positions and whether the…

Pairs tradingMean reversionRisk managementPosition sizing
Quant Q&A

The note explains how to interpret a question from Grinold and Kahn’s portfolio theory exercises about the characteristic associated with the Major Markets Index portfolio. The proposed interpretation is to identify the attribute for which the MMI portfolio…

Factor investingPortfolio constructionStatistics
Quant Q&A

The question asks how to derive the covariance between values of a mean reverting Vasicek process at two times. The answer first expresses the process as the solution to its stochastic differential equation: its initial level and long run mean terms are…

Fixed incomeStatisticsMean reversion
Quant Q&A

The response discusses ways to protect portfolio value and manage open positions. It describes portfolio insurance as hedging share exposure with put options, with puts placed below the acquisition price so they can gain value during a sharp decline. It…

EquitiesOptionsRisk managementExecution
Quant Q&A

Treasury credit risk is the assessment of the creditworthiness of banks and other counterparties that a bank engages through its treasury function. The treasury office oversees liquidity and capital, and may lend surplus funds to other banks or raise funding…

Fixed incomeRisk management
Quant Q&A

The document raises questions about why daily and monthly portfolio return plots derived from a data provider’s return index might differ. It describes calculating daily returns as consecutive index changes and monthly returns from month-end index values. It…

EquitiesStatisticsBacktesting
Quant Q&A

The document asks whether the standard covariance-matrix formula for portfolio variance remains valid when some portfolio weights are negative, as they are for short positions. It presents a futures portfolio with both positive and negative contract…

FuturesPortfolio constructionRisk managementStatistics
Quant Q&A

The document distinguishes a delta-neutral hedge from a self-financing trading strategy in the Black–Scholes setting. A portfolio holding an option and a changing number of shares may cancel local price risk, but changes in the share position create…

OptionsEquitiesDerivatives pricingRisk management
Quant Q&A

The document explains how to calculate an asset’s return across multiple periods when it pays dividends. A single-period gross return includes both the ending share price and the dividend, divided by the starting price. To find the gross return over several…

EquitiesStatistics
Quant Q&A

The document outlines a filtered historical simulation approach to market risk for vanilla swap portfolios. Historical observations should be represented as changes in selected curve risk factors, such as discounting and forwarding zero rates at chosen…

Fixed incomeRisk managementBacktestingStatistics
Quant Q&A

The document explains how to calculate the time-zero delivery price of a bond forward in a discrete-time, risk-neutral fixed-income model. Its pricing relation takes the expected discounted value of the underlying bond at the forward date and divides it by…

Fixed incomeDerivatives pricing
Quant Q&A

Historical default rates are probabilities under the real-world measure, but they cannot be converted directly into risk-neutral probabilities using Girsanov’s theorem alone. A model for the underlying process and its dynamics under the real-world measure…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The exchange considers how to estimate a CDS spread between quoted maturities, such as a spread for an intermediate tenor between shorter and longer quotes. It asks whether hazard rates calibrated to quoted CDS contracts can support a direct spread…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The post asks how to convert a US Treasury bond yield into a price by discounting the remaining coupon and principal cash flows. The author reports a calculated value that differs from a quoted market price and tests alternative day-count and compounding…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document raises a modeling question about computing option theta from the Black-Scholes partial differential equation when market implied volatility varies across strikes. It compares three approaches: standard Black-Scholes Greeks with implied…

OptionsVolatilityDerivatives pricing