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 distinguishes initial margin posting from its later reassessment. It describes initial margin as collateral intended to cover potential closeout costs if a counterparty defaults, with an initial amount posted when a trade is entered. It…

Risk managementFixed income
Quant Q&A

The document explains how to handle the curve handle when bootstrapping a discount curve from overnight indexed swap quotes in QuantLib. An overnight index can be created without a linked curve for this stage because the bootstrap helpers use it to obtain…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how assumed and real recovery rates relate to converting between quoted CDS spreads and upfront amounts. Its answer says the assumed recovery rate is used for quotation conversions: the quoted spread and coupon are mapped to an upfront,…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document discusses moving from a single-factor credit risk model, in which one latent factor represents the economy, to models with multiple risk drivers. Suggested factors depend on the portfolio and available data. For corporate portfolios, sector,…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document explains why a CDS spread depends on its recovery assumption and distinguishes two ways to compare contracts with different recoveries. A rough spread adjustment scales the quoted spread by the ratio of loss given default under the alternative…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document raises a modeling question about estimating product-level credit conversion factors (CCFs) when borrowers’ credit limits change between the observation date and default. It notes that regulatory guidance from the FCA is understood to recommend…

Fixed incomeStatisticsRisk management
Quant Q&A

The document explains why a swap’s floating payments are valued using forward rates and zero-coupon bond prices. Forward rates are implied by today’s yield curve under no-arbitrage pricing; the first period’s forward rate corresponds to the currently known…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

The discussion distinguishes a vanilla forward swap rate from rates inferred from futures or from cash flows paid under a different measure. A forward swap rate paired with its corresponding swap annuity is treated as a martingale under the annuity measure,…

Fixed incomeFuturesDerivatives pricingVolatility
Quant Q&A

The discussion explains how more frequent coupon payments can change a bond’s present value by moving some cash flows earlier. Under a stated setup with fixed coupon rate and a monotonic discount factor, the answer expresses price as the discounted sum of…

Fixed incomeStatistics
Quant Q&A

The document discusses how no-arbitrage is represented in the LIBOR market model (LMM). It raises the question of whether a numeraire can make bond-price processes martingales and where the model’s arbitrage-free construction is justified. The replies…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document introduces practical conventions for a JPY-USD cross-currency basis swap. It describes the usual start lag after trade date, the exchange of notionals at the spot exchange rate set when the trade is executed, and the common convention for…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document presents ways to convert between lognormal Black implied volatility and normal Bachelier implied volatility, a useful distinction in interest rate markets where quoted volatility conventions vary. It gives an approximation attributed to Hagan…

OptionsVolatilityDerivatives pricingFixed income
Quant Q&A

The document compares cleared interest rate swaps with collateralized bilateral OTC swaps, focusing on collateral remuneration and valuation. It explains that cash margin is generally remunerated at an overnight indexed swap rate in both settings, so OIS…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note explains why a QuantLib overnight-index swap helper can generate a one-month curve pillar on October 31 when the valuation date is September 30, even though the overnight index reports its end-of-month flag as false. The cause is the OISRateHelper…

Fixed incomeDerivatives pricing
Quant Q&A

The document considers how to turn forecasts of a logged, differenced bond-yield series back into yield levels. Its example uses a four-period log difference: recovering the next logged level requires adding the forecasted change to the logged yield from…

Fixed incomeStatistics
Quant Q&A

The document explains an example involving a bond trading near its announced call price before redemption. An investor buys the bond and borrows most of the purchase cost; the bond’s coupon accrual exceeds the borrowing cost if it survives until the call…

Fixed incomeArbitrageRisk managementStatistics
Quant Q&A

The document considers how to recover latent returns from reported returns that have been averaged over time, a problem associated with private equity performance data. It describes a state-space formulation in which the hidden state contains current and…

StatisticsVolatilityRisk managementFixed income
Quant Q&A

The document presents a question about the meaning of a discount for an older U.S. Treasury bond. The quoted passage says the bond traded at 60 during 1970 and ended that year above 77, while describing it as available at a large discount. The questioner…

Fixed incomeUS marketsStatistics
Quant Q&A

The document addresses how to estimate annualized volatility for a European swaption, using a 2y5y forward rate as an example. For a historical estimate, it recommends calculating the standard deviation of daily changes in the forward rate and scaling by the…

Fixed incomeVolatilityDerivatives pricingStatistics
Quant Q&A

The document clarifies two S&P sovereign-rating notations. The suffix “u” identifies an unsolicited rating, meaning the rating was initiated by a party other than the issuer or its agents. “SD” means selective default: the agency considers the obligor to…

Fixed incomeRisk management
Quant Q&A

The document explains where distributed ledgers may help parties record information or transfer assets without relying on a mutually trusted intermediary. It describes an Austrian cash-register system in which merchants record and cryptographically link…

CryptoFixed incomeMarket microstructure
Quant Q&A

The document raises a modeling question about predicting credit transitions, such as movement from current status to delinquency or default. It proposes estimating state-to-state probabilities with a logit model or another method that includes covariates,…

Fixed incomeStatisticsMachine learning
Quant Q&A

The discussion asks how traders and modelers should respond when a widely used market rate is manipulated. It challenges the idea that market prices are necessarily correct and observes that valuation models are often calibrated to market inputs, including…

Fixed incomeRisk managementArbitrageDerivatives pricing
Quant Q&A

The document discusses fitting an arbitrage-free Nelson–Siegel term-structure model to observed yields with a Kalman filter and likelihood optimization. The proposed setup uses three yield-curve factors, a maturity-dependent loading matrix, a model-implied…

Fixed incomeStatisticsMachine learningBacktesting