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
Quantpedia
86 documents
TqSdk
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

21,023 documents

Quant Q&A

The document poses a portfolio insurance problem in which an investor trades a stock and holds the remainder in a zero-interest bank account at a finite set of dates. The stock is modeled as geometric Brownian motion, and the objective is to choose stock…

Risk managementPosition sizingEquitiesStatistics
Quant Q&A

The document raises a general problem in numerical optimization: an algorithm's output may not be the global maximum or minimum, especially when the objective is difficult and the search begins from an initial vector. It frames the issue using an…

StatisticsPortfolio construction
Quant Q&A

This document describes an R function for simulating multivariate constant conditional correlation GARCH processes. It distinguishes the original CCC model, where ARCH and GARCH parameter matrices are diagonal, from an extended version that permits full…

StatisticsVolatility
Quant Q&A

The document asks whether a forward Libor rate remains a martingale at intermediate times under the forward measure associated with its payment date. The accepted response applies the tower property of conditional expectation: if the rate is a martingale…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document presents a Python workflow for fitting a SABR volatility smile with QuantLib. The example supplies option strikes and implied volatilities, constructs a NoArbSabrInterpolatedSmileSection, sets initial values for alpha, beta, nu, and rho, and…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document derives the stochastic dynamics of a forward rate from the risk-neutral dynamics of zero-coupon bond prices. It first defines the instantaneous forward rate as the negative maturity derivative of the log bond price, then uses the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers how to choose two strategy parameters from an in-sample grid using Sharpe ratio, Sortino ratio, and maximum drawdown. Its central lesson is to assess the pattern across nearby parameter settings rather than automatically selecting the…

BacktestingStatisticsRisk management
Quant Q&A

The document concerns numerical evaluation of the integral used to price a call option under the Heston stochastic volatility model. The question asks whether Simpson’s rule or Gauss–Legendre quadrature is suitable and seeks MATLAB or Scilab implementations.…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document distinguishes the efficient market hypothesis (EMH) from the random walk hypothesis (RWH). EMH describes prices incorporating available information continuously; RWH says price changes are not predictable and follow a random walk. A random walk…

EquitiesStatisticsDerivatives pricing
Quant Q&A

The post studies option pricing under a time-dependent Heston model in which mean reversion changes across time intervals while other listed parameters are held fixed. It compares prices from an Elice method and two Monte Carlo approaches, Milstein and…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The post asks how to maximize a portfolio return metric computed by a large R function with one bounded input parameter. The parameter is restricted to a range from 1.0 to 1.5, starts at 1.25, and only needs precision to increments of 0.05. The author…

Portfolio constructionBacktestingStatistics
Quant Q&A

The document distinguishes detecting a bond’s richening or cheapening from estimating its fair value. A regression of daily price changes against related securities can accumulate residuals that show relative moves, but those moves alone cannot tell whether…

Fixed incomeStatisticsMean reversionRisk management
Quant Q&A

The document asks how to optimize an automated trading strategy when higher expectancy coincides with sharply fewer trades. It also notes that maximum drawdown appears to improve as trade counts fall, making it difficult to judge whether performance gains…

BacktestingStatisticsRisk management
Quant Q&A

The document considers why a portfolio VaR based on a covariance matrix and normally distributed market factors may exceed its stated confidence bounds more often than expected. It proposes decomposing portfolio risk into component VaR to identify which…

Risk managementVolatilityStatisticsPortfolio construction
Quant Q&A

The document outlines a proposed workflow for pricing a quanto option: estimate marginal distributions for the underlying asset and exchange rate, connect them with a copula, then calculate the expected payoff under the resulting joint distribution. Its main…

OptionsForexDerivatives pricingStatistics
Quant Q&A

The response derives a closed-form present value for an infinite sequence whose cash flows follow a cosine pattern and are discounted at a constant rate. It notes that odd-indexed terms vanish, rewrites the surviving cosine terms as alternating signs, and…

Fixed incomeStatistics
Quant Q&A

The document asks how to modify the closed-form Markowitz efficient-portfolio weights so that every asset weight is positive. The supplied formula uses expected returns and the inverse covariance matrix to describe the unconstrained efficient portfolio…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document addresses which bond data to use when estimating a portfolio variance–covariance matrix. Its central recommendation is to model returns rather than covariance of raw prices. For longer-maturity bonds, historical returns from traded prices may be…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document addresses an interview puzzle about applying a fixed set of positive and negative returns to an asset and asks which ordering maximizes the ending value. Each return multiplies the current asset value by one plus that return. Since…

StatisticsRisk management
Quant Q&A

The document asks where to learn econometric methods for continuous-time models when observations arrive at discrete times. It explains why the topic is relatively specialized: standard econometrics and time-series texts may give it little attention, and…

StatisticsHigh-frequency trading
Quant Q&A

The document presents a time-series modeling problem: an ARFIMA(12,0,12) mean with an eGARCH volatility specification produces plausible one-step forecasts on a sample of 2,000 observations, but extreme mean and variance forecasts after fitting the same…

StatisticsVolatilityMachine learningBacktesting
Quant Q&A

The document identifies research on whether academic publication eliminates stock return predictability and relates it to slow information diffusion. The suggested explanation is that information may take time to become fully reflected in prices, with the…

EquitiesStatisticsMarket microstructure
Quant Q&A

The discussion clarifies how risk-neutral pricing connects to delta hedging and the Black–Scholes equation. In a standard setup, a self-financing hedged portfolio is locally risk-free, so its return is tied to the financing rate. The stock’s real-world…

OptionsDerivatives pricingStatisticsRisk management
Quant Q&A

This discussion examines why a return calculated from an adjusted share-price series may differ from a reported total shareholder return with dividends reinvested. It explains that a total-return series is a constructed price history: dividends are treated…

EquitiesBacktestingStatisticsUS markets