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

9,797 documents

Quant Q&A

The discussion considers how a cost-of-carry model relates a futures price to the underlying spot price, interest rate, storage costs, convenience yield, and income yield. Its central point is that storage and convenience yield may be unobservable inputs. If…

FuturesCommoditiesArbitrageDerivatives pricing
Quant Q&A

The document describes how natural gas options volatility can vary across the calendar. It says winter contracts tend to carry higher implied volatility than summer contracts, producing peaks and troughs across the term structure of the volatility surface.…

CommoditiesOptionsVolatilityFutures
Quant Q&A

The document explains how to construct a backward ratio-adjusted continuous futures series when open interest indicates a roll from one contract to another. In its corn example, the front contract's open interest falls behind the deferred contract's, but the…

FuturesCommoditiesBacktesting
Quant Q&A

The note explains the conversion-factor term in a Treasury futures wild card option inequality. The question concerns when a short futures holder should exercise promptly and sell the remaining bond position, comparing the gross basis cost with the price…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document clarifies when gains and losses from a futures position become cash. A trader who enters a long futures contract and later closes it with an offsetting short position might mistakenly expect the combined contract payoff to occur at the original…

FuturesRisk managementExecution
Quant Q&A

The document identifies a method for pricing continuous arithmetic-average options when the underlying is a futures contract. It describes adapting the Turnbull–Wakeman approximation, which is commonly used for arithmetic Asian options, to the futures-option…

OptionsFuturesDerivatives pricingVolatility
Quant Q&A

The document raises practical questions about constructing continuous futures histories from minute-level data. It focuses on difference adjustment: how to choose the price difference at a roll, whether to use the final minute's close or a daily average, and…

FuturesBacktestingMarket microstructure
Quant Q&A

The document addresses whether a discrete discounted cash-flow sum for a futures contract should use the discount factor at the beginning or end of each interval when passing to a continuous-time expression. One response relates the choice of sampling point…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to construct futures hedge ratios for a spot-starting one-year SOFR interest-rate swap. The example is dated partway through an IMM futures period and proposes using a strip of SOFR contracts spanning the swap tenor. The proposed…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The document presents a question about Level 2 depth data for an E-mini S&P 500 futures contract. Its example shows an ask quote added at a ladder position, updated several times, and then removed. The author asks why other removal events appear without a…

FuturesMarket microstructureExecution
Quant Q&A

The document introduces a framework for understanding calendar spreads between bond futures maturities. It decomposes a bond futures price into the underlying spot bond price, carry, delivery option value, and relative richness or cheapness. A calendar…

FuturesFixed incomeCarryDerivatives pricing
Quant Q&A

The document explains how to distinguish a forward’s fixed delivery price from its changing market price and value. Once entered, the contract’s delivery price stays fixed; a later quoted forward price applies to a newly written contract. The value before…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains where to obtain the meaning of a CME FIX SecurityID. The identifier appears in the Security Definition message, which carries reference data such as symbol, asset class, exchange, and expiration. This reference information is distinct…

FuturesMarket microstructureExecution
Quant Q&A

The document presents a question about valuing equity index futures with a cost-of-carry model. The proposed inputs are the current index level, a risk-free interest rate over the contract horizon, and a dividend yield or related carry estimate. The author…

FuturesEquitiesDerivatives pricingStatistics
Quant Q&A

The document discusses how to handle unusual futures volume near contract expiration when volume is used as a trading signal. The responses recommend excluding the affected contract from the sample once it becomes too close to expiration, since rolling…

FuturesExecutionMarket microstructureBacktesting
Quant Q&A

The document asks whether pricing a vanilla interest rate swap requires a model for the dynamics of rates, given that swap valuation is often described as reading from a yield curve. Its answer is conditional: the curve construction depends on the index,…

Fixed incomeDerivatives pricingFutures
Quant Q&A

The document explains why futures positions are marked to market and settled daily even though a futures contract establishes a price for a later transaction. Daily settlement transfers gains and losses as prices change, limiting the exposure that could…

FuturesCommoditiesRisk managementMarket microstructure
Quant Q&A

The document evaluates a simple proposal to use the price of a crude oil futures contract as a forecast of spot price at that contract’s maturity. Its central caution is that, for storable commodities, futures prices reflect current spot prices and carrying…

FuturesCommoditiesSpot marketsDerivatives pricing
Quant Q&A

The document asks whether an intraday price shock can change margin requirements on futures and options positions, apart from the effect of profit and loss. The example describes a position in S&P 500 futures options: long calls at one strike and twice as…

FuturesOptionsDerivatives pricingRisk management
Quant Q&A

The document presents an apparent arbitrage using a call, a put, and a futures contract with the same expiry and strike. The proposed position is long the call, short the put, and short the future; the questioner sees a positive initial cash balance and…

OptionsFuturesArbitrageDerivatives pricing
Quant Q&A

The document collects advice for a trader choosing a low-cost automated trading setup for futures and stocks through Interactive Brokers. The trader needs custom signals that combine technical rules with database lookups and breadth calculations, and wants…

FuturesEquitiesBacktestingExecution
Quant Q&A

The document explains how to calculate parametric Value-at-Risk for a portfolio holding equities and a correlated short futures position. Its central point is that portfolio volatility and exposure must use the same normalization. Using the net market value…

EquitiesFuturesVolatilityRisk management
Quant Q&A

The document derives a no-arbitrage forward price for an investment commodity that has no income but incurs storage costs. Its example discounts two scheduled storage payments to the present and adds their value to spot before applying the risk-free…

CommoditiesFuturesArbitrageDerivatives pricing
Quant Q&A

The document explains that the widely reported negative oil price concerned the expiring front-month WTI futures contract in April 2020, rather than a general price for all oil. Traders facing the prospect of physical delivery were closing or transferring…

CommoditiesFuturesMarket microstructure