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 explains how to remove the random component from a portfolio made of an option and its underlying stock. Applying Itô’s lemma to the option value shows that the portfolio’s Brownian-motion exposure is proportional to the option’s delta and the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document addresses a common confusion in stochastic calculus: an Itô process can have zero quadratic variation while still having nonzero variance at a fixed time. In the example, integrating Brownian motion with respect to time yields a process whose…

StatisticsVolatility
Quant Q&A

The document explains convertible bond arbitrage as buying a convertible bond while shorting the issuer’s stock to create a delta-hedged, long-volatility position. The strategy seeks to benefit when realized volatility exceeds the bond’s implied volatility,…

ArbitrageOptionsEquitiesVolatility
Quant Q&A

The document asks whether reliable foreign-exchange prices are available during the weekend, when conventional spot markets are largely closed. The response cautions that quotes visible during quiet hours can be stale, making them poor evidence of current…

ForexCryptoSpot marketsFutures
Quant Q&A

The document asks how to derive risk-neutral dynamics for a dividend-paying asset when the bank account is the numeraire. It outlines the martingale condition for the discounted asset plus accumulated discounted dividends, then applies Itô’s formula and…

Derivatives pricingForexStatistics
Quant Q&A

The document explains why futures positions commonly end without physical delivery. It describes offsetting as closing a position by taking the opposite side in the same number of standardized contracts before expiration. The responses distinguish exposure…

FuturesCommoditiesExecution
Quant Q&A

The document asks whether credit markets have a volatility index comparable to familiar measures for equities and interest rates. Its answer points to four daily implied-volatility measures covering North American investment-grade and high-yield CDX indices,…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

This document identifies financial laws and regulatory frameworks that may affect investment advisers, European financial firms, commodity markets, anti-money-laundering work, taxation, broker-dealers, and securities exchanges. Its examples include US…

Risk managementMulti-assetUS markets
Quant Q&A

The document shows why subtracting calendar dates does not reliably locate observations in daily financial data. Weekends and market holidays create gaps, so the number of elapsed days can differ from the number of rows between two trading dates. The example…

EquitiesStatisticsBacktestingTechnical indicators
Quant Q&A

The document explains XIRR as the annualized rate that equates a dated series of irregular cash flows with an equivalent constant-rate investment. Its examples contrast a simple loan with interest paid at different dates and a short holding-period trade,…

StatisticsBacktestingRisk management
Quant Q&A

The document compares QuantLib Greeks for a stylized foreign exchange option with Bloomberg values, focusing on a mismatch in theta. It explains that QuantLib's analytic Garman-Kohlhagen engine reports model theta: the derivative of option value with respect…

ForexOptionsDerivatives pricingRisk management
Quant Q&A

The document explains why the calendar spread between nearby German government bond futures can differ from zero and why rolling a position has a cost. Ignoring delivery options and margining, a bond future can be approximated as a forward whose fair value…

Fixed incomeFuturesCarryExecution
Quant Q&A

The document discusses reports of inconsistent Yahoo Finance downloads after changes to its data access method. The answer describes a retrieval process that relied on extracting a token from a webpage, along with reported irregularities in adjusted-close…

EquitiesBacktesting
Quant Q&A

The document describes a credit-risk data preparation workflow for estimating probability of default. The example defines a default event from arrears, term-expiry, or bankruptcy indicators, recodes the outcome for modeling convenience, and uses stratified…

Fixed incomeStatisticsMachine learning
Quant Q&A

The document derives a rough out-of-sample observation length for testing whether a strategy’s mean return exceeds zero. Assuming independent, identically distributed returns, it models the sample mean’s uncertainty as the return standard deviation divided…

StatisticsBacktestingRisk management
Quant Q&A

The document considers how to value a fixed-for-floating swap whose floating leg references a rate other than LIBOR, with a CNY example. It explains that the appropriate discount curve depends on the transaction’s collateral terms: for fully collateralized…

Fixed incomeDerivatives pricingChina markets
Quant Q&A

The document asks whether solutions to a linear stochastic differential equation become differentiable when Brownian noise is filtered through the system’s dynamics. The question contrasts Brownian motion’s irregular paths with the intuition that a colored…

StatisticsVolatility
Quant Q&A

The document asks why volatility models used to estimate Value at Risk may pass a backtest at a 5% confidence tail while failing at a 1% tail. The response says this pattern is common: as the tail becomes more extreme, the assumed return distribution matters…

Risk managementBacktestingVolatilityStatistics
Quant Q&A

The document presents an implementation question about fitting a Heston–Nandi GARCH model by maximum likelihood. The author scales log returns, recursively computes conditional variance and standardized residuals, and uses differential evolution to search…

EquitiesVolatilityStatisticsMachine learning
Quant Q&A

The document asks how Markit defines spot dates for several currencies and how intermediate discount factors enter swap-curve bootstrapping. Its central example is a two-year EUR swap: the coupon schedule needs an 18-month discount factor, while quoted LIBOR…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses how to estimate continuous-time credit rating migration dynamics from observed rating histories. It contrasts discrete-time cohort transition matrices, formed from beginning-to-end rating changes over a period, with a continuous-time…

Fixed incomeStatisticsRisk management
Quant Q&A

The document considers Monte Carlo pricing of barrier options under a Dupire local-volatility model. The questioner has calibrated smooth implied-volatility surfaces and calculates local volatility at simulation dates, but finds daily stepping slow for long…

OptionsVolatility
Quant Q&A

The document asks how to price two claims under Black–Scholes: one paying the time integral of the asset price and another paying the squared log of its terminal price. For the integral claim, the answers use discounted risk-neutral expectation and…

Derivatives pricingOptionsStatistics