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 examines a transaction described in a book about Enron. It says Enron held futures on its own stock whose gains could not be recognized as profit under accounting restrictions, while it had recorded a mark-to-market gain on RhythmsNet shares.…

EquitiesOptionsRisk managementDerivatives pricing
Quant Q&A

The document explains how to remove the random component from a portfolio made of an option and its underlying stock. Applying Itô’s lemma to the option value shows that the portfolio’s Brownian-motion exposure is proportional to the option’s delta and the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks how to derive risk-neutral dynamics for a dividend-paying asset when the bank account is the numeraire. It outlines the martingale condition for the discounted asset plus accumulated discounted dividends, then applies Itô’s formula and…

Derivatives pricingForexStatistics
Quant Q&A

The document asks whether credit markets have a volatility index comparable to familiar measures for equities and interest rates. Its answer points to four daily implied-volatility measures covering North American investment-grade and high-yield CDX indices,…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document compares QuantLib Greeks for a stylized foreign exchange option with Bloomberg values, focusing on a mismatch in theta. It explains that QuantLib's analytic Garman-Kohlhagen engine reports model theta: the derivative of option value with respect…

ForexOptionsDerivatives pricingRisk management
Quant Q&A

The document considers how to value a fixed-for-floating swap whose floating leg references a rate other than LIBOR, with a CNY example. It explains that the appropriate discount curve depends on the transaction’s collateral terms: for fully collateralized…

Fixed incomeDerivatives pricingChina markets
Quant Q&A

The document asks how Markit defines spot dates for several currencies and how intermediate discount factors enter swap-curve bootstrapping. Its central example is a two-year EUR swap: the coupon schedule needs an 18-month discount factor, while quoted LIBOR…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to price two claims under Black–Scholes: one paying the time integral of the asset price and another paying the squared log of its terminal price. For the integral claim, the answers use discounted risk-neutral expectation and…

Derivatives pricingOptionsStatistics
Quant Q&A

The document asks how to obtain an FX option’s volatility from a surface quoted by delta and tenor. The proposed workflow first reads the at-the-money volatility, determines the option’s corresponding delta, then interpolates the volatility surface at that…

OptionsForexVolatilityDerivatives pricing
Quant Q&A

The document examines whether a European call butterfly, formed from three strikes, must have a strictly positive price under no arbitrage. It warns that subtracting separate lower-bound inequalities does not establish the desired result. One argument uses…

OptionsDerivatives pricingArbitrageStatistics
Quant Q&A

The document asks for free software to price high-dimensional American basket options under the Black–Scholes model using the Longstaff–Schwartz, or least squares Monte Carlo, method. It seeks control over the number of basis functions, simulation paths, and…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document asks how to interpret the Black–Scholes price of a European equity call. It focuses on the formula’s two normal cumulative distribution terms, the stock price, and the discounted strike, and proposes reading the distribution terms as…

OptionsDerivatives pricingStatistics
Quant Q&A

The document shows how to express a structured note’s terminal payoff as a combination of the underlying index and call options. In the example, the payoff follows the index below the principal level, stays flat over an intermediate range, and gains…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains how to translate a credit default swap quote stated in points or as an upfront price into the market standard annual spread, usually expressed in basis points. It identifies the CDS standard model as the conversion method rather than…

Fixed incomeDerivatives pricing
Quant Q&A

This note describes a numerical approach to pricing European and American options under Kou’s double-exponential jump-diffusion model. The implementation uses a Crank-Nicolson time scheme for the partial integro-differential equation, a nonuniform spatial…

OptionsDerivatives pricingVolatilityBacktesting
Quant Q&A

This note outlines a transformation of the Black-Scholes option-pricing equation into a diffusion equation, then asks how to simulate the transformed PDE numerically. It gives the variable substitutions, the resulting heat-equation form, and a transformed…

OptionsDerivatives pricingBacktestingStatistics
Quant Q&A

This note compares three structured foreign-exchange derivatives: snowball, knock-in knock-out (KIKO), and target redemption forward (TRF). It describes shared features, including periodic settlements and limited potential gains paired with potentially large…

ForexDerivatives pricingRisk management
Quant Q&A

The discussion clarifies how to calculate the floating and fixed cash flows on an overnight indexed swap. The fixed leg is generally a simple interest amount under the applicable day-count convention, rather than a compounded notional repayment. For the…

Fixed incomeDerivatives pricingFutures
Quant Q&A

The discussion asks whether EU Emissions Trading System allowance prices can be projected from spot prices using a single discount rate or another market-implied method. The responses point to policy risk as a reason forward prices may sit below expectations…

CommoditiesFuturesDerivatives pricingEvent-driven
Quant Q&A

The document identifies a stochastic volatility specification in which the asset follows geometric Brownian motion while volatility is the exponential of an Ornstein–Uhlenbeck process. The log volatility mean-reverts, and its driving Brownian motion may be…

VolatilityStatisticsDerivatives pricing
Quant Q&A

The document considers a portfolio formed from several contingent claims whose prices depend on one underlying asset. It explains why differentiating the portfolio value as a weighted sum can be misleading: the weights may change over time, but the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document distinguishes the mechanical effect of interest rates on a stock forward price from the broader economic effect of rates on the underlying share price. Under a no-arbitrage carry argument for a non-dividend-paying stock, the forward price is the…

EquitiesOptionsDerivatives pricingArbitrage
Quant Q&A

The document explains how the stochastic discount factor prices a payoff through its expected value and its covariance with that payoff. When covariance is zero, the payoff has no exposure to the priced source of risk represented by the discount factor. Its…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document explains when a cross-currency swap can be viewed as two interest rate swap legs. For a typical physically delivered fixed-for-fixed or fixed-for-floating structure, each currency has its own interest cash flows, and principal exchanges must…

Fixed incomeForexDerivatives pricingRisk management