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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

610 documents

Quant Q&A

The document discusses a quoted 50-year euro swap rate of -0.58% and asks how to interpret the unusually shaped long end of the swap curve. The question notes positive carry for paying fixed and suggests limited liquidity may be influencing long-tenor…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The document questions the cost-of-carry model for commodity futures when storing a commodity today may cost more than obtaining new supply at a later date. It uses oil as an example and asks whether the usual carry-based price should be treated as an upper…

FuturesCommoditiesCarryDerivatives pricing
Quant Q&A

The discussion explains how New Zealand’s trade-date rollover can change the effective trade date of an NZD currency transaction. A Friday trade executed after the rollover may be treated as a Monday trade, making Tuesday a tomorrow-value date and Wednesday…

ForexSpot marketsCarryExecution
Quant Q&A

The document explains that dealers use repurchase agreements to finance Treasury inventories and to support reverse-repo lending to clients. In a repo, a dealer receives cash against securities, while a reverse repo provides cash to a client against…

Fixed incomeMarket microstructureRisk managementCarry
Quant Q&A

The document illustrates how to estimate a future USD/CHF exchange rate from the current spot rate and the two currencies’ one-year interest rates. It grows one unit of each currency at its respective rate, then compares the resulting amounts to infer the…

ForexCarryArbitrage
Quant Q&A

The document asks why institutional portfolios might hold a sizable allocation to short-term fixed-income instruments, such as repo, while also maintaining a similarly sized unfunded position in another asset class. It distinguishes this allocation from cash…

Fixed incomeCarryPortfolio constructionMulti-asset
Quant Q&A

The document discusses how to distinguish high, medium, and low frequency trading, considering both data resolution and how long positions are held. It presents no single accepted threshold: definitions vary among practitioners, and a strategy’s execution…

MomentumCarryVolatilityTechnical indicators
Quant Q&A

The document asks how to infer a fair level for a 3s1s single-currency basis swap from one-month and three-month LIBOR and OIS levels, including how to hedge stub exposure when LIBOR is not directly tradable. The answer cautions that the 3s1s basis does not…

Fixed incomeDerivatives pricingCarryRisk management
Quant Q&A

The document describes a peso carry trade built by buying MXN in the spot market and entering an FX swap that sells MXN spot and buys it forward. The paired spot transactions offset, while the forward leg creates exposure to supplying dollars through the…

ForexCarryDerivatives pricingMarket microstructure
Quant Q&A

The discussion addresses whether shorting a futures contract earns a return simply because its price converges toward spot as expiration approaches. It explains that the futures price difference reflects carrying costs and financing, rather than a separate…

FuturesCommoditiesCarry
Quant Q&A

The note considers how to estimate a bond’s price change from the passage of time, in a context where PV01 is used to approximate P&L from yield-curve movements. The central point is that time passage alone does not define a unique scenario: the calculation…

Fixed incomeCarryDerivatives pricing
Quant Q&A

The document asks whether yield to maturity minus borrowing cost is a reasonable estimate of return for a leveraged bond position that will be sold before maturity. The proposed quote uses the bond’s starting YTM and a fixed annualized funding rate, with the…

Fixed incomeCarryRisk management
Quant Q&A

The document questions whether a bond’s carry, estimated from changes in dirty price and yield, can be used to infer its implied repo rate. The response instead defines implied repo through the cash-and-carry trade: buy the cheapest-to-deliver bond and sell…

Fixed incomeFuturesCarryDerivatives pricing
Quant Q&A

The document explains why carry can be described as zero when interest rates evolve along projected forward rates. It distinguishes two conventions for a deterministic passage of time. In derivatives practice, market variables are assumed to age according to…

Fixed incomeCarryDerivatives pricing
Quant Q&A

The note outlines an approximate way to estimate bond forward prices and carry when the available inputs are government yields by maturity. It proposes treating the observed yields as par yields, so each yield also serves as the coupon rate for a…

Fixed incomeFuturesCarry
Quant Q&A

The document asks whether cash-settled bond futures have a carry effect comparable to that of physically settled contracts. Physical delivery can connect futures pricing to a deliverable bond, making coupon income and financing costs relevant. By contrast,…

FuturesFixed incomeCarryDerivatives pricing
Quant Q&A

The document distinguishes several effects relevant to the daily economics of a bond futures position. Underlying carry and yield roll-down can be estimated from the cheapest-to-deliver bond, including its coupon accrual. Financing is another component and…

FuturesFixed incomeCarryDerivatives pricing
Quant Q&A

The document clarifies the cash-flow direction of an FX swap that sells euros for dollars at the near date and buys euros back at a higher forward exchange rate. Because EUR/USD is quoted as dollars per euro, the higher far-leg rate means paying more dollars…

ForexCarry
Quant Q&A

This document raises a question about why the cheapest-to-deliver Treasury bond shown for a futures contract can change when selecting the first versus last delivery date. The author is comparing implied repo rate with the market repo rate and asks whether…

Fixed incomeFuturesCarry
Quant Q&A

The note explains why repo is treated as the financing cost of a bond, even though a cash lender in a repo receives both interest and bond collateral. It clarifies the usual trading terminology: bidding repo means seeking the bonds, while offering repo means…

Fixed incomeCarryArbitrageMarket microstructure
Quant Q&A

The document outlines a practical estimate for the yield on a US Treasury bond hedged into euros. For a quarterly hedge, the notional is set slightly above the bond’s current value to reflect the expected increase in bond value over the hedge period. The…

Fixed incomeForexCarryDerivatives pricing
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 why expected currency values need not be reciprocal when a currency pair is quoted in the opposite direction. In general, the expectation of an inverse is not the inverse of an expectation, a consequence of Jensen’s inequality. This…

ForexStatisticsCarry
Quant Q&A

The document discusses how to assess fair value estimates for non-US equity index futures before expiry, where the estimate depends on financing costs and expected dividends. It notes that closed foreign-exchange markets can complicate the interest-rate…

FuturesEquitiesCarryDerivatives pricing