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 explains how US trade-through protection works across stock exchanges. Under the account given, when a venue receives an order but another exchange displays a better price, the order must be routed to that better-priced venue. A consolidated…

EquitiesArbitrageMarket microstructureExecution
Quant Q&A

The document asks how covered interest rate parity should be applied when spot foreign-exchange trades settle after a delay. Its starting point compares investing domestic currency at the domestic rate and converting at a forward rate with converting into…

ForexCarryArbitrage
Quant Q&A

The document sets up a payer forward contract entered at zero value and later offset by a receiver contract on the same accrual period. Subtracting the two terminal cash flows yields a payoff proportional to the change in the forward rate between the entry…

Fixed incomeDerivatives pricingArbitrageStatistics
Quant Q&A

The document explores how a forward interest rate follows from the prices of zero-coupon bonds with different maturities. It proposes holding a long position in the longer-maturity bond and a short position in a scaled amount of the shorter-maturity bond,…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

The document explains replication as matching a derivative’s payoff across every possible model state using positions in the underlying stock and a money market account. In a one-period example, stock and bond holdings are chosen so their combined terminal…

Derivatives pricingArbitrageStatistics
Quant Q&A

The document explains why comparing two delivery months of a bond future generally cannot isolate the underlying bond’s price using a simple carry relationship. Futures pricing depends on the cheapest-to-deliver bond, its conversion factor, the repo rate…

Fixed incomeFuturesDerivatives pricingArbitrage
Quant Q&A

The document describes how collateral currency affects discounting when the payment currency differs. For a USD cash flow collateralized in EUR, one approach is to use a USD discount curve adjusted by the cross-currency basis. The answer illustrates this by…

Fixed incomeForexArbitrageDerivatives pricing
Quant Q&A

The document compares two ways to estimate a current fair price for one instrument from the historical prices of a correlated instrument pair. One method multiplies the current price of the target instrument by the ratio of the two instruments’ average…

StatisticsPairs tradingArbitrageEquities
Quant Q&A

The document describes how to price a forward contract on a zero-coupon bond using no-arbitrage. The example gives a bond with a stated face value and current price, a forward maturity before the bond’s maturity, and a binomial short-rate lattice. The key…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

The document shows how to derive the price of a 10-year zero-coupon bond from two 10-year coupon bonds with different coupon rates and known prices. The replication scales a long position in the lower-coupon bond and a short position in the higher-coupon…

Fixed incomeArbitragePortfolio construction
Quant Q&A

The discussion considers how an ETF market maker might earn a spread while hedging exposure with the underlying basket or a related instrument. It distinguishes capturing a favorable price difference from realizing that profit: a hedged position can remain…

EquitiesMarket makingArbitrageExecution
Quant Q&A

The document shows how put–call parity can identify an arbitrage across European options with two different strikes, even when the current stock price is unknown. Applying parity separately at each strike and subtracting the equations removes the stock-price…

OptionsArbitrageDerivatives pricing
Quant Q&A

The document explains why a foreign exchange forward is not generally the conditional expectation of the future spot rate under the domestic risk-neutral measure when interest rates are stochastic. The forward price instead comes from discounting the payoff…

ForexFixed incomeDerivatives pricingArbitrage
Quant Q&A

The document compares three ideas used to explain why the Black–Scholes–Merton option-pricing formula can hold: profitable trading opportunities, market efficiency, and market equilibrium. It asks why equilibrium might be considered the most important of…

Derivatives pricingOptionsArbitrage
Quant Q&A

The document describes a proposed passive rebate trade in which a trader posts a bid on one marketplace, waits for a fill, then posts an offer at the same price elsewhere. If another participant responds to the displayed price, the trader might complete both…

ArbitrageMarket makingMarket microstructureExecution
Quant Q&A

The document corrects the claim that a European option’s binomial price does not depend on probability. It distinguishes physical probabilities, which describe actual beliefs about market moves, from risk-neutral probabilities, which are implied by the…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document frames a cash-and-carry trade in a contango market: buy the underlying asset and sell a futures contract. It compares a nearer contract with a higher annualized yield against a later contract that may offer a larger absolute basis. The trader…

FuturesSpot marketsCarryArbitrage
Quant Q&A

The document distinguishes instantaneous, risk-free arbitrage after transaction costs from trades that require holding inventory while prices may converge. In a proposed cross-exchange trade involving a stock and cash, the question is how to hedge the stock…

ArbitrageEquitiesMarket microstructureRisk management
Quant Q&A

The document explains how a risk-neutral probability density for the underlying at expiration can be recovered from the second strike derivative of call prices, under a constant interest-rate assumption. Once recovered, the density can be integrated against…

OptionsDerivatives pricingVolatilityArbitrage
Quant Q&A

The document describes a market-making experiment in a video-game item marketplace. It reports that some items appeared to have stable supply and demand, while occasional sales below the best bid created negative spreads. A program repeatedly reposted quotes…

Market makingMarket microstructureExecutionArbitrage
Quant Q&A

The document discusses which financing rate belongs in option valuation and whether call and put quotes can be used to infer it. It starts from European put-call parity, then compares that relationship with observed option bids. One answer says the inferred…

OptionsDerivatives pricingArbitrage
Quant Q&A

The note asks whether a forward price equals a futures price when the contracts share a maturity and the market has no dividends, constant interest rates, and no arbitrage. The answer derives the standard cost-of-carry relationship: the delivery price is…

FuturesDerivatives pricingArbitrageRisk management
Quant Q&A

A European put with strike K pays no more than K at maturity, since its payoff is the greater of K minus the underlying price and zero. The document applies the no-arbitrage principle: the put cannot be worth more before maturity than a zero-coupon bond…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document explains why option volatility surfaces may use forward moneyness instead of raw strike. Moneyness measures a strike’s distance from a reference price; forward moneyness compares the strike with the forward price for that option’s maturity. This…

OptionsVolatilityDerivatives pricingArbitrage