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 works through an arbitrage-free valuation problem for a down-and-in claim paying the underlying stock value at maturity if a barrier is touched. The barrier equals the strike of a down-and-out call. The given market prices are for the…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document asks what it means to say Black–Scholes overprices or underprices options when the option’s true value is not directly known. It presents research claims that the model can price deep in-the-money calls too high and deep out-of-the-money calls…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains what serves as collateral in a collateralized loan obligation. A special purpose vehicle buys leveraged loans and issues debt tranches as well as a junior equity security. The loan pool is held by the vehicle; the manager is paid to…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document asks how to trade a violation of a stated no-arbitrage inequality involving three swaptions with the same strike and different option and swap maturities. The condition says the prices of two shorter-maturity swaptions, taken together, should be…

ArbitrageOptionsDerivatives pricing
Quant Q&A

The document considers whether the optimal risky-asset weight in the classical Merton portfolio problem must lie between zero and one. In the setup described, the investor allocates a fraction of wealth to a risky asset, with zero interest rates assumed for…

Portfolio constructionPosition sizingRisk management
Quant Q&A

The document asks whether sub-Gaussian random variables or processes appear in financial models or applications, contrasting their rapidly decaying tails with the fat tails often seen in financial time series. The response offers one concise observation: a…

Statistics
Quant Q&A

The document addresses why historical values from Yahoo Finance’s API may differ from those shown in its interactive chart. The answer focuses on the distinction between Close and Adjusted Close: the chart may display adjusted values that account for events…

EquitiesBacktestingStatistics
Quant Q&A

The document describes how to distinguish order events in full-depth equity market data, particularly when preparing intraday records for analysis or machine learning. It maps message labels to their likely roles: adds on the bid or ask represent limit…

EquitiesMarket microstructureExecutionMachine learning
Quant Q&A

The document explains how to evaluate the probability that one of two correlated geometric Brownian motion stock prices will exceed the other at a future date. The key step is to take the ratio of the future prices: its logarithm is normally distributed,…

EquitiesStatisticsDerivatives pricing
Quant Q&A

The document addresses the tedious process of downloading adjusted closing prices for several stocks individually and merging the resulting files. It presents two programmatic alternatives: using a Python data-reader library to request multiple symbols over…

EquitiesBacktestingPortfolio construction
Quant Q&A

The document asks whether transaction records and candlestick summaries can reveal the highest bid, lowest ask, or quote sizes in the foreign exchange market. The available data includes trade times, amounts, prices, and bar-level measures such as highs,…

ForexMarket microstructureExecutionBacktesting
Quant Q&A

The document asks how to convert dollar P&L into percentage returns for a two-leg straddle strategy sized by vega notional. The strategy aims to stay vega neutral by balancing its legs, while positions are adjusted and delta hedged over time. The central…

OptionsDerivatives pricingRisk managementBacktesting
Quant Q&A

The document asks why Ljung–Box tests on squared returns can report very high p-values even when their autocorrelation plots appear to show dependence. It presents test results for returns and squared returns at several lag lengths, then asks whether the…

StatisticsVolatilityRisk management
Quant Q&A

The document discusses how to choose the observation window and retesting frequency for cointegration methods such as the ADF and Johansen tests when designing a pairs strategy. It rejects a universal lookback standard and relates the choice to data…

Pairs tradingStatisticsBacktestingMean reversion
Quant Q&A

The document compares two ways to forecast a stock’s performance relative to a benchmark: model each asset’s returns separately and subtract the forecasts, or model the relative return directly. It frames the problem as a weekly time-series forecasting task…

EquitiesStatisticsBacktesting
Quant Q&A

The document asks why a forward contract’s value at delivery is not simply the spot price minus the contracted delivery price. It describes the holder’s apparent ability to buy at the agreed price and immediately sell at the market price, then questions a…

FuturesDerivatives pricingArbitrage
Quant Q&A

The document clarifies how USD LIBOR quote dates relate to loan periods and how business-day conventions affect swap dates. A non-overnight tenor quote is described as a forward rate whose accrual period begins two business days after the curve’s anchor…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to handle the negative rate-times-value term in a Heston–Hull–White partial differential equation discretized with an alternating direction implicit (ADI) scheme. The paper described by the question allocates this term evenly among the…

OptionsDerivatives pricing
Quant Q&A

The document describes an apparent discontinuity in weekly historical prices retrieved through quantmod for an Indian equity. The response traces the discrepancy to the underlying Yahoo Finance history rather than to quantmod itself: the same inconsistent…

EquitiesBacktesting
Quant Q&A

The document asks when the conditional expectation of a terminal payoff given the full Brownian filtration can be expressed using only the current state of a diffusion. Its proposed argument relies on future Brownian increments being independent of the past…

StatisticsDerivatives pricing
Quant Q&A

The document proposes studying a quantity formed by multiplying the difference in expected returns of two return series by the square root of the variance of their return difference. This reverses the variance term’s placement in the conventional information…

StatisticsMulti-assetPortfolio construction
Quant Q&A

The document asks how to backtest a stock-direction model that is retrained on historical price windows and used to generate trades. The author reports prediction accuracy and wants to test a strategy over multiple years, including risk controls such as stop…

Machine learningBacktestingEquitiesRisk management
Quant Q&A

The document clarifies how to calculate profit and loss for a continuously delta-hedged option position. Its central distinction is between the gains from holding a changing number of shares and the change in the market value of the final share position.…

OptionsDerivatives pricingRisk management