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

5,701 documents

Quant Q&A

The document challenges the idea that PCA and machine learning are rarely used in trading. It notes that machine learning covers many methods, from linear regression to random forests, and that firms have had varying degrees of success with them. It then…

Machine learningStatisticsFixed incomeEquities
Quant Q&A

The document explains why an uncollateralized OTC derivative can still impose funding costs on a bank, even though the trade itself requires no initial cash. One source is the hedge: the bank may hedge through collateralized interbank trades, and adverse…

Derivatives pricingRisk managementFixed income
Quant Q&A

The explanation frames interest-rate hedging as offsetting the sensitivity of a portfolio’s market value to movements in the risk-free curve. It values a debt instrument by discounting its dated cash flows using factors that reflect rates and other…

Fixed incomeDerivatives pricingRisk managementPortfolio construction
Quant Q&A

The document asks how to calculate the remaining principal on a loan when interest accrues using Actual/360 or Actual/Actual day-count conventions. It contrasts these methods with a 30/360 amortization, for which a level-payment annuity formula can express…

Fixed incomeStatistics
Quant Q&A

The discussion examines whether corporate bond OAS should be adjusted for price or coupon differences when comparing bonds from the same issuer. It distinguishes a bond’s long-term value relative to a credit curve from its short-term trading value, which may…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The note distinguishes quoted bond prices from bond yields. It explains that a U.S. bond price such as 99 1/8 represents 99.125 per 100 of par, while a yield is the discount rate that equates the present value of coupon and principal cash flows with the…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document considers how to define carry for a USD payer swaption with a six-month expiry and a ten-year underlying swap. It questions a simple calculation based on subtracting a short-term LIBOR fixing from a ten-year yield, and whether that spread alone…

OptionsFixed incomeCarryVolatility
Quant Q&A

The document explains how trading in over-the-counter fixed income markets differs from trading listed equities. Rather than relying on one central exchange order book, dealers may maintain their own bond inventories and pricing books, especially for…

Fixed incomeMarket makingExecutionMarket microstructure
Quant Q&A

The note addresses whether Excel’s YIELD function can calculate the yield of an Italian government bond that pays coupons semiannually while its yield convention uses annual compounding. It explains that the bond’s price equation must discount each coupon…

Fixed incomeDerivatives pricing
Quant Q&A

The note gives an econometric rationale for adding lagged versions of predictors to a recession classification model. Its example is the yield curve: an inversion may precede a downturn by many months, so the curve observed earlier can be relevant to whether…

Machine learningStatisticsFixed incomeUS markets
Quant Q&A

The note explains the inverse relationship between a bond’s yield to maturity and its price, then defines Macaulay duration as the cash-flow-weighted average time until payments are received. Under continuous compounding, bond price is the sum of discounted…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document defines an affine term structure model through the relationship between bond yields and model state variables. In the simplest formulation, a zero-coupon bond price is exponential in a maturity-dependent constant and the short rate; taking its…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares overnight index swaps (OIS) and Fed Funds futures as market inputs for estimating interest rates expected around an FOMC meeting. It distinguishes a measure based on recent realized Fed Funds trading from futures prices that reflect the…

Fixed incomeFuturesUS marketsEvent-driven
Quant Q&A

The explanation distinguishes Eurodollar futures from forward rate agreements and interest rate swaps. In this context, Eurodollar refers to futures on a three-month interest rate, though the term can also refer to the Euro–US dollar currency pair. Compared…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The document defines a credit spread from the prices of defaultable and risk-free zero-coupon bonds, then relates default risk to a hazard rate and survival probability. It also introduces a structural company valuation in which equity resembles a call…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document distinguishes basis between curves from the use of OIS discounting and explains how curve differences can affect swap values. It describes basis spreads as rate differences between curves, such as tenors or an interbank curve and an OIS curve.…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to determine the floating coupon schedule and rate calculation for a QuantLib zero-coupon swap. It states that the index tenor controls the spacing of floating subperiods, and demonstrates inspecting a floating coupon’s dates,…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to derive a theoretical 1.5-year Treasury spot rate from the price and cash flows of a semiannual coupon bond, using shorter-maturity Treasury bill yields as earlier spot rates. Each bond payment is valued using the spot rate for…

Fixed incomeStatistics
Quant Q&A

This question describes a QuantLib issue that occurs when a pricing workflow changes the evaluation date to an earlier date after calibrating a hazard curve with UpfrontCdsHelper objects. The reported runtime error says the cash settlement date falls before…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares using an interest-rate level, a log change, a simple percentage change, or a first difference as a regressor alongside stock returns. One answer recommends beginning with the untransformed rate because it is itself a rate, while another…

Fixed incomeEquitiesStatisticsMachine learning
Quant Q&A

The document raises valuation questions for a privately issued, illiquid Indian corporate bond with an amortizing principal schedule and a high coupon. It asks which components belong in a discount yield, how to update valuation over time, how to estimate a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document examines the annualized effective rate for borrowing over a period using backward-looking overnight rates. It presents a formula that compounds each observed annual rate over its applicable day count using simple interest for that accrual…

Fixed incomeStatistics
Quant Q&A

The document presents a curve-building setup intended to help benchmark a spreadsheet model for float-float cross-currency swaps. The question describes importing GBP, USD, and EUR par rates and cross-currency basis quotes, interpolating rates, bootstrapping…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document presents a simplified way to infer default risk from a bond’s credit spread. It relates the spread to loss given default and default probability through the credit triangle: spread is approximately the product of one minus recovery and the…

Fixed incomeRisk managementDerivatives pricingStatistics