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 document asks how to choose the trade size that maximizes profit when exploiting a price difference between two constant-product market-making pools. Because each pool’s quoted rate changes with the amount traded, a small trade can receive a different…

ArbitrageMarket makingDeFiExecution
Quant Q&A

The document explains a two-period definition of arbitrage: a portfolio must have nonpositive value initially, a nonnegative payoff in every later state, and a strictly positive chance of producing value rather than zero throughout. This framework clarifies…

ArbitrageStatisticsRisk management
Quant Q&A

The document addresses why interest rate swaps are often valued using forward rates derived from today’s yield curve instead of simulating each future floating payment. It explains that spot rates are bootstrapped from traded instruments and imply forward…

Fixed incomeArbitrageDerivatives pricing
Quant Q&A

The note asks whether a government bond yield can be divided into an expectations component and a term premium within the Heath–Jarrow–Morton framework. It distinguishes a real-world view of yields, in which investors may describe yields as expectations plus…

Fixed incomeStatisticsArbitrage
Quant Q&A

The note addresses why a call spread built from two outer strikes does not create arbitrage simply because its price exceeds the price of an intermediate-strike call. The intermediate call is cheaper than the weighted combination, so buying it and selling…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document derives a risk-neutral price for a contract that pays the average underlying price over an interval ending at maturity. It discounts the payoff at the final payment date and uses linearity to move the expectation inside the time integral. Under…

Derivatives pricingArbitrageEquities
Quant Q&A

The document asks how to define an arbitrage-free price process for an American-style derivative when the buyer may make payments over its lifetime and choose a random exercise time. It proposes selecting a process so the supremum over exercise times of…

Derivatives pricingOptionsArbitrage
Quant Q&A

The document distinguishes opportunities with favorable expected value from opportunities whose payoff is locked in against market risk. A lottery example illustrates the difference: owning one ticket offers a favorable chance but retains uncertainty, while…

ArbitrageStatisticsRisk management
Quant Q&A

The document explains why investing cash through reverse repo cannot replace repo financing for a long bond, short futures position. In reverse repo, the investor lends cash and temporarily receives a bond as collateral; the bond is due back to the…

Fixed incomeFuturesArbitrage
Quant Q&A

The document explains theoretical price bounds for European and American options, focusing on why a European put’s upper bound is the present value of its strike while an American put’s upper bound is the strike itself. It lists lower and upper bounds for…

OptionsDerivatives pricingArbitrage
Quant Q&A

The note explains the upper bound on a European call’s value: under the stated no-arbitrage assumption, its price cannot exceed the price of the underlying asset. The proposed argument is to sell an overpriced call and buy the underlying, creating a positive…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document describes a proposed arbitrage when a call option is overpriced relative to the underlying under put-call parity. The answer says the trade requires a put with the same strike: sell the call, buy the put, and buy the underlying. The combined…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document describes the basic market-making model in an ETF context. A market maker quotes prices at which it will buy and sell, generally buying at the bid and selling at the ask; the difference between those prices is a primary source of revenue.…

Market makingExecutionMarket microstructureEquities
Quant Q&A

The document compares worst-case arbitrage allocation with expected-value betting across two simultaneous matches. For the first match, the offered payouts allow a guaranteed profit if the stake is split between Pink and Maroon within a specific range.…

Position sizingArbitrageRisk managementStatistics
Quant Q&A

The document explains a sign confusion in a put–call parity arbitrage argument. A trader considers a position involving a call, a put, and the underlying stock, and asks whether the terminal expression represents a debt or a gain when the call is exercised.…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document asks which interest rates are appropriate for empirical covered interest parity testing between Canada and the United States across several forward maturities. It raises a practical concern with Treasury bill rates: their lending yield may not…

ForexFixed incomeArbitrageStatistics
Quant Q&A

The document asks when a Black–Scholes market with two risky assets driven by the same Brownian motion and one risk-free asset is arbitrage-free and complete. The question highlights a modeling issue: the setup has one source of randomness, which does not…

StatisticsDerivatives pricingArbitrage
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 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 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 explains why an in-the-money call generally cannot trade below the underlying stock price minus the strike, using a no-arbitrage argument. If it did, an investor could sell the stock, buy the underpriced call, and invest the strike amount. The…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document considers an optimal stopping problem in which the payoff depends on an Ornstein–Uhlenbeck process, then asks whether that process can represent a stock price. The response argues that under a risk-neutral, arbitrage-free model, discounted…

OptionsMean reversionCommoditiesArbitrage
Quant Q&A

The document compares replication and no-arbitrage arguments for pricing a forward on an asset that pays no income. With a single fixed interest rate, holding the asset can be replicated by a forward position and cash, yielding a forward price that grows the…

Derivatives pricingArbitrageFixed income
Quant Q&A

The document questions whether slowly changing estimated correlation matrices reflect genuinely stable markets or the smoothing effect of using a long rolling window. It highlights a potential implication for statistical arbitrage: strategies that rely on…

StatisticsOptionsArbitrageMarket microstructure