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
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,414 documents

Quant Q&A

The document considers a calendar spread option on nearby and deferred Brent contracts, where the spread may be zero or negative. This makes a standard Black–Scholes treatment unsuitable, since its lognormal price assumption does not accommodate negative…

OptionsCommoditiesDerivatives pricingStatistics
Quant Q&A

The document considers how a hypothetical cryptocurrency linked to a currency and a quantity of wheat might be priced, and whether market supply and demand alone would determine its value. Its answer focuses on legal redemption rights: if each token gives…

CryptoCommoditiesArbitrage
Quant Q&A

The document describes a forecasting problem for electricity futures, where delivery spans a period rather than occurring on a single date. It explains that the usual spot-and-carry pricing relationship does not capture the observed risk premium, which is…

FuturesCommoditiesStatisticsBacktesting
Quant Q&A

The document explains how the usefulness of a negative option strike depends on whether the underlying can itself take negative values. For a nonnegative asset, a negative strike makes a call certain to finish in the money and a put worthless, so such…

OptionsDerivatives pricingCommoditiesFixed income
Quant Q&A

The document distinguishes agricultural futures trading from options trading and explains why farmers may still rely on exchange prices even when they do not trade listed contracts. It says farmers typically use futures to hedge crop prices, while the…

FuturesCommoditiesRisk management
Quant Q&A

The document explains why a persistent positive basis, defined as spot price minus futures price, can make a long futures hedge profitable on average under a particular assumption. If spot behaves like a martingale and futures begin below spot, convergence…

FuturesCommoditiesCarryRisk management
Quant Q&A

The document considers modeling two assets with asymmetric, heavy-tailed returns and correlated volatility shocks for value-at-risk simulation. It examines two proposed ways to couple inverse-gamma volatility shocks: quantile-transformed variables and a…

EquitiesCommoditiesVolatilityRisk management
Quant Q&A

The document explains that physical electricity derivatives specify delivery over a defined period and at a stated capacity, rather than delivering a lump of energy at one instant. A capacity contract therefore corresponds to energy supplied across the hours…

FuturesCommoditiesOptionsMarket microstructure
Quant Q&A

The document compiles user reports about EODData’s historical and intraday market data, including equities, indices, foreign exchange, commodities, and options. Reported problems include missing records, stale files, price spikes and scale errors, absent…

EquitiesForexCommoditiesBacktesting
Quant Q&A

The document addresses how to summarize commodity futures volumes by commodity and tenor, with purchases positive and sales negative. The suggested workflow first converts each trade’s volume into a signed quantity using its buy or sell direction. It then…

CommoditiesFuturesPosition sizing
Quant Q&A

The document examines how to convert a continuous-time mean-reverting model for a commodity price into a discrete-time equation for log price. It applies Itô's lemma to the log price and an integrating factor to solve the resulting linear stochastic…

CommoditiesStatisticsMean reversionVolatility
Quant Q&A

The document discusses a one-year gold forward example with a spot price, a risk-free rate, and a gold lease rate. A dealer can borrow an ounce, sell it at spot, invest the proceeds, and account for the lease cost; this gives a no-arbitrage reference for the…

CommoditiesDerivatives pricingArbitrageRisk management
Quant Q&A

The document discusses estimating downstream commodity prices, such as flour from wheat, when direct price series are unavailable. A conversion factor from raw material to finished product is not enough to capture the finished price. One response describes…

CommoditiesStatistics
Quant Q&A

The document gathers reading suggestions for learning about commodity markets, with an emphasis on electricity. The original question seeks resources on energy products, pricing, links to quantitative strategies, and research on forecasting power prices. The…

CommoditiesFuturesDerivatives pricing
Quant Q&A

The discussion examines why weather and insurance derivatives may be valued using historical, real-world outcomes. Their underlying variables, such as temperature or wind, are generally not tradable assets, so the standard no-arbitrage replication argument…

Derivatives pricingCommoditiesRisk management
Quant Q&A

The note asks whether Bitcoin and Ether should be modeled as currencies with zero interest when they pay no dividends, and whether crypto carry costs instead reflect commodity-like features. Its answer compares two modeling frameworks for a stochastic…

CryptoForexCommoditiesDerivatives pricing
Quant Q&A

The document examines how exchange-traded products are classified and whether ETFs, ETNs, and ETCs should be named separately in portfolio descriptions. It notes that ETF structures can include open-end funds, unit investment trusts, grantor trusts, notes,…

Multi-assetCommoditiesRisk management
Quant Q&A

This exchange considers how to represent transaction costs when a futures calendar spread can be traded as a single exchange-listed contract. The question observes that the spread contract may have a lower execution cost than trading its outright legs…

FuturesCommoditiesExecutionPortfolio construction
Quant Q&A

The document explains why the premium difference between two calls in a spread can change after the position is opened. Its example describes an at-the-money short call paired with an out-of-the-money long call on gold, and clarifies that this leg…

OptionsCommoditiesVolatilityDerivatives pricing
Quant Q&A

The document raises a portfolio risk question: how to use principal component analysis when positions depend on more than one correlated time series, such as UK and euro yield curves or several commodities. PCA on a single curve can summarize its major…

StatisticsRisk managementPortfolio constructionFixed income
Quant Q&A

The document explains why exchange-traded commodity futures are commonly quoted by contract expiry month, while swaps and other over-the-counter fixed-income products are often quoted by tenor. Futures exchanges concentrate trading in a limited set of…

FuturesCommoditiesFixed incomeForex
Quant Q&A

The discussion outlines a historical Value at Risk approach for a portfolio of futures and options. It proposes applying past instrument returns to current positions to estimate historical dollar profit and loss, then selecting a lower-tail percentile as the…

FuturesOptionsCommoditiesRisk management
Quant Q&A

The document considers whether a fixed-for-floating electricity swap should be valued from the difference between the monthly futures price and the fixed contract price, or by applying Black-76 with the fixed price as a strike. It raises two conceptual…

CommoditiesFuturesDerivatives pricingRisk management