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

9,797 documents

Quant Q&A

The document asks how to set leverage separately for a short-only crypto strategy that trades many coins, holds positions from hours to days, and uses signal-based exits without fixed stops or profit targets. Its central risk is that sharp upward price…

CryptoFuturesSpot marketsPosition sizing
Quant Q&A

The document explains a timing distinction in put–call parity for options on futures. At option expiry, the underlying futures contract may still be open. The value of a futures position then reflects the difference between the current futures price for that…

OptionsFuturesDerivatives pricingArbitrage
Quant Q&A

The document describes a comparison of gold futures traded on two exchanges with different trading hours. One market is open for eight hours, while the other trades for sixteen hours; their sessions overlap and close together. The author observes that…

FuturesCommoditiesStatistics
Quant Q&A

The document introduces the commodity cost-of-carry relationship, which links a futures price to spot price, financing, storage costs, convenience yield, and time to delivery. It asks whether the model implies an upper bound on futures prices and how to…

CommoditiesFuturesCarryDerivatives pricing
Quant Q&A

The exchange describes using options on Treasury bond futures to adjust the interest-rate exposure of a fixed-income portfolio. For a long bond portfolio, buying puts on Treasury futures or, where permitted, writing calls can provide negative duration…

Fixed incomeFuturesOptionsRisk management
Quant Q&A

The document compares two ways to construct a residual for a relative-value trade in a three-bond yield-curve fly. One approach regresses a fly measure on a belly yield and a wing-spread measure, aiming to remove level and curve exposures. The other…

Fixed incomeFuturesMean reversionStatistics
Quant Q&A

The document explains that Bloomberg intraday bars and tick data can be accessed programmatically through its API, even when exporting data through the Excel interface is unsuccessful. It notes that the API supports several programming languages and…

ExecutionMarket microstructureFuturesStatistics
Quant Q&A

The document explains why daily settlement does not erase the hedging purpose of a futures contract. A business can lock in a price for a future purchase or sale, while daily mark-to-market transfers gains and losses as prices change. For a buyer facing…

FuturesCommoditiesRisk management
Quant Q&A

The note explains how a stock option pricing routine can be adapted to price an option on a futures contract. Its approach converts the observed futures price into a discounted pseudo spot price using the relationship between futures, interest rates, and any…

OptionsFuturesDerivatives pricing
Quant Q&A

The document describes a European call whose exercise condition depends only on one commodity futures contract, while exercise also grants the holder a second futures contract. The payoff is the usual positive excess of the first asset over the strike, plus…

CommoditiesFuturesOptionsDerivatives pricing
Quant Q&A

The document explains that a minimum variance hedge ratio can exceed one. It gives the relationship between the hedge ratio, spot-to-futures price correlation, and the ratio of their price-change standard deviations. Since correlation cannot exceed one, a…

FuturesRisk managementPosition sizing
Quant Q&A

The document describes the difficulty of hedging a spread between inverse futures contracts with different maturities. The author notes that the contract exposure is nonlinear and sensitive to both spot prices and interest rates. They compare several hedge…

FuturesPerpetual futuresDerivatives pricingRisk management
Quant Q&A

The document considers how to express a view that a stock’s dividends in a future year will be lower than expected. With the assumption that the relevant forward matures after the ex-dividend date, lower dividends imply a higher expected stock price and…

EquitiesFuturesEvent-driven
Quant Q&A

The document explains why a QuantLib futures rate helper rejects a Monday date supplied for a Eurodollar contract when configured to use IMM dates. IMM dates are Wednesdays, and the dates given in the question are therefore not valid IMM dates. QuantLib…

FuturesFixed income
Quant Q&A

The document compares sources and instruments for obtaining recent historical S&P 500 trade data with millisecond timestamps. It names commercial vendors and the NYSE Daily TAQ product as potential sources, noting that comprehensive trades and associated…

EquitiesFuturesExecutionMarket microstructure
Quant Q&A

The document explains how interest rates and dividends affect the carry associated with equity options, and how a long call combined with a short put replicates a forward. It emphasizes that carry belongs to the underlying financing and dividend economics:…

OptionsFuturesCarryDerivatives pricing
Quant Q&A

The document outlines econometric knowledge useful in quantitative trading, especially for research with financial time series. Its core list includes regression and inference, ARMA and GARCH models, unit-root and cointegration methods, VARs, Kalman filters,…

StatisticsMachine learningBacktestingFutures
Quant Q&A

The document raises a question about soybean and soybean meal futures, which the author describes as highly correlated because they share an underlying agricultural market. A linear regression between the two series produces residuals that fail an Augmented…

FuturesCommoditiesStatisticsPairs trading
Quant Q&A

The document poses an arbitrage-free condition for a finite-state, two-period market with a nonnegative interest rate, a specified initial stock price, and stock prices at each future state. It asks which interest rates rule out arbitrage and reports the…

FuturesArbitrageStatistics
Quant Q&A

The document examines an apparent July quote for Dallas heating degree day futures, a contract that seems inconsistent with the location’s usual summer weather. Its response questions whether the quoted instrument was actually trading and suggests the figure…

FuturesCommoditiesStatistics
Quant Q&A

The document outlines pricing approaches for European options on the difference between two correlated futures prices under a lognormal framework. For a zero strike, it identifies the Margrabe formula, interpreting the pricing problem through one futures…

FuturesOptionsDerivatives pricingVolatility
Quant Q&A

The discussion concerns R software for estimating multivariate volatility models, especially BEKK-GARCH, in work involving volatility analysis and optimal hedge ratios. One answer points to the ccgarch package as an option. Another notes that some package…

FuturesVolatilityRisk managementStatistics
Quant Q&A

The document compares ways to join futures contracts into a continuous price history, focusing on use in return based calculations such as volatility estimation. Its accepted answer recommends ratio adjustment: on a roll date, scale earlier prices by the…

FuturesCommoditiesVolatilityStatistics