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

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

A trader describes processing roughly four years of financial tick data in InfluxDB to build candles. A single large query exhausted available memory, so they split the work into monthly queries, processed each chunk, and accumulated the output. Their…

FuturesBacktestingExecution
Quant Q&A

The document asks which date should define time to maturity when calculating implied volatility for an American option that stops trading before its stated expiration. The accepted response says to use the time until the option expires, rather than the…

OptionsFuturesVolatilityDerivatives pricing
Quant Q&A

The document distinguishes three ways of pricing stock exposure: buying the stock now, agreeing to pay later through a forward or futures contract, and paying now for delivery of the stock at a future date through a prepaid forward. Under the stated…

EquitiesFuturesDerivatives pricing
Quant Q&A

Market makers may provide liquidity in one instrument while taking liquidity in another to reduce the risk created by their inventory. The document describes several cases: options makers may collect a wider option spread and use market orders in the…

Market makingExecutionOptionsFutures
Quant Q&A

The document discusses how to interpret sensitivities of VIX futures to the S&P index, volatility, rates, and time. It describes VIX as derived from a weighted basket of SPX options and notes that a futures contract’s settlement references a later option…

OptionsFuturesVolatilityDerivatives pricing
Quant Q&A

The discussion outlines ways to reduce interest rate exposure on a long bond position while setting credit risk aside. A bondholder can enter an interest rate swap to pay fixed and receive floating; the swap’s cash flows can offset much of the bond’s fixed…

Fixed incomeRisk managementFuturesDerivatives pricing
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 explains how an FRA quote links discount factors at the start and end of its accrual period, and how that relationship can extend a short end Euribor curve. Under simple accrual, the forward rate and tenor determine the ratio of the two discount…

Fixed incomeFuturesStatistics
Quant Q&A

The document describes a way to create synthetic forward rate agreement exposure using Eurodollar futures. Its example combines a long position in a contract expiring in 120 days with a short position in one expiring in 30 days to represent exposure to a…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document considers how to hedge a borrowing cost that floats with the federal funds rate plus a lender margin, when swaps are unavailable. It discusses short positions in two-year Treasury futures and federal funds futures, and suggests Eurodollar…

FuturesFixed incomeRisk 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
Quant Q&A

The document explains that a futures contract’s fair value can itself move as market expectations change. For equity index futures, uncertainty about future dividends and the cost or benefit of borrowing the underlying can shift the estimated fair value, so…

FuturesEquitiesCommoditiesDerivatives pricing
Quant Q&A

The discussion distinguishes the relationship between spot and futures prices from a claim about which price must drift toward the other. At expiry, the futures price equals the spot price, but that convergence condition does not determine the direction of…

FuturesEquitiesArbitrage
Quant Q&A

The note addresses how to estimate Treasury futures prices under interest-rate shocks when the cheapest-to-deliver bond might change. It explains that the futures price need not be known first to identify the cheapest-to-deliver security. A simplified…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The note outlines risks that can destabilize a leveraged Treasury cash-futures basis trade. It identifies three possible pressures: repo funding costs can surge, futures prices can move through cash prices during a rush for safe assets, and higher volatility…

Fixed incomeFuturesArbitrageRisk management
Quant Q&A

The document discusses adjusting short-term interest rate (STIR) futures rates when calibrating a curve that also uses interest rate swaps. It outlines theoretical approaches based on short-rate models or volatility and covariance estimates, as well as…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses why a standard Black–Scholes implied volatility calculation may fail to reproduce a calculator’s result for Eurodollar options. Its accepted answer says the quoted volatility is based on the implied rate, so the futures price and…

OptionsFuturesFixed incomeDerivatives pricing
Quant Q&A

The document asks whether exchange-traded short-term interest rate futures and their options have a standard modeling framework comparable to SABR extensions of the Libor Market Model used for over-the-counter derivatives. Its focus is the difference between…

FuturesOptionsFixed incomeVolatility
Quant Q&A

Brazilian One-Day Interbank Deposit futures reference the local interbank rate and settle financially. No deposit or other asset changes hands; instead, positions receive or pay daily cash adjustments based on the change in a contract unit price, adjusted…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains a simplified way to estimate the adjustment between short-term interest rate futures and cash rates. The quoted approach compares a futures-implied rate with a reference rate derived from a swap curve; the observed difference is treated…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains how Treasury bond futures settlement relates to the economics of delivering a bond. The question contrasts closing a short futures position, where the contract multiplier translates a price move into mark-to-market profit or loss, with…

FuturesFixed incomeDerivatives pricingArbitrage
Quant Q&A

The document asks how to reproduce TradingView’s Pivot Points High Low indicator for use in code. The replies describe a standard pivot approach: scan a rolling window and mark its middle observation as a high pivot when it is the maximum, or as a low pivot…

Technical indicatorsEquitiesFutures