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 derives the portfolio weights that maximize the Sharpe ratio for two risky assets with equal variances and a shared correlation, alongside a risk-free rate. It defines each asset’s excess return as its expected return minus the risk-free rate,…

Portfolio constructionRisk managementStatistics
Quant Q&A

The discussion suggests testing a Merton jump-diffusion model on broad equity benchmarks and their exchange-traded funds, naming the Nasdaq, S&P 500, Russell 2000, and examples such as QQQ, SPY, and IWM. It notes that these liquid benchmarks can help compare…

OptionsEquitiesCommoditiesVolatility
Quant Q&A

The document addresses how to simulate the terminal price of a geometric Brownian motion (GBM). It distinguishes the arithmetic mean and variance of the resulting lognormal price from the parameters required by a lognormal random-number generator, which are…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document explains why a listed stock may have no daily price record even when the exchange is open. A stock does not necessarily trade each day: if no buyer or seller submits an order that leads to a transaction, there may be no new trade price from…

EquitiesMarket microstructureUS markets
Quant Q&A

The document explains how to turn irregular stock trade ticks into a regular time series using previous-tick interpolation. One approach converts epoch milliseconds to POSIX time, creates a five-minute grid, and uses interval lookup to select the latest…

High-frequency tradingMarket microstructureStatistics
Quant Q&A

The document explains why a futures backtest needs to model the transition from an expiring contract to a later-dated contract. A price difference between those contracts is not itself a trading gain or loss: a live trader closes the expiring position and…

FuturesBacktestingCarry
Quant Q&A

The document explains how to value a payoff based on the difference between a stock price at an intermediate date and its later price. It first clarifies that the stated payoff needs a positive-part operator to describe a put-like claim; under that…

OptionsDerivatives pricingVolatility
Quant Q&A

The post questions a claim that puts are priced using historical volatility while calls use implied volatility, attributing the distinction to differences in liquidity. The reply challenges that framing: implied volatility is obtained by solving an…

OptionsVolatilityDerivatives pricing
Quant Q&A

The post considers how to compare profit factors across forex strategy runs when trades arrive in bursts. The author proposes treating nearby orders as one cluster and weighting each trade according to the number of subsequent orders within a short window. A…

ForexBacktestingPosition sizingRisk management
Quant Q&A

The post asks how to construct a CNY interest-rate swap curve that matches Bloomberg, focusing on discount factors beyond the short end. The author reports converting maturities through nine months with an Actual/360 simple discount formula, then using…

Fixed incomeChina marketsDerivatives pricing
Quant Q&A

The document asks how to apply Itô’s lemma to an option value modeled as a function of time and a stock price. The stock has a drift that pulls its level toward a parameter P at a rate set by omega, and its diffusion term is proportional to the stock price.…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether option sellers should prefer very short expirations, where time decay is concentrated, or sell options with more time remaining. It uses an at-the-money straddle example to compare premiums at two expirations and observes that the…

OptionsVolatilityExecution
Quant Q&A

The document works through pricing a claim that pays the cube root of the underlying asset at maturity. The asset is initially specified with mean-reverting drift and proportional diffusion, while a money-market account earns a constant rate. The proposed…

Derivatives pricingOptionsStatistics
Quant Q&A

The document considers how to compare an at-the-money call with an out-of-the-money call when each has a different implied volatility. Its central point is that implied volatility is inferred from market prices through a pricing model, often one that assumes…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to account for the parity ratio when using Black–Scholes to value a third-party warrant. Parity states how many warrants are needed to exercise the right to acquire one unit of the underlying. The answer converts the warrant price…

OptionsDerivatives pricingEquities
Quant Q&A

The document considers why a stock may show little price movement after an earnings announcement, including when the reported results appear favorable or unfavorable. It challenges the questioner’s suggestion that option sellers or market makers deliberately…

EquitiesEvent-drivenOptions
Quant Q&A

The document explains why Black–Scholes specifies a geometric Brownian motion (GBM) for the underlying even though option valuation is commonly expressed using risk-neutral probabilities. Its central point is that risk-neutral pricing does not remove the…

OptionsDerivatives pricingRisk management
Quant Q&A

The answer explains how a very long time series can fail a stationarity test even when shorter sections pass. It uses two stationary sequences with different means as an illustration: joining them creates a series whose mean changes at the transition, so the…

Statistics
Quant Q&A

The answer addresses how to assemble a symbol list covering common stocks listed on Nasdaq and other U.S. exchanges. It recommends obtaining the Nasdaq-listed and other-listed directory files, then merging and sorting them, rather than relying on the single…

EquitiesUS markets
Quant Q&A

The document distinguishes an ex ante return estimate based on assumed parameters from an ex post calculation using realized mean and risk. It gives a simple normal-distribution method for estimating the probability that a return falls below zero:…

StatisticsRisk managementBacktesting
Quant Q&A

The answer explains why local volatility (LV) can misprice double-no-touch options even though it produces random realized volatility along simulated paths. Each path integrates variance across the local volatility surface, so the realized volatility varies…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document concerns the pricing of foreign-exchange options with American-style barriers. The question contrasts closed-form formulas for European barrier calls and puts with the apparent lack of comparable guidance for American barriers. The response…

ForexOptionsDerivatives pricing
Quant Q&A

The document clarifies a terminology difference between trading practice and academic writing. At trading desks, “hedging” is commonly used for constructing a portfolio that replicates a derivative’s payoff. Academic papers more often call the same idea…

OptionsDerivatives pricingRisk management
Quant Q&A

The document describes why a trader or product issuer might use a forward-starting option instead of a standard option. Such an option’s strike is set at a future date, so it mainly exposes the holder to volatility after that strike-setting date. It may be a…

OptionsVolatilityDerivatives pricingRisk management