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

5,701 documents

Quant Q&A

The document sets out a Bellman problem for a representative investor in an endowment economy. The investor chooses current consumption, money to carry into the next period, and portfolio shares to maximize discounted expected lifetime utility. The budget…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document explains how Bloomberg ticker suffixes distinguish types of financial instruments when requesting historical data in Excel. It identifies the currency suffix for swap rates, the commodity suffix for futures, and the index suffix for money market…

Fixed incomeForex
Quant Q&A

The document seeks to derive the present value of a fixed payment made at default before a horizon. It begins with an expectation of the discounted payoff conditional on default by the horizon, then gives the default-time density in terms of the hazard rate…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document examines a multiple-choice explanation of yield spread for a coupon bond priced using continuous discounting. It contrasts the bond's yield to maturity with the risk-free spot curve and asks whether yield spread should instead compare the bond's…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks whether a bond’s yield to maturity can be broken into separate yields for two component cash-flow streams. It represents the bond’s present value as the discounted value of total cash flows, with each period’s payment split between…

Fixed incomeStatistics
Quant Q&A

The document explains how to estimate an issuer’s zero-coupon or discount curve when the available instruments are fixed-coupon corporate bonds with uneven maturities. It presents whole-curve approaches such as Nelson–Siegel and piecewise cubic curves, and…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The discussion explains why LIBOR rates for different maturities do not necessarily lie on one interchangeable curve. Lending for a longer period can carry different credit and liquidity exposure than rolling over shorter loans, so rates at different tenors…

Fixed incomeDerivatives pricingArbitrageRisk management
Quant Q&A

The document states the Feller condition for the Cox–Ingersoll–Ross short-rate process: when twice the mean-reversion speed times the long-run mean is at least the squared volatility, the process remains nonnegative and does not reach zero from a positive…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks how to infer the probability of default by year two when only an annual default probability of 8% is given. One answer models survival probabilities as log-linear over time, which corresponds to a piecewise constant hazard assumption.…

Fixed incomeStatisticsRisk management
Quant Q&A

The document introduces the two-factor G2++ short-rate model, in which the short rate combines two mean-reverting Gaussian factors with a time-dependent shift. It notes that the model can reproduce several stylized features of the yield curve, yet may not…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document raises a valuation question about estimating the price of a privately traded loan portfolio when comparable market prices are unavailable. It notes that the weighted average cost of capital formula shown includes an after-tax cost of debt, then…

Fixed incomeRisk management
Quant Q&A

The document outlines a way to solve the final ordinary differential equation arising in a Cox–Ingersoll–Ross model proof. The answer rearranges the equation by completing the square, then separates variables and integrates from the initial value to the…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The discussion explains how to convert a quoted one-month Treasury bill yield into a daily return proxy for CAPM. The proposed conversion compounds the annualized yield over a daily calendar-year fraction, after converting a percentage quote to a decimal.…

EquitiesFixed incomeStatistics
Quant Q&A

The answer shows how to step forward a mean-reverting stochastic process using Euler discretization. At each time step, the next state is formed from the previous state, a drift term that pulls it toward a long-run level, and a random shock scaled by the…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document outlines a curve-construction problem for non-deliverable swaps in emerging-market currencies. The proposed relationship combines a SOFR-versus-local-currency-plus-spread swap with a local-currency-plus-spread-versus-fixed-rate swap. Together,…

Fixed incomeDerivatives pricing
Quant Q&A

The note explains how to represent a bond whose payment at each coupon date is a fixed cash amount, regardless of the payment frequency. In QuantLib’s standard fixed-coupon bond setup, specify the coupon frequency as payments per year and set the annual…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how the market price of risk enters the bond-pricing equation for a Vasicek short-rate model. It outlines a hedged-portfolio argument for deriving a bond pricing PDE, then compares a general short-rate process with the Vasicek…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document addresses whether a discrete discounted cash-flow sum for a futures contract should use the discount factor at the beginning or end of each interval when passing to a continuous-time expression. One response relates the choice of sampling point…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why Yahoo Finance’s 13-week Treasury yield values can differ from the U.S. Treasury’s three-month constant-maturity series. It points to a Treasury methodology note: when market conditions produce negative yields on securities used as…

Fixed incomeUS marketsStatistics
Quant Q&A

The document considers whether bond market price of risk should be constant across maturities, as in a simplified arbitrage-free model, and whether market data could test that relation or reveal arbitrage. The answer emphasizes that observed term premiums…

Fixed incomeArbitrageStatisticsRisk management
Quant Q&A

The document explains why a newly issued version of a credit index may not trade. A new index series typically becomes on the run, while earlier series remain in existence until their contractual maturity as off the run instruments, often with lower…

Fixed incomeDerivatives pricingMarket microstructureEvent-driven
Quant Q&A

The document considers whether 2-, 5-, 10-, and 30-year GBP swap tenors are suitable risk buckets. It outlines PCA of daily swap-rate changes and suggests examining how much variation the leading components explain, how chosen tenors relate to component…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document explains the instantaneous or cash FX rate as the rate for settlement today, distinguishing it from tomorrow (T+1) and spot settlement (typically T+2). Overnight (ON) and tomorrow-next (TN) swaps bridge those settlement dates. Combining the…

ForexDerivatives pricingFixed income
Quant Q&A

The document asks how to construct futures hedge ratios for a spot-starting one-year SOFR interest-rate swap. The example is dated partway through an IMM futures period and proposes using a strip of SOFR contracts spanning the swap tenor. The proposed…

Fixed incomeFuturesDerivatives pricingRisk management