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
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

1,625 documents

Quant Q&A

The discussion considers whether a widening gap between a bond futures price and its spot price causes the bond yield to rise. The answers describe the price gap as related to financing carry and argue that changes in yields or financing conditions generally…

Fixed incomeFuturesCarryArbitrage
Quant Q&A

The document explains a no-arbitrage trade when a European call costs less than its intrinsic value, defined here as the underlying price minus the strike. The described position buys the call and shorts the underlying. At expiration, if the underlying is…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document considers whether cryptocurrency market conditions such as low volume, high volatility, or market immaturity might allow intra-exchange triangular arbitrage gaps to persist long enough for an API-based strategy. It asks whether traders can…

CryptoArbitrageMarket microstructureExecution
Quant Q&A

The document examines a backtest of a collar formed with shares, a long put, and a short call, with both options struck at the current stock price. Its payoff expression simplifies the option payoff terms at expiration, leaving the initial call-put premium…

OptionsEquitiesArbitrageBacktesting
Quant Q&A

The document explains what it means for SPY to track the S&P 500. The fund seeks to hold component weights close to those in the index, so its net asset value changes with the weighted returns of its holdings, after fees and expenses. The difference between…

EquitiesUS marketsArbitragePortfolio construction
Quant Q&A

The discussion distinguishes the first and second fundamental theorems of asset pricing. In the account provided, the first connects absence of arbitrage with the existence of a linear valuation rule that assigns zero value to traded cash flows. The second…

ArbitrageDerivatives pricingPortfolio construction
Quant Q&A

The document considers whether a Euro Stoxx futures contract and matching European call and put options offer an arbitrage when only one of each contract may be traded. It introduces put-call parity and rearranges it to compare the call-minus-put price with…

FuturesOptionsArbitrageDerivatives pricing
Quant Q&A

The document asks how to classify a strategy that goes long in the cheaper of two markets and short in the more expensive one after their prices diverge beyond a threshold. The assets are described as fungible, but the strategy does not move them between…

ArbitragePairs tradingMarket microstructureExecution
Quant Q&A

The note derives a forward price when an asset pays a deterministic proportional dividend before contract expiry. Its main method compares the forward payoff with a cash-and-carry position: borrow funds to buy the stock, account for the dividend cash flow,…

EquitiesFuturesArbitrageDerivatives pricing
Quant Q&A

The document reconciles several formulations of Durrleman’s condition for preventing butterfly arbitrage in an implied volatility surface. It explains how expressions differ when volatility is represented as raw volatility, total volatility, or total…

OptionsDerivatives pricingVolatilityArbitrage
Quant Q&A

The document explains why a Black–Scholes option price is not the discounted expected payoff under real-world probabilities. That calculation uses the stock’s physical drift, which reflects expected returns, but ignores how traded assets and hedging…

OptionsDerivatives pricingArbitrageStatistics
Quant Q&A

The document considers how to adjust a fitted vanilla-option implied volatility surface to represent a lower-volatility market or an abrupt volatility shock. It cautions that blindly adding a constant to implied volatility or multiplying it by a scale factor…

OptionsVolatilityArbitrageDerivatives pricing
Quant Q&A

The document explains how a forward exchange rate above the level implied by spot and the two currency interest rates creates a covered interest arbitrage. The proposed trade borrows the foreign currency, exchanges it for the home currency at spot, invests…

ForexArbitrage
Quant Q&A

This discussion examines how to compare a cash basket of S&P 500 constituents with an E-mini futures contract when assessing index arbitrage. It asks whether to aggregate constituent bid and ask quotes separately and discount those totals, or use mid prices…

EquitiesFuturesArbitrageMarket microstructure
Quant Q&A

The document discusses how to fit a Black-Scholes implied volatility surface when options trade with bid-ask spreads. It explains why separate arbitrage-free bid and ask surfaces are generally not useful for practical hedging, since trades and hedges can…

OptionsVolatilityDerivatives pricingArbitrage
Quant Q&A

The document considers whether an American put calendar spread can have a negative price and examines an attempted no-arbitrage argument based on selling the shorter-maturity put and buying the longer-maturity put at the same strike. The key issue is…

OptionsDerivatives pricingArbitrage
Quant Q&A

The note uses gold forward prices at two maturities to illustrate a carry-based arbitrage. If the later contract is priced above the earlier contract adjusted for financing and storage-related carry, a trader can buy the earlier exposure and sell the later…

CommoditiesFuturesArbitrageCarry
Quant Q&A

The document outlines checks for whether a SABR-fitted option surface is free of static arbitrage. For a fixed maturity, it proposes deriving the risk-neutral density from the second strike derivative of call prices, then checking that the density is…

OptionsDerivatives pricingVolatilityArbitrage
Quant Q&A

The document examines whether buying an underlying asset while also buying a put creates an arbitrage opportunity. The response describes the expiration payoff: the protective put limits losses below the put strike, while gains accrue when the underlying…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document discusses data choices for studying covered interest parity (CIP) across currencies when general collateral repo rates at term maturities are difficult to obtain. It explains that short-dated, high-quality government bonds and reverse repos can…

Fixed incomeForexArbitrageRisk management
Quant Q&A

The discussion explains why a fair die’s physical outcome probabilities do not, by themselves, determine the risk-neutral probabilities. Risk-neutral probabilities are inferred from traded prices and payoffs, so a price process and the available securities…

StatisticsDerivatives pricingArbitrage
Quant Q&A

The discussion explains why equity volatility and credit default swap spreads may move together, focusing on structural models of a firm’s capital structure. In the basic Merton framework, equity behaves like a call option on firm assets, with debt repayment…

EquitiesFixed incomeVolatilityArbitrage
Quant Q&A

The document questions media descriptions of US Treasury futures basis trades as arbitrage. It focuses on a cash bond and futures hedge, especially when the bond is the cheapest to deliver, and distinguishes a negative gross basis from a genuinely locked-in…

Fixed incomeFuturesArbitrageCarry
Quant Q&A

The document considers the no-arbitrage relationship between prices of call options on the same stock with the same expiry but different strikes. A lower-strike call should be worth at least as much as a higher-strike call, since its payoff is never smaller.…

OptionsDerivatives pricingArbitrage