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
Binance API docs
45 documents
Quantopian lectures
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
WonderTrader
14 documents
Alphalens
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,414 documents

Quant Q&A

The discussion explains that an issuer can create a contract whose payoff tracks an asset such as gold by promising clients a cash settlement tied to a defined reference price. This is primarily a contractual arrangement. An exchange traded fund, product, or…

Derivatives pricingRisk managementCommoditiesOptions
Quant Q&A

The note explains how to estimate fair value for a futures contract using the cost-of-carry relationship. For an index future, it relates the spot index level to financing over the contract term, adjusted for income such as dividends. The same idea can be…

FuturesDerivatives pricingCommoditiesCarry
Quant Q&A

The document clarifies three terms used in forward markets. The forward price is the current price for entering a new forward with a given maturity, and it changes as market conditions change. The delivery price is the amount fixed in an existing contract…

Derivatives pricingEquitiesCommoditiesCarry
Quant Q&A

The document distinguishes futures contracts whose prices are constrained by arbitrage from those whose prices are harder to model. For a storable commodity with an observable spot price and no convenience yield, the cost-of-carry relationship can determine…

FuturesCommoditiesArbitrageCarry
Quant Q&A

The discussion explains why a commodity spread option may use variability measured in absolute price changes rather than return volatility. For a spread defined as the difference between two asset prices, the value can cross zero. That makes a geometric…

CommoditiesOptionsDerivatives pricingVolatility
Quant Q&A

The document describes an application of a multivariate GARCH-BEKK model to spot and futures price returns. It presents estimated model parameters and asks how to derive the conditional variance and covariance matrix from them. The stated hedge ratio is the…

FuturesCommoditiesStatisticsRisk management
Quant Q&A

The document discusses monthly rebalancing of commodity futures portfolios amid seasonal liquidity patterns and market microstructure effects. It argues that there is no universally suitable point in each month for rebalancing and suggests avoiding periods…

FuturesCommoditiesExecutionMarket microstructure
Quant Q&A

The document distinguishes avoiding a risk from transferring it. Avoidance means choosing not to take on the exposure, such as declining an investment; transfer means accepting the exposure while using a hedge or insurance-like instrument to offset its…

Risk managementFuturesCommoditiesFixed income
Quant Q&A

The document explains how to express gold’s price against a basket of currencies to reduce dependence on any single currency’s movements. Its example basket combines fixed amounts of US dollars, euros, and Japanese yen, then converts the basket value into…

CommoditiesForexMulti-asset
Quant Q&A

The document discusses how someone without access to an OTC derivatives desk can study prices and payoff risks for customized options. It explains that dealers generally quote only to established desk customers, who may need product-specific legal agreements…

OptionsDerivatives pricingVolatilityCommodities
Quant Q&A

The document addresses how traders can identify economic announcements that move different markets, with a particular question about agricultural commodities. It cites a study examining the immediate responses of commodity prices and short-term Treasury bill…

CommoditiesFixed incomeEvent-drivenVolatility
Quant Q&A

The document asks whether open-source software can support commodity pricing and risk management, noting that commodity contracts may involve a wide range of specialized payoffs. The answer says the author is not aware of a dedicated open-source library for…

CommoditiesDerivatives pricingRisk management
Quant Q&A

The document addresses how to estimate delta and gamma for a calendar spread option as the underlying spread changes, and asks whether empirical studies are available. The response models the calendar spread option as a position involving a short call at one…

OptionsDerivatives pricingCommodities
Quant Q&A

The document describes a data-access problem involving Nasdaq Data Link’s CHRIS continuous futures datasets. A user could retrieve other datasets with a valid API key but received access-denied errors when requesting historical daily futures data intended…

FuturesCommoditiesBacktesting
Quant Q&A

The discussion is a request for references and modeling approaches for natural gas forward prices, including stylized market behavior and estimation. The answers offer limited guidance rather than a developed model. One recommends an industry-focused book…

CommoditiesFuturesStatistics
Quant Q&A

Commodity producers can use cash-settled futures to hedge benchmark price exposure without delivering their goods through the exchange. They continue to sell through their usual supply chain, where buyers handle the commodity’s grade, location, and physical…

FuturesCommoditiesRisk management
Quant Q&A

The document asks how to build a commodity futures strategy whose expected profit varies with the difference between daily-return correlation and two-day-return correlation, scaled by the assets’ volatilities. The proposed exposure is connected to a…

CommoditiesFuturesDerivatives pricingStatistics
Quant Q&A

The document asks whether Vega-Vanna-Volga methods are used beyond foreign exchange derivatives and why they are common in FX. The response connects FX risk-reversal asymmetry to the possibility of central-bank intervention around exchange-rate levels. It…

OptionsForexEquitiesCommodities
Quant Q&A

The document discusses how to build price histories for calculating Value at Risk on a portfolio that may include interest-rate, commodity, and equity futures. Its central concern is that contract rolls, changing liquidity, and commodity seasonality can…

FuturesCommoditiesRisk managementStatistics
Quant Q&A

The document proposes comparing volatility clustering in return series by fitting hidden Markov models with multiple volatility states. An information criterion such as AIC or BIC can help select the number of states, after which standard HMM estimation…

VolatilityStatisticsMachine learningEquities
Quant Q&A

The discussion considers how to select liquid, low-cost ETFs spanning broad asset classes and regions for testing a portfolio selection algorithm. It emphasizes choosing funds that closely track indexes with long histories, so older index data can extend a…

BacktestingPortfolio constructionMulti-assetEquities
Quant Q&A

The document discusses pricing commodity swing options, which allow multiple exercise decisions subject to limits. The questioner has tried Longstaff–Schwartz Monte Carlo and asks about implementing a finite element approach for a model without jumps, using…

CommoditiesOptionsDerivatives pricingStatistics
Quant Q&A

The document addresses an Rblpapi error that occurs when requesting a Bloomberg futures chain with a date override. The reported call supplies an override as a value string, and the package rejects it because the override is not named. The proposed fix is to…

FuturesCommodities
Quant Q&A

The document considers whether stationary electricity futures prices can be simulated directly from a fitted distribution to estimate value at risk, or whether a multi-step simulation is needed. It distinguishes a one-horizon risk estimate from a…

FuturesCommoditiesRisk managementStatistics