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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

20,364 documents

Quant Q&A

The document asks whether a European option can be priced in a Black–Scholes setting when its payoff depends on a general transformation of the underlying asset. It illustrates the question with a call payoff equal to the positive part of a transformed…

OptionsDerivatives pricing
Quant Q&A

The document poses a numerical modeling question about discretizing a mean reverting Ornstein–Uhlenbeck process that combines continuous Brownian noise with random jumps. The jump component is modeled as a normally distributed jump size multiplied by a…

StatisticsMean reversion
Quant Q&A

The document explains why historical value at risk can be unreliable when an asset has only a short return history: the observed sample may not include the full range of plausible losses. It considers using sector returns as a proxy, but notes that averaging…

Risk managementStatistics
Quant Q&A

The document discusses how to interpret and empirically assess Geometric Brownian Motion (GBM). Under GBM, log returns follow a normal distribution whose mean combines the drift and a volatility adjustment. The drift is therefore a model parameter: its…

EquitiesStatisticsBacktestingMachine learning
Quant Q&A

The document presents practical ways to estimate the parameters of the Vasicek short-rate model without relying only on an unconstrained fit to bond prices. One approach discretizes the model into an approximate AR(1) process and matches theoretical and…

Fixed incomeStatisticsDerivatives pricingRisk management
Quant Q&A

The document explains why daily forex observations cannot be transformed into tick bars or volume bars. Daily prices are aggregates of underlying market activity, so they do not retain the sequence of individual quotes, trades, or trade sizes needed to…

ForexMarket microstructureExecutionStatistics
Quant Q&A

The document explains how TIPS can produce a positive nominal return despite a negative real yield, while still failing to preserve purchasing power. At maturity, inflation adjusts principal, but the adjusted payment may not offset the purchase price; the…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document explains how to calculate an FX outright forward rate from spot and broker-quoted forward points. The stated calculation is to add the forward points to spot: for the one-month EUR/PLN example, 3.4550 plus 0.0079 gives 3.4629. The question also…

ForexDerivatives pricing
Quant Q&A

The document asks whether refinancing should be triggered by a simple comparison between lower interest payments and refinancing fees. It presents consumer heuristics for fixed-rate mortgages, including refinancing when market rates fall by a threshold or…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document considers how to speed up repricing American equity options after constructing implied volatility surfaces. It describes the existing workflow of smoothing end-of-day surfaces and applying finite-difference pricing with discrete dividends, then…

OptionsDerivatives pricingExecutionMarket microstructure
Quant Q&A

The document discusses how to choose regression basis functions in the Longstaff–Schwartz least squares Monte Carlo method for valuing American-style options, including real options with multiple risk factors. The question is whether the few Laguerre…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document asks how to define option vega when volatility varies with the underlying asset price, using the CEV form in which local volatility is proportional to a power of the asset price. It contrasts this setting with Black–Scholes, where volatility is…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document questions the assumption behind conventional strategy optimization: that the process generating historical market data remains stable. It notes that out-of-sample checks and periodic reruns can help address overfitting, but may not resolve the…

BacktestingStatisticsMachine learning
Quant Q&A

A unilateral extinguisher is a swap portfolio that may be canceled after a credit event affecting one counterparty. Whether it ends depends on whether its mark-to-market value is above a contractually set threshold; a recovery payment may also apply. This…

Derivatives pricingFixed income
Quant Q&A

The document introduces a two-good exchange economy with two individuals and asks how a Walrasian auctioneer's price adjustments relate to equilibrium stability. The proposed tâtonnement rule raises a good's price when it has excess demand and lowers it when…

Statistics
Quant Q&A

The note considers an Itô integral of a deterministic function against Brownian motion and explains why it has zero mean, a covariance determined by the overlap of the integration intervals, and Gaussian distributions. The mean follows from the martingale…

Statistics
Quant Q&A

The note works through a 97.5% expected shortfall calculation for two independent bond portfolios. Each portfolio has two possible loss amounts, and independence lets the combined outcomes be enumerated: both portfolios incur the smaller loss, one incurs…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The note explains how to reverse the order of integration in a time integral of Brownian motion, expressing the result as a stochastic integral with the differentials in the opposite order. The original integration region has time variable s between zero and…

Statistics
Quant Q&A

The document considers a perpetual monthly payment obligation issued in exchange for an initial cash amount, with the issuer able to terminate it after a waiting period by repaying that original amount. It identifies the arrangement with a perpetual bond or…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document derives a Black–Scholes–Merton value for a call-like payoff that is positive when the terminal asset price exceeds the strike and scales with the reciprocal of that price. It rewrites the payoff using an indicator and inverse asset, relating the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why greater market volume generally lowers trading costs and how to measure execution cost. It proposes comparing the trade’s volume-weighted average price with the mid price when the order was sent, adjusting for whether the trade was…

EquitiesExecutionMarket microstructure
Quant Q&A

The document examines whether arbitrage-free pricing forces zero-coupon bond prices or spot rates to move monotonically with maturity. The question derives a presumed declining spot-rate curve from an assumed monotonic increase in bond prices, then notes…

Fixed incomeStatisticsArbitrage
Quant Q&A

The document explains why the choice of discount rates changes a bond duration measure. Traditional Macaulay duration discounts each cash flow using the bond’s single yield to maturity, then weights its payment time by the present value of that cash flow…

Fixed incomeRisk managementStatistics
Quant Q&A

The document asks how to assess whether a GARCH(1,1) volatility forecast is significantly above realized volatility. It describes a proposed approach: apply an F-test to the ratio of forecasted and realized volatility, then determine the degrees of freedom…

VolatilityStatisticsRisk management