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

4,574 documents

Quant Q&A

The document asks how to estimate credit valuation adjustment and debit valuation adjustment for a portfolio containing long and short FX options. The example assumes both options share an underlying and expiry. The author understands that current…

OptionsForexRisk managementDerivatives pricing
Quant Q&A

The note asks whether an implied volatility surface for INR/USD can be reused for the inverse USD/INR rate. It distinguishes the standard deviations of an exchange rate and its reciprocal, which are generally not equal, from the relationship between…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains a QuantLib FX swap curve setup using forward-point quotes, a spot exchange rate, and a collateral discount curve. It describes a mismatch between input forward points and values reconstructed from the resulting curve when the curve and…

ForexFixed incomeDerivatives pricing
Quant Q&A

The document addresses a sign mismatch in a calculation of the cross-currency dollar basis. The questioner derives an implied dollar interest rate from spot and three-month forward exchange rates, then compares the implied rate with three-month USD LIBOR.…

ForexFixed incomeCarry
Quant Q&A

The document asks how to approximate two path-dependent products with vanilla options: a range accrual note and a foreign-exchange target accrual redemption forward (TARF). It mentions a generic description of range accruals as a sequence of daily options,…

OptionsForexDerivatives pricingVolatility
Quant Q&A

The question examines a polynomial interpolation formula for an FX implied-volatility smile and focuses on its at-the-money value. Using the coefficients and equation from a cited textbook example, the author reports that the reproduced value matches only…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document examines a currency triangular arbitrage example and asks why traversing the exchange-rate loop in opposite directions produces a stated gain of 2.5% one way and a loss of 2.44% the other. The accepted explanation is that percentage gains and…

ForexArbitrageStatistics
Quant Q&A

The document raises a question about whether cross-gamma effects belong in curvature calculations under the Fundamental Review of the Trading Book standardised approach. It describes an FX option whose risk is represented in the two currency legs relative to…

OptionsForexRisk managementVolatility
Quant Q&A

The answer explains how to identify inputs for a European at-the-money currency option using spot FX, implied volatility, and deposit rates. For an option on a currency forward, it first derives the forward level from spot and the interest-rate differential…

OptionsForexDerivatives pricingStatistics
Quant Q&A

The document sets up a quanto put with a fixed exchange-rate conversion in its payoff and describes candidate hedge instruments involving the foreign stock, exchange-rate conversion, foreign cash, and domestic cash. It applies Itô’s lemma to the proposed…

OptionsDerivatives pricingRisk managementForex
Quant Q&A

The response explains the relationship between an outright foreign exchange forward and a spot transaction combined with an FX swap. In the described construction, the spot purchase is offset by the swap’s initial exchange, leaving the same future currency…

ForexExecutionMarket microstructure
Quant Q&A

The note asks why GBP/USD forward quotes rise above spot despite the apparent expectation that the higher-yielding US currency should strengthen. The explanation is covered interest rate parity: forward points reflect the interest-rate differential so that…

ForexArbitrageCarry
Quant Q&A

The note addresses why a cross-currency basis calculation may appear far from zero before the financial crisis. The key correction is to match the interest-rate convention to the contract horizon: for a three-month period, convert quoted annualized rates to…

ForexFixed incomeStatistics
Quant Q&A

The document explains how a corporate issuer can compare bond financing costs in two currencies when each bond is quoted against a different reference rate. The basic comparison is to calculate each bond’s all-in yield, then translate one set of cash flows…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document gives a brief overview of empirical patterns reported in financial returns, particularly in response to a question about intraday equity and exchange-rate data. It notes that return distributions and volatility change over time, returns are…

EquitiesForexStatisticsVolatility
Quant Q&A

This discussion examines the risk exposures of an Australian investor holding a USD-denominated zero-coupon bond. It explains that the bond's AUD value can change with both the AUD/USD exchange rate and US interest rates, because the investor knows the…

Fixed incomeForexRisk management
Quant Q&A

The document asks how currency index formulas select their component pairs and weights, and how to build a dollar index from a chosen set of exchange rates. It supplies example formulas for dollar and euro indexes, then asks how to estimate a constant and…

ForexStatistics
Quant Q&A

The document explains a global macro trade based on the expected narrowing of government bond yield spreads before the euro’s launch. Investors went long higher-yielding Italian or Spanish bonds and short German bunds. As yields converge, bond prices rise;…

Fixed incomeForexArbitrageRisk management
Quant Q&A

The note explains why a EURUSD cross-currency swap can carry sensitivity to the EUR 6-month versus 3-month basis, in addition to USD LIBOR, EURIBOR, and the currency exchange rate. The explanation links the basis exposure to how the EUR leg is built:…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document explains why an FX swap should have zero value at inception under idealized interest rate parity. It distinguishes the spot exchange, which is agreed at the prevailing spot rate, from the forward exchange, whose fair rate reflects the interest…

ForexDerivatives pricingFixed income
Quant Q&A

The answer offers a funding-based explanation for why cross-currency swap basis was close to zero before the 2008 financial crisis. It argues that European banks were structurally short US dollars and used FX swaps to obtain dollar funding. Before the…

ForexFixed incomeArbitrage
Quant Q&A

The document surveys sources that may provide free or sample high-frequency market data for research and training. Suggestions include foreign exchange tick histories, exchange sample files, equity order book data, and reconstructed limit order books. Some…

High-frequency tradingMarket microstructureBacktestingForex
Quant Q&A

The question asks which market variables drive the value of a currency non-deliverable forward (NDF) and therefore belong in a historical simulation VaR model. It expresses the NDF value using the forward exchange rate, strike, domestic discount factor, and…

ForexRisk managementDerivatives pricing
Quant Q&A

The document considers whether changing performance across symbols and weeks might reflect shifts between stationary and nonstationary behavior. Its response recommends testing returns rather than price levels under a weak-stationarity framework, since price…

StatisticsForexEquitiesMachine learning