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

20,364 documents

Quant Q&A

The document frames discrete delta hedging as a tradeoff: more frequent rebalancing can reduce hedge error but raises transaction costs, while less frequent trading lowers costs and leaves greater residual risk. It argues that there is no single practice…

OptionsDerivatives pricingRisk managementExecution
Quant Q&A

The document answers whether Python trading libraries can support forex strategies. It describes three routes: combine plotting tools with a broker's REST API, use a backtesting framework that accepts OHLC data regardless of instrument, or run Zipline…

ForexBacktestingExecution
Quant Q&A

The document discusses numerical instability when optimizing a custom GARCH quasi-maximum-likelihood objective in R. Its proposed safeguard is to clamp each filtered conditional variance to a chosen lower and upper limit, preventing extreme parameter values…

VolatilityStatisticsRisk management
Quant Q&A

The document asks how to apply multidimensional Itô’s lemma when a function maps a vector of stochastic processes to another vector. It illustrates the question with a vector of assets divided by a stochastic numeraire, a transformation that can arise when…

StatisticsDerivatives pricingMulti-asset
Quant Q&A

The document addresses how to tell whether listed call options are European or American when searching for real market data. Its key distinction is that US options on individual securities are generally American, while options on indexes are generally…

OptionsDerivatives pricingUS markets
Quant Q&A

The document asks about obtaining long historical daily price series across thousands of instruments and several asset classes. The response says that paid vendors do offer historical datasets, but that assembling prices is only part of the task. Data…

Multi-assetBacktestingEquities
Quant Q&A

The document derives the value of a floating-rate note before its next coupon reset in a continuous-time zero-coupon bond framework. Each future floating coupon is represented as the difference between discount bond prices at its reset and payment dates.…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks whether methods besides principal component analysis are standard for decomposing interest-rate term structures. The response names the Nelson–Siegel model as another commonly used approach. This points readers toward a parametric way to…

Fixed incomeStatistics
Quant Q&A

The document asks whether a sharply inverted credit default swap curve can create arbitrage. Its example compares protection at two maturities: buying longer-dated protection and selling shorter-dated protection may appear to leave a positive premium balance…

Fixed incomeDerivatives pricingArbitrageRisk management
Quant Q&A

The document discusses how the move from LIBOR to risk-free reference rates affects swap discounting and curve construction. It describes the market shift to SOFR discounting for US swap quotations and cleared swaps, and explains that an existing projection…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The discussion explains why an arbitrage-free call price curve should be convex in strike. A butterfly spread combines calls at neighboring strikes so that its payoff is nonnegative across terminal prices and positive over an intermediate range. If the call…

OptionsDerivatives pricingArbitrageStatistics
Quant Q&A

The document poses an idealized optimization problem: given the historical prices of a small set of assets over a fixed interval, find the sequence of trades that maximizes terminal wealth from an initial cash amount. The investor may hold up to a limited…

EquitiesMulti-assetPortfolio constructionBacktesting
Quant Q&A

The discussion considers what mathematical background can help a reader understand and implement models in Brigo and Mercurio, including HJM, LMM, and local volatility models. The questioner has studied introductory stochastic calculus and is working through…

Derivatives pricingFixed incomeStatistics
Quant Q&A

The document raises a market design question: could an exchange collect orders during fixed intervals and match them together at each interval’s end, instead of processing each incoming order immediately? It contrasts this proposed batch process with…

Market microstructureExecutionHigh-frequency trading
Quant Q&A

The discussion distinguishes two simple price differences over a bar or other observation period. The high–low range is the period’s highest price minus its lowest price, so it is nonnegative and describes the span of observed prices. The open–close…

EquitiesStatisticsMarket microstructure
Quant Q&A

The discussion explains why corporate actions can distort daily returns when a price series is adjusted incorrectly. A stock split should be reflected consistently across historical prices; a discontinuity caused by a mismatched close and adjusted close can…

EquitiesStatisticsBacktesting
Quant Q&A

The document describes how to combine three asset return series into a portfolio index with fixed weights of 50%, 25%, and 25%. It recommends calculating each asset's simple percentage return, taking the weighted sum at each time step, adding one to obtain…

Portfolio constructionBacktestingMulti-asset
Quant Q&A

The document explains how to value a payoff equal to a forward LIBOR rate fixed and paid at the start of its accrual period by translating it into a payoff at the period's end. Under the assumed risk-neutral framework, the rate known at the start can be…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document addresses whether an exchange rate and its reciprocal, such as a currency pair and the inverted pair, should have the same at-the-money implied volatility. It models one exchange rate as a diffusion with proportional volatility and applies Itô's…

ForexVolatilityStatistics
Quant Q&A

The document explains how to calculate portfolio drawdowns from cumulative returns and find both the deepest decline from a prior peak and the longest period spent below a peak. It identifies a common pandas indexing error: integer access can fail when a…

StatisticsRisk managementBacktesting
Quant Q&A

The document describes an R workflow for estimating a CARMA(2,1) model with the yuima package from daily market price data. The initial attempt passes a price column directly into the package and produces an error while constructing the model data. The…

StatisticsMarket microstructureMachine learning
Quant Q&A

The document asks whether every twice-differentiable call-price surface across maturities and strikes can be generated by a local volatility function of time and the underlying asset price. It points to the assumption used in Dupire’s approach and seeks a…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks which representation of interest rates should be used when applying principal component analysis or other stress tests to interest rate swaps: par swap rates, spot rates, or forward rates. It notes that the studies the author has…

Fixed incomeRisk managementStatistics