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

10,263 documents

Quant Q&A

The document explains why derivative values are calculated using risk-neutral probabilities rather than real-world outcome probabilities. In a one-period binomial model, a replicating portfolio determines a contingent claim’s no-arbitrage price without…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document explains why a bond’s implied spot rate can differ from a rate curve built with a SciPy univariate spline. The bond has two remaining cash flows, and its price and yield-to-maturity equation imply a final-cash-flow spot rate of about 2.8%, while…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

Bond prices reflect more than scheduled cash flows. Even bonds with very low default risk can move as investors change their demand for safe assets or revise expectations for monetary policy. For riskier government and corporate debt, yield spreads over a…

Fixed incomeDerivatives pricingArbitrageRisk management
Quant Q&A

The document asks whether a European option can be priced in a Black–Scholes setting when its payoff depends on a general transformation of the underlying asset. It illustrates the question with a call payoff equal to the positive part of a transformed…

OptionsDerivatives pricing
Quant Q&A

The document presents practical ways to estimate the parameters of the Vasicek short-rate model without relying only on an unconstrained fit to bond prices. One approach discretizes the model into an approximate AR(1) process and matches theoretical and…

Fixed incomeStatisticsDerivatives pricingRisk management
Quant Q&A

The document explains how TIPS can produce a positive nominal return despite a negative real yield, while still failing to preserve purchasing power. At maturity, inflation adjusts principal, but the adjusted payment may not offset the purchase price; the…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document explains how to calculate an FX outright forward rate from spot and broker-quoted forward points. The stated calculation is to add the forward points to spot: for the one-month EUR/PLN example, 3.4550 plus 0.0079 gives 3.4629. The question also…

ForexDerivatives pricing
Quant Q&A

The document asks whether refinancing should be triggered by a simple comparison between lower interest payments and refinancing fees. It presents consumer heuristics for fixed-rate mortgages, including refinancing when market rates fall by a threshold or…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document considers how to speed up repricing American equity options after constructing implied volatility surfaces. It describes the existing workflow of smoothing end-of-day surfaces and applying finite-difference pricing with discrete dividends, then…

OptionsDerivatives pricingExecutionMarket microstructure
Quant Q&A

The document discusses how to choose regression basis functions in the Longstaff–Schwartz least squares Monte Carlo method for valuing American-style options, including real options with multiple risk factors. The question is whether the few Laguerre…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document asks how to define option vega when volatility varies with the underlying asset price, using the CEV form in which local volatility is proportional to a power of the asset price. It contrasts this setting with Black–Scholes, where volatility is…

OptionsVolatilityDerivatives pricing
Quant Q&A

A unilateral extinguisher is a swap portfolio that may be canceled after a credit event affecting one counterparty. Whether it ends depends on whether its mark-to-market value is above a contractually set threshold; a recovery payment may also apply. This…

Derivatives pricingFixed income
Quant Q&A

The document considers a perpetual monthly payment obligation issued in exchange for an initial cash amount, with the issuer able to terminate it after a waiting period by repaying that original amount. It identifies the arrangement with a perpetual bond or…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document derives a Black–Scholes–Merton value for a call-like payoff that is positive when the terminal asset price exceeds the strike and scales with the reciprocal of that price. It rewrites the payoff using an indicator and inverse asset, relating the…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion compares possible ways to track changes in option volatility skew relative to at-the-money volatility. One answer proposes measuring the implied-volatility difference between the strikes where Black–Scholes d2 equals zero and d1 equals zero.…

OptionsVolatilityDerivatives pricing
Quant Q&A

The question sets up a discretized forward-rate model in which each forward is lognormal under its associated zero-coupon bond measure. It derives the resulting normal distribution for the log forward at its fixing date and uses that distribution to motivate…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The answer models an interest rate swap as an asset leg and a liability leg, then expresses generalized duration as the asset value times its duration minus the liability value times its duration. The sign reflects the liability’s negative contribution to…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note contrasts pricing in complete and incomplete financial models. In a complete model, it describes a unique martingale measure and a derivative price given by the discounted expectation under that measure. In an incomplete model, multiple martingale…

Derivatives pricingRisk managementStatistics
Quant Q&A

The note asks how to differentiate a Carr–Madan Fourier integral for option prices with respect to a model parameter. Since the integration limits do not depend on that parameter, the proposed application of differentiation under the integral sign leaves the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The note explains why option prices generated by a stochastic volatility model can imply a volatility smile when those prices are converted using the Black–Scholes formula. Under Black–Scholes pricing with one fixed volatility, the prices of calls across…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document derives the futures price for an asset whose price process and short rate are driven partly by the same Brownian motion. Since the futures price is the expected future spot price, the solution first expresses the integrated short rate as a…

FuturesDerivatives pricingStatistics
Quant Q&A

The document considers the probability that one of two correlated geometric Brownian motion prices finishes above the other, while the lower price also exceeds a threshold. It rewrites the event using shifted Brownian variables as two simultaneous…

StatisticsDerivatives pricingOptions
Quant Q&A

The document derives the variance of a weighted sum of two correlated Brownian increments. For coefficients applied to each increment, the variance includes both individual variance terms and a covariance term determined by their correlation. Since each…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The document explains how derivatives can change a borrower’s practical liquidity and recovery profile even when derivative claims rank equally with senior debt in bankruptcy. Under collateral agreements, a firm may have to post cash or securities as market…

Fixed incomeDerivatives pricingRisk managementStatistics