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

Search the library

610 documents

Quant Q&A

The document explains why market participants use overnight repurchase agreements instead of locking in financing for a longer period. A dealer or investor holding Treasury securities can borrow cash against them, using the repo to finance the position.…

Fixed incomeMarket microstructureCarryRisk management
Quant Q&A

The explanation distinguishes the financing economics of general collateral from the securities lending value of a special bond. A repo is presented as a collateralized loan whose interest is embedded in the difference between the purchase and repurchase…

Fixed incomeCarryMarket microstructure
Quant Q&A

The discussion compares using an average exchange rate over the royalty earning period with using the rate at quarter end when royalties are paid in a different currency from product sales. It frames the choice first as a currency risk decision: fixing the…

ForexRisk managementCarry
Quant Q&A

The document describes how to represent a turn-of-month or turn-of-quarter effect in foreign exchange markets. It frames the trade as an FX swap whose near leg falls on the final date of the month or quarter and whose far leg falls on the first date of the…

ForexCarryExecution
Quant Q&A

The question asks how to price a zero-coupon swap in QuantLib after receiving an attribute error for the requested instrument. The accepted reply shows a Python example using QuantLib 1.30: it sets an evaluation date, builds a discount curve from discount…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The answer distinguishes cost-of-carry from roll-down in fixed-income trades. It defines carry as the direct cost or income of holding a position, including financing and coupon cash flows. Roll-down is the mark-to-market change that occurs as a bond moves…

Fixed incomeCarryRisk management
Quant Q&A

The document asks how traders can exploit changes in the difference between futures prices and the underlying cash asset, including how futures roll and carry costs affect the strategy. The response suggests framing this as carry or roll trading, with…

FuturesCarryFixed incomeCommodities
Quant Q&A

The document explains cross-currency basis through the mechanics of funded swaps, in which counterparties exchange notionals at the start and return them at maturity. It distinguishes these transactions from a hypothetical unfunded swap, where coupon…

ForexFixed incomeCarryMarket microstructure
Quant Q&A

The document explains how an investment view favoring the yuan over the Singapore dollar can be expressed through foreign exchange instruments. It notes that onshore CNY convertibility limits direct implementation, so traders may use offshore CNH spot…

ForexDerivatives pricingCarry
Quant Q&A

The document outlines the cost components used to relate an oil spot price to a theoretical futures price. It includes funding, storage, and the cost of removing oil from storage and transporting it to the delivery point. Funding is represented by the…

CommoditiesFuturesCarry
Quant Q&A

The document sets up a short, constant-horizon forward strategy in a contangoed market and asks how rolling positions affects its value. It models exposure across adjacent maturities, imposing both a target effective maturity and a self-financing condition.…

FuturesCarryCommoditiesRisk management
Quant Q&A

The document discusses comparing long basis positions in Treasury futures, using the TU and FV contracts as examples. The questioner considers ignoring option value, compares quoted cheapness in basis points, and asks whether expected profit on a fixed…

FuturesFixed incomeCarryRisk management
Quant Q&A

The document explains why rolling a futures position is associated with a price difference even though the expiring contract’s profit or loss has already been realized. It distinguishes an immediate cash payment from the economic effect of moving exposure to…

FuturesCarryBacktestingDerivatives pricing
Quant Q&A

The document raises a portfolio-hedging question: how to account for correlations between international bond returns and foreign-exchange carry returns when choosing currency hedge positions. It defines the relevant series as asset log returns and carry…

Fixed incomeForexCarryPortfolio construction
Quant Q&A

The document introduces a Black–Scholes view of a European call’s time value: the option price minus intrinsic value. It asks whether this amount can be divided into value from postponing the exercise decision and value from postponing cash flows tied to…

OptionsDerivatives pricingCarry
Quant Q&A

The document explains why currencies and futures can be treated as assets with known yields. The key idea is that an investor can combine a spot position with an offsetting forward or futures position, setting the future sale price in advance. For a currency…

ForexFuturesCarry
Quant Q&A

The document discusses possible reasons systematic factor strategies underperformed across regions and sectors in 2016. The response proposes several market conditions that could have hurt returns. Sharp sell-offs followed by strong rebounds can challenge…

Factor investingMomentumTrend followingCarry
Quant Q&A

The document describes an asymmetry in commodity futures pricing for storable goods. If a future contract is priced far above spot, an arbitrageur can buy the commodity now, pay financing, storage, and insurance costs, and arrange delivery against the…

FuturesCommoditiesArbitrageCarry
Quant Q&A

The exchange offers a starting point for learning how factor strategies are discussed in commodities. It recommends a commodity benchmarking article and suggests studying value and momentum, with a cross-asset factor paper as a reference. It also names carry…

CommoditiesFactor investingMomentumCarry
Quant Q&A

The document asks how a foreign exchange swap with near and far legs, or several value dates, can be represented by a single price. The response explains that FX swap points reflect the interest-rate differential embedded in exchanging currencies across…

ForexCarryMarket microstructure
Quant Q&A

The document explains why different metals can have different futures curve shapes, using copper in backwardation and aluminum in contango as examples. It starts from a cost-of-carry relationship involving financing, storage costs, and convenience yield,…

CommoditiesFuturesCarryDerivatives pricing
Quant Q&A

The document asks why six-month carry on a fixed-floating interest rate swap is divided by DV01 in a cited market-research calculation. The questioner expects carry to be the difference between the fixed and floating legs and is unsure why a risk sensitivity…

Fixed incomeCarryRisk management
Quant Q&A

The document compares two ways to describe carry on a sovereign bond: the difference between its yield and repo financing rate, and the difference between a forward bond yield and its current yield. A five-year, par bond example produces different figures…

Fixed incomeCarryDerivatives pricing