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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

21,023 documents

Quant Q&A

The answer explains that an MA model represents a series using current and past shocks, rather than past observed values. It suggests comparing simulated AR(1) and ARMA(1,1) series with the same errors to see how the moving-average coefficient changes their…

StatisticsBacktesting
Quant Q&A

The document asks how to set internal concentration limits for a retail credit portfolio and whether the Herfindahl-Hirschman Index (HHI) is suitable. It defines HHI as the sum of squared exposure weights and notes that its range depends on the number of…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document examines how correlation can affect best-of and worst-of options and discusses confusion arising from the payoff definition. The questioner's Monte Carlo example simulates correlated terminal prices for two assets and reports that the price of a…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document distinguishes two conventions for compounded overnight-rate swap coupons. In a lookback without an observation period shift, each daily rate observation is moved earlier by a set number of business days, while the accrual weights remain tied to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains that the right bond comparison measure depends on the task. For an indicative price on an illiquid bond, it describes interpolating between observable bonds that mature earlier and later. For amortizing bonds, weighted average life may…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document investigates why a simulated call price comes out as zero when the Black–Scholes calculation gives a positive value. Its proposed remedy is to simulate the underlying under the risk-neutral geometric Brownian motion process, using the risk-free…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document answers whether local volatility can be estimated using only the spot price at a particular time. It explains that Dupire’s approach derives local variance as a function of option maturity and strike from a surface of call prices, rather than…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document outlines a Monte Carlo approach for valuing performance share units whose payout depends on a company’s share-price performance relative to a peer group. It estimates daily log-return means, volatilities, and correlations from historical prices,…

EquitiesStatisticsDerivatives pricingBacktesting
Quant Q&A

The document explains how to aggregate ordinary monthly returns into quarterly returns. For each quarter, add one to every monthly return, multiply those gross returns together, and subtract one. This captures the effect of sequential returns; simply summing…

EquitiesStatisticsBacktestingPortfolio construction
Quant Q&A

The document gives an approximation for the probability that a stock touches a short strangle’s higher strike without touching its lower strike. It defines events for touching each side and expresses the desired probability as the probability of touching the…

OptionsStatisticsRisk management
Quant Q&A

For normally distributed asset returns with known means and covariance, the document relates portfolio VaR optimization to familiar portfolio objectives. When VaR is defined as a return quantile centered on the portfolio mean, maximizing it is equivalent to…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document examines why a finite-step Taylor expansion for an option price can include the squared asset-price increment, while a continuous-time Itô calculation uses quadratic variation. It distinguishes two ways to express a change in a smooth function:…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers how to specify the mean equation when forecasting stock index return volatility with a GARCH model. One workflow first selects AR and MA terms for the mean using an ARIMA procedure, estimates that equation by least squares, and checks…

EquitiesVolatilityStatisticsBacktesting
Quant Q&A

The document proposes a heatmap for showing how often obligors remain in each credit rating class from one period to the next. Ratings occupy one axis and time intervals the other; color represents the proportion that kept the same rating. This puts many…

Fixed incomeStatistics
Quant Q&A

The document distinguishes martingale assumptions used in derivative pricing from assumptions used in trading and risk management. For pricing, it describes a risk-neutral probability measure under which an underlying asset is a martingale, linking that…

StatisticsDerivatives pricingRisk managementEquities
Quant Q&A

The document asks how to apply stratified sampling, a variance reduction technique, when pricing Asian options by Monte Carlo simulation. It contrasts stratifying the terminal Brownian motion value for a European option with stratifying the average of…

OptionsStatistics
Quant Q&A

The document concerns estimating parameters for a stochastic volatility model in which variance follows a Cox–Ingersoll–Ross (CIR) square-root process. The question asks for estimation from time-series data rather than option prices, with quasi-maximum…

StatisticsVolatilityMachine learning
Quant Q&A

The document examines how to simulate multiple geometric Brownian motion price paths with a specified correlation structure. The attempted R approach draws independent normal shocks, applies a Cholesky factor of the input correlation matrix, and uses the…

StatisticsBacktestingPortfolio construction
Quant Q&A

The document considers how to calculate returns from one-minute price bars when a trading session begins after a long market closure. The first observed price of a session and the prior session’s final price produce a return spanning far more than one…

ForexStatisticsVolatilityMarket microstructure
Quant Q&A

The document distinguishes a stock’s return over an individual year from its annualized return across multiple years. It describes an example with an initial investment, a change in year-end price, and no purchases or sales during the holding period. The…

EquitiesStatistics
Quant Q&A

The document notes that market depth has no single official quantitative definition and proposes measuring it through the cost of immediately buying and selling a specified quantity, given the order book at a particular time. This cost varies with both the…

Market microstructureExecutionStatistics
Quant Q&A

The document explains translation invariance for a risk measure: adding a constant amount to a profit-and-loss position reduces its VaR by that amount. For a continuous P&L distribution, VaR is expressed as the negative of a lower-tail quantile, so shifting…

Risk managementStatistics
Quant Q&A

Realized variance is an estimate of intraday variation, not by itself a model for forecasting volatility across days. To forecast future volatility, a model must specify how information from realized measures relates over time. The document describes…

VolatilityStatisticsHigh-frequency tradingRisk management