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

Search the library

5,701 documents

Quant Q&A

The document answers how to obtain interest-rate and Treasury yield data for analysis in R. It points to the Federal Reserve Bank of St. Louis economic database, which provides many rate series and can be accessed through the quantmod package. The example…

Fixed incomeUS marketsStatistics
Quant Q&A

The document explains how to price a floating interest rate payoff when its payment date differs from the end of its accrual period. It frames the price under a payment-date forward measure, then changes to the measure associated with the accrual end date.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document identifies Bloomberg’s EUR swap curve as the counterpart to its USD swap curve, explaining that both are built using comparable instrument sets and curve construction methods. The curves can be formed with or without OIS discounting. It points…

Fixed incomeDerivatives pricingForex
Quant Q&A

The document explains how to calculate accrued interest on an overnight indexed swap’s floating leg before the accrual period ends, when the final cash flow is not yet known. Accrual is based on compounding the overnight rates observed so far: each rate is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

This answer shows how to infer a constant default intensity from a CDS spread by building the contract’s expected premium and protection cash flows over time and solving for the intensity that makes their present values balance. It includes accrued premium…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

This exchange clarifies a local relationship between normal and lognormal implied volatility when both models are used to represent the same option prices. The question presents a conversion factor involving the forward or spot level and moneyness, then asks…

OptionsVolatilityDerivatives pricingFixed income
Quant Q&A

This exchange explains a sign error in valuing a floorlet with the Bachelier normal model. The question uses the call-style payoff expression with the forward rate above the strike, producing a premium far larger than the Bloomberg value. The accepted answer…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

This exchange explains why a bond trading below par can rise toward its redemption value as maturity approaches without its credit spread narrowing. The spread compares the risky bond’s yield with a risk-free reference yield of similar maturity; it is not…

Fixed incomeStatistics
Quant Q&A

The document asks how to revise the non-default outcomes in a credit rating transition row after new information changes the estimated default probability. It presents three candidate relationships between the original and revised probabilities, each…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks whether portfolio concentration by region or industry can serve as a proxy for general wrong-way risk (GWWR). It defines GWWR as a relationship in which broad market factors both increase exposure and raise a counterparty’s probability of…

Risk managementFixed incomeDerivatives pricingPortfolio construction
Quant Q&A

The document considers how to encode credit ratings as categorical features when the distance between rating notches may not be linear. It notes ordinal encoding as a common approach and mentions probit, logistic, and exponential transformations as…

Fixed incomeMachine learningStatistics
Quant Q&A

The document discusses data choices for studying covered interest parity (CIP) across currencies when general collateral repo rates at term maturities are difficult to obtain. It explains that short-dated, high-quality government bonds and reverse repos can…

Fixed incomeForexArbitrageRisk management
Quant Q&A

The document responds to a request for monthly US Treasury bond return histories extending earlier than commonly used benchmark indices. It identifies the Bloomberg US Treasury Index as having history back to 1973 and points to Ibbotson SBBI five-year and…

Fixed incomeUS marketsStatistics
Quant Q&A

The document explains why pricing models need dates converted into year fractions. In Black–Scholes or Monte Carlo pricing, an option’s pricing date and expiry must be expressed as a time to maturity using a day-count convention. Swaps can use different…

Derivatives pricingOptionsFixed income
Quant Q&A

The document considers how to rank live bonds using predicted default probabilities from a classifier trained with matured bond outcomes. It questions an individual-bond score that takes the logarithm of a return-to-default-probability ratio. The response…

Fixed incomeMachine learningRisk managementStatistics
Quant Q&A

The document discusses ways to estimate corporate probability of default from company financial statements or internal credit ratings. It mentions structural approaches such as the Merton model, accounting-based scores such as Altman’s Z and Ohlson’s O, and…

Fixed incomeStatisticsRisk managementMachine learning
Quant Q&A

The document explains how to infer expected policy-rate changes from an overnight indexed swap curve when a market lacks meeting-date futures. The proposed approach builds a curve whose nodes fall on policy decision effective dates, with overnight forward…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains how IMM dates are applied to interest-rate swap periods and related fixing dates. For swaps, periods begin and end on the third Wednesday of each quarter, adjusted to the following business day when necessary. These adjusted dates…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion asks whether government bond yields or swap rates better represent future short-term interest rates when the swap–bond basis is negative. It outlines possible market pressures on each side: liability hedging and cash constraints may increase…

Fixed incomeFuturesMarket microstructureRisk management
Quant Q&A

The discussion asks what market variable should serve as the input to a variance-covariance matrix for a portfolio of credit derivatives such as credit default swaps. The answer recommends basing risk statistics on observable market quantities. For traded…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

This discussion interprets a corporate bond portfolio’s relative weights across short, medium, and long maturity buckets alongside credit-curve movements. Overweight positions in shorter and intermediate buckets, with an underweight in the long bucket, are…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The discussion addresses why IFRS 9 expected credit losses are discounted using the effective interest rate (EIR), rather than treating the calculation as a fair-value valuation discounted at a market rate. The answer distinguishes assets measured at fair…

Fixed incomeRisk managementStatistics
Quant Q&A

The document explains why swaps manually priced from a QuantLib curve may fail to reproduce the market quotes used to build that curve. In the example, the discrepancies arise because the manually constructed swaps do not exactly match the swap rate helpers’…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document addresses how to obtain bond prices for calibrating a Hull–White interest-rate model when historical yields are available but historical prices are needed. It points to public, machine-readable reporting of some EU bond quotes and trades…

Fixed incomeDerivatives pricingMarket microstructure