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

16,761 documents

Quant Q&A

The document explains a Monte Carlo check for an implementation of Dupire local volatility. Simulated underlying paths use the local volatility evaluated at the current simulated spot and time, with the process initialized at the market spot. For each…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document explains how to simulate two correlated Hull–White short-rate processes, such as rates for two currencies, using QuantLib. Its suggested construction combines separate Hull–White processes in a stochastic process array and supplies a correlation…

Fixed incomeMulti-assetStatisticsBacktesting
Quant Q&A

The document asks whether a short RQuantLib script can estimate the total return of a five-year constant-maturity Treasury bond from a yield series. Its proposed approach reprices a fixed-rate bond using consecutive observations as coupon and discount…

Fixed incomeUS marketsBacktesting
Quant Q&A

The post considers whether regime-switching models can detect market shifts and support trading. It outlines a common approach: model market behavior using states with specified distributions, then estimate a Markov transition matrix. The intended benefit is…

Machine learningStatisticsBacktestingPortfolio construction
Quant Q&A

The document concerns pricing options under the Heston stochastic volatility model with an Euler Monte Carlo scheme. The question reports unstable convergence when using Sobol quasi-random numbers and asks whether a Brownian bridge can address apparent…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document asks whether several historical volatility estimators can be ranked from largest to smallest: close-to-close variants and range-based estimators including Parkinson, Garman–Klass, Rogers–Satchell, and Yang–Zhang. The answer says a universal…

VolatilityStatisticsBacktesting
Quant Q&A

The document asks whether an annualized Sharpe ratio can predict how often or how long a strategy will lose money, and whether a striking record of few losing days implies a particular Sharpe ratio. The responses distinguish average excess return relative to…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes a discrepancy between a closed-form price for a geometric Asian call and a Monte Carlo estimate. The author uses a formula parameterized by spot, strike, maturity, volatility, interest rate, and a monitoring count, and reports that the…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document raises a practical concern about combinatorial purged cross-validation (CPCV) in financial backtesting. By combining separated time blocks into a training sample, the method can make observations on either side of a gap appear adjacent. That can…

BacktestingMachine learningStatistics
Quant Q&A

The document reviews a Monte Carlo implementation for a payoff capped at an upper barrier and floored at a lower barrier at expiry. The accepted answer identifies errors in the simulation: each price update should multiply the current spot by the geometric…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

The document explains how to turn a Dupire local volatility model into a European option price. Its example starts with an implied volatility surface, constructs a Black–Scholes–Merton process that uses the surface, and sets up a vanilla call. It then…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

The document asks why Laguerre polynomials are used as regression basis functions in Longstaff–Schwartz Monte Carlo pricing of American options. It cites discussion of multicollinearity among basis functions and a separate numerical comparison that found…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document discusses how financial pattern discovery can extend beyond traditional technical analysis. It distinguishes loosely defined chart patterns and indicator rules from approaches that state hypotheses mathematically and evaluate them with…

StatisticsMachine learningBacktesting
Quant Q&A

Antithetic sampling pairs each simulated random draw with a complementary draw, such as transforming a uniform probability by taking its complement. For normally distributed inputs, this produces paired values with equal and opposite standardized shocks.…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document considers how to assemble an ETF universe for historical portfolio-allocation backtests. One response suggests using a finance screener to sort ETFs by inception date, but cautions that requiring funds to exist by a chosen early date can sharply…

BacktestingPortfolio constructionUS markets
Quant Q&A

The document raises a modeling question about applying the heterogeneous autoregressive realized volatility model to forecast one-minute realized volatility in an active Bitcoin market. The proposed regressors are realized volatility measured over recent…

CryptoVolatilityMarket microstructureBacktesting
Quant Q&A

The discussion addresses a long only trading system whose estimated Kelly fraction becomes negative after losses or changing estimates. Under the simple Kelly setup, a negative fraction indicates that the estimated expected return for the specified bet is…

Position sizingRisk managementBacktestingStatistics
Quant Q&A

The document explains how to compare the chances that a stop-loss or take-profit level is reached first when prices follow a one-tick random walk with equal odds of moving up or down. For barriers at distances a and b from the starting price, the probability…

StatisticsRisk managementBacktesting
Quant Q&A

The document explains how to represent and calculate returns for an equal-dollar long-short portfolio. Dollar neutrality means the current market values of the long and short sides have equal magnitude; a short position still has a market value even though…

EquitiesPortfolio constructionBacktestingExecution
Quant Q&A

The document asks how to evaluate a calibrated Cox-Ingersoll-Ross short-rate model against historical observations, noting that the ordinary R-squared from a linearized parameter fit may not provide a meaningful goodness-of-fit measure. The response does not…

Fixed incomeStatisticsBacktestingDerivatives pricing
Quant Q&A

The document considers how to compare two return series when strategies often do not trade and therefore record zero returns. It asks whether zero observations should remain in a correlation calculation and how to compare strategies with different patterns…

StatisticsBacktestingRisk managementEquities
Quant Q&A

The document asks whether backtests of intraday strategies that start and end each day flat understate performance because a trader could stop trading after recognizing a poor market day. It notes that backtest results depend on assumptions about transaction…

BacktestingExecutionRisk managementEquities
Quant Q&A

The document surveys Python tools for strategy research, backtesting, portfolio analysis, and live trading. It describes backtrader in the most detail: it supports event-style and vectorized runs, multiple assets and strategies, varied data sources and…

BacktestingPortfolio constructionExecutionTechnical indicators
Quant Q&A

The document poses an optimal stopping problem for a firm's profit modeled as a Brownian process with drift and volatility. The value is expressed as accumulated discounted profit up to a stopping time, then rearranged into a term involving an expected…

StatisticsMachine learningBacktesting