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

4,574 documents

Quant Q&A

The document explains the settlement legs underlying overnight (ON) and tomorrow-next (TN) FX swaps and lists the bid and ask outright calculations. ON spans today’s settlement to tomorrow’s, while TN spans tomorrow’s settlement to the following business…

ForexMarket microstructureExecution
Quant Q&A

The note explains how Bloomberg Excel functions can retrieve a price for a specified time rather than the current quote. It contrasts BDP, which returns current data, with BDH, which can request intraday data over a short interval. Bar settings select trade,…

ForexExecutionMarket microstructure
Quant Q&A

The document answers a question about matching a CFTC Commitments of Traders report code to the futures contract it represents. It identifies code 097741 with Japanese yen futures and points to the standard CME 6J contract as the corresponding market…

FuturesForexUS markets
Quant Q&A

The document asks how to express payoffs for a GBPUSD European option with a knock-in feature and leverage when the contract notional is specified in USD. It describes an upside payoff when the terminal exchange rate exceeds the strike and a leveraged…

ForexOptionsDerivatives pricing
Quant Q&A

The document explores ways to divide price histories into regimes with different trend and volatility characteristics, motivated by subjective segments in a short-interval EURUSD chart. It notes that a single large price bar may be an outlier rather than…

ForexStatisticsVolatilityTrend following
Quant Q&A

The document proposes adjusting constant range bar size dynamically on intraday foreign exchange charts. Unlike time-based candles, range bars form after price moves a preset amount, so their duration varies with market activity. A fixed range may sometimes…

ForexVolatilityTechnical indicatorsStatistics
Quant Q&A

The document explains which interest rates belong in a currency-pair forward value formula. Its AUD/USD example shows that the quoted price is the value of one Australian dollar expressed in US dollars, so the rate for the quote currency, USD, is applied…

ForexDerivatives pricing
Quant Q&A

The document outlines possible models for quanto credit default swaps, whose contingent payments use a different currency from the pricing leg. It says there is no single market standard and describes the main modeling components: a dynamic credit or…

Fixed incomeForexDerivatives pricingVolatility
Quant Q&A

The answer explains how to value a dual-currency bond whose payments are converted into the investor's accounting currency. A cross-currency swap can be viewed as a portfolio of FX forwards in a credit-risk-free setting, but a bond issuer may default before…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document explains how faster access to prices or faster order transmission can create a temporary advantage across markets. A trader who learns that an asset has changed price in one venue may try to trade in another venue before its prices adjust. The…

High-frequency tradingMarket microstructureExecutionEquities
Quant Q&A

The document examines the relationship between GBP/USD and USD/GBP, which are reciprocal exchange rates. Their log returns have equal magnitudes and opposite signs when measured over matching intervals, so their historical volatility, calculated from those…

ForexVolatilityStatisticsDerivatives pricing
Quant Q&A

The document introduces cross-border risks relevant to Brazilian derivatives, distinguishing transferability from convertibility. Transferability risk is the possibility that local rules prevent repatriating assets held onshore, regardless of the currency in…

FuturesForexFixed incomeDerivatives pricing
Quant Q&A

The question describes simulating an FX rate with a Black-Scholes-style process that includes the domestic and foreign short rates, volatility, and correlated random shocks. The simulation’s terminal-rate percentiles appear positively skewed, prompting a…

ForexVolatilityStatisticsDerivatives pricing
Quant Q&A

The document presents the no-arbitrage relationship between foreign exchange spot and forward rates. With the spot quote defined as domestic currency per unit of foreign currency, the forward rate reflects the difference between domestic and foreign interest…

ForexArbitrageDerivatives pricing
Quant Q&A

The document asks whether SABR can be used for foreign-exchange and equity underlyings when beta, estimated from a regression of at-the-money implied volatility against the forward, falls below zero or above one. The responses distinguish parameter fitting…

Derivatives pricingOptionsForexEquities
Quant Q&A

The document considers how to estimate risk-neutral currency depreciation conditional on a sovereign default within a fixed horizon. Proposed approaches include quanto CDS spreads and market-implied quanto factors, broker indications, historical default…

ForexFixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to calculate first-order FX sensitivities when a pricing function’s inputs use one set of exchange rates but the desired risk measures use another. It represents portfolio value as amounts in their local currencies, then converts…

ForexDerivatives pricingRisk management
Quant Q&A

The document distinguishes between an ETF’s actual exposure and a proposed hedge based on oil prices. If an ETF tracks shares of a US oil company, its direct exposure is to those shares; an issuer would generally hold the underlying stock, with a possible…

EquitiesCommoditiesFuturesForex
Quant Q&A

The document explains why a cross-currency swap may appear to have no foreign-exchange exposure in a risk report. The reported EURUSD sensitivity is expressed per pip, so a small value shown with limited decimal precision can round to zero even when the…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document examines a proposed GARCH analysis of USD/JPY daily changes in the high-minus-open range. It transforms that range by taking the logarithm of its ratio to the previous day's range, then fits several GARCH specifications. The original analysis…

ForexStatisticsVolatilityBacktesting
Quant Q&A

The discussion outlines a framework for valuing a cross-currency swap using currency discount curves, FX rates and forwards, calibrated market instruments, and the swap’s cash flows. The example sets up sterling and dollar curves plus a cross-currency curve,…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The document asks how to express a target set of net currency positions using the fewest foreign-exchange pairs while also limiting the absolute size of positions. It illustrates that different combinations of currency trades can produce the same net…

ForexStatisticsPosition sizing
Quant Q&A

The document explains a method for pricing a quanto option when direct quanto quotes may be unavailable. It proposes calibrating an effective volatility from non-quanto options in the domestic currency, focusing on the volatility smile relevant to the…

OptionsDerivatives pricingVolatilityForex