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 compares ways to assemble a list of Toronto Stock Exchange securities with company and sector information. The responses point to a Yahoo ticker downloader that reportedly returns tickers, names, exchanges, sectors, and categories for many…

EquitiesStatistics
Quant Q&A

The document defines a convex family of semimartingale wealth processes that start at zero, never fall below minus one, allow certain combinations of strategies, and are closed in the Emery topology. It asks for the financial motivation behind the…

StatisticsRisk management
Quant Q&A

The document asks how to select a yield curve for discounting cash flows when pricing bonds, swaps, swaptions, equity options, FX forwards, and FX options. It distinguishes government, swap, overnight-indexed, and reference-rate curves, and asks whether the…

Derivatives pricingFixed incomeOptions
Quant Q&A

The note derives the expected squared value of a geometric Brownian motion (GBM), starting from its stochastic differential equation. Applying Itô’s lemma to the square of the process shows that the squared process is itself a GBM, with adjusted drift and…

Statistics
Quant Q&A

The document clarifies terminology and pricing relationships in the agency mortgage-backed securities market. A TBA contract lets the short party choose a mortgage pool from a set meeting agreed criteria, such as coupon, origination period, and geographic…

Fixed incomeMarket microstructure
Quant Q&A

The document addresses how option vega relates to gamma and explains a formula attributed to Nassim Taleb’s Dynamic Hedging. Under Black–Scholes, gamma is expressed using the asset price, volatility, time to expiration, and the normal density at d1; vega…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a Bloomberg PortfolioDataRequest may fail when used to retrieve an ETF’s holdings. It distinguishes a portfolio identifier shown in PORT from the interface needed to request constituent data, and says the PORT look-through view…

EquitiesPortfolio construction
Quant Q&A

The document asks how to derive average value at risk, also called conditional value at risk, from a piecewise value-at-risk curve for a triangular fuzzy number in a credibilistic setting. It gives separate formulas for VaR below and above the midpoint…

Risk managementStatistics
Quant Q&A

The document derives the conditional variance of a price process that changes through Poisson-timed jumps with independent, lognormally distributed multipliers. It first expresses the price at the horizon as its current value multiplied by all jump factors…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The discussion considers how to estimate the market return input to CAPM when an index has flat or declining historical performance and its average return falls below the risk-free rate. One response says a negative market risk premium is mathematically…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

This recreational logic puzzle assigns different cat counts to three speakers. Each tells the truth when addressing someone with fewer cats and lies when addressing someone with more cats. The accepted solution first derives the ordering of their counts from…

Statistics
Quant Q&A

The discussion compares accounts of quote data and order handling in the QuantConnect backtesting environment, while also mentioning Quantopian and other tools in the question. One answer says the platform lacked bid and ask data at the time described and…

BacktestingExecutionMarket microstructureEquities
Quant Q&A

The document examines an interpolation rule for a Wiener process whose volatility is piecewise constant between known endpoint values. The proposed rule scales the endpoint increment by the square root of a ratio involving accumulated variance terms. The…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The discussion considers how to estimate a smooth price distribution when most observed intraday futures prices occur only once. It suggests starting with a histogram, where the chosen price-bin width changes the visible clusters, and describes kernel…

FuturesStatisticsTechnical indicators
Quant Q&A

The discussion addresses how to estimate or manage the time a mean-reversion trade takes to return toward its mean. It notes the Ornstein–Uhlenbeck process as one way to model half-life, but shifts attention to whether a candidate spread has a credible…

Mean reversionPairs tradingStatistics
Quant Q&A

The discussion considers how to obtain a nine-month LIBOR fixing when that tenor is unavailable. It emphasizes that interpolation depends on the intended use. In a loan whose contract required a nine-month rate, the parties agreed to create a synthetic…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document works through pricing a zero-coupon bond under a Vasicek-style short-rate model with zero mean reversion level. It starts from the rate’s stochastic-integral solution, inserts that solution into the discounted payoff, and changes the order of…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document derives the duration of a single fixed cash flow under annual effective compounding. Starting from the negative sensitivity of present value to the interest rate, differentiation gives a duration equal to the payment time divided by one plus the…

Fixed incomeStatisticsRisk management
Quant Q&A

The document describes the role of trading classes in Interactive Brokers contract identification. A trading class adds an identifying layer when a symbol, expiration, and currency may not uniquely distinguish securities, such as when related contracts have…

FuturesOptionsMarket microstructure
Quant Q&A

The document explains why QuantLib-Swig exposes separate names such as PiecewiseLogCubicDiscount, PiecewiseLinearZero, and PiecewiseCubicZero while QuantLib 1.17 C++ does not. In C++, these curve variants are generated from the PiecewiseYieldCurve class…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks why an FX 25-delta butterfly is commonly expressed using the average of 25-delta call and put volatilities adjusted by the at-the-money straddle volatility. It also asks what the 25-delta label means in this construction, placing the focus…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document addresses whether a positive-weight, minimum-variance portfolio optimization maps each expected-return vector to a distinct set of weights. Its answer is no: distinct return inputs can lead to the same portfolio, so the mapping from expected…

Portfolio constructionStatisticsEquities
Quant Q&A

The document explores how to shock selected points on an on-the-run Treasury yield curve, propagate those shocks to other maturities, and reprice an off-the-run bond. The proposed method applies principal component analysis to historical yield changes, then…

Fixed incomeStatisticsRisk managementDerivatives pricing
Quant Q&A

The document asks how to build a function that returns implied FX volatility for an arbitrary strike and maturity from quoted market points. The available inputs are 10-delta and 25-delta put and call volatilities, along with zero-delta straddle or…

ForexVolatilityDerivatives pricingStatistics