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 describes an LSTM trading model using RSI, MACD, a ratio of two exponential moving averages, and recent returns as inputs over a short history. It assigns separate long and short outputs based on whether a hypothetical trade reaches a…

Machine learningTechnical indicatorsBacktestingRisk management
Quant Q&A

The document defines Day One Profit or Loss as the difference between a financial instrument’s transaction price and its estimated fair value when a deal begins. It says fair value is typically estimated from market data and valuation models. The concept can…

Derivatives pricingRisk managementStatistics
Quant Q&A

The document explains how closing a futures or perpetual futures position changes a trader’s net exposure. A trader closes a long by selling the contract, which opens or increases a long position for whoever buys it. The original short position remains open;…

FuturesPerpetual futuresMarket microstructure
Quant Q&A

The document describes a practical signal-processing problem in a trading system that receives live bid and ask data. The author reports that offline backtests can use non-causal smoothing methods with access to future observations, but those methods lag…

Technical indicatorsTrend followingBacktestingExecution
Quant Q&A

The document describes using a normal, or Gaussian, model to price caplets and floorlets when rates can be negative. Under the stated setup, the forward rate evolves as a Gaussian martingale with constant absolute volatility, so its value at expiry has a…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document explains why options on the same underlying can imply different volatilities across strikes even though the Black-Scholes model assumes constant volatility. It presents several interpretations: the smile can reflect model misspecification,…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The discussion considers whether high-dimensional Sobol sequences are practical for large market simulations and Monte Carlo pricing, where the required dimension may exceed the limits of common implementations. One answer points to established Sobol…

StatisticsBacktestingOptionsDerivatives pricing
Quant Q&A

The document explains why foreign exchange option data may arrive as volatility quotes and delta-based smile points rather than as a ready-made table of implied volatilities by strike and maturity. In much of the over-the-counter market, options are quoted…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion examines why observed broker spreads across currency pairs may look counterintuitive and whether spreads are useful as a rough measure of trading cost. One explanation is a quotation-unit effect: comparing the dollar cost of one unit of each…

ForexExecutionMarket microstructure
Quant Q&A

The document derives a static option replication for a payoff equal to the square of a non-dividend-paying stock’s terminal price. It rewrites the square as twice the integral, over strikes from zero to infinity, of the call payoff at each strike. This…

OptionsDerivatives pricingStatistics
Quant Q&A

The document considers statistical tools for testing whether historical changes in a market variable appear random, with the aim of identifying unusual patterns and consistency over time. It points to the NIST test suite, a collection originally used to…

StatisticsMachine learningBacktesting
Quant Q&A

The document addresses how a T-forward measure can be used when a directly observed zero-coupon bond for the required maturity is unavailable. It explains that market curves are built from instruments spanning different horizons: spot borrowing rates anchor…

Fixed incomeDerivatives pricingFuturesStatistics
Quant Q&A

The document explains why standard CDS settlement after a credit event does not generally depend on the trade’s original coupon or upfront payment. Those amounts reflect the trade’s earlier mark-to-market and are treated as historical once the event occurs.…

Fixed incomeDerivatives pricingEvent-drivenRisk management
Quant Q&A

The document presents ways to explain bond P&L in a format resembling swap curve attribution. One method maps each bond’s risk to maturity buckets, such as splitting a bond between adjacent swap tenors, then estimates bucket moves by minimizing the…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document asks whether a double-barrier knock-out call can be assembled from an up-and-out option and a down-and-out option. The accepted response says this decomposition does not work: satisfying one barrier condition does not by itself enforce both…

OptionsDerivatives pricing
Quant Q&A

The document derives the finite-horizon change in log price when log price, after subtracting a linear time trend, follows an Ornstein–Uhlenbeck process. The drift pulls the detrended log price toward zero at a rate set by the mean-reversion parameter, while…

StatisticsMean reversion
Quant Q&A

The document considers how to hedge a 30-year bond when the most liquid bonds extend only to 10 years. As the bond ages, its maturity eventually enters the liquid part of the curve, where a 10-year bond may provide a closer hedge. The difficult period is the…

Fixed incomeRisk management
Quant Q&A

The document explains why a minimum-risk portfolio optimization with fully equal active weights can return the benchmark itself. It defines each active weight as the difference between a portfolio weight and its benchmark weight. If both the portfolio and…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document discusses the arbitrage-free valuation of a claim paying a power of the terminal stock price in the standard Black–Scholes model. The questioner applies Itô’s lemma first to the power process and then to its logarithm, but obtains an exponent…

OptionsDerivatives pricingVolatility
Quant Q&A

The document examines whether the conditional covariance of two assets at a later date can be decomposed by conditioning on their forward values at an intermediate expiration. It starts from the usual expression for covariance as the conditional expectation…

StatisticsFuturesDerivatives pricing
Quant Q&A

The document outlines a way to reconcile instrument identifiers when OTC derivative trades arrive from systems using Bloomberg and Refinitiv symbols. Its proposed first check is to compare ISINs when both are supplied, then consult an internal lookup table…

Derivatives pricingExecutionMarket microstructure
Quant Q&A

The document presents an apparent contradiction from three two-sided t-tests: one fails to reject a zero mean for a company’s monthly stock returns, another rejects a zero mean for the market index, and a third fails to reject equal means for the stock and…

EquitiesStatisticsUS markets
Quant Q&A

The document explains why the term duration can refer to different bond measures and how compounding conventions affect their relationship. Macaulay duration is described as a time-weighted measure of fixed cash flows, while modified duration measures the…

Fixed incomeRisk managementStatistics