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 explains how to hedge the foreign exchange component of P&L from American or global depositary receipts. An ADR position reflects both the local-currency value of its underlying equity and exchange-rate movements. A portfolio can aggregate its…

EquitiesForexRisk managementDerivatives pricing
Quant Q&A

Convertible bond parity compares the value of the shares obtainable on conversion with the bond’s face value. When the stock and bond are quoted in different currencies, the share value must first be converted into the bond’s currency using the relevant…

Fixed incomeOptionsForexDerivatives pricing
Quant Q&A

The document describes how the currency weights in the U.S. dollar index relate to the adoption of the euro. It lists the current basket weights and explains that, before January 1999, the currencies that later formed the euro area appeared separately: the…

ForexUS marketsMulti-asset
Quant Q&A

The document considers whether a trend-following trader should express a signal on a base currency, such as GBP, through several currency pairs rather than through a single pair. The response argues that a basket of terms currencies may better represent…

ForexTrend followingPortfolio constructionRisk management
Quant Q&A

The document considers an embedded equity conversion option in a bond issued by an Indian company. The bond is denominated and repaid in US dollars, while the underlying shares trade in Indian rupees; the conversion price uses a fixed USD/INR rate. One…

Fixed incomeOptionsForexDerivatives pricing
Quant Q&A

The document explains why pricing a plain vanilla foreign exchange option from spot or from the outright forward can lead to equivalent formulations. Garman–Kohlhagen uses spot and domestic and foreign interest rates, while Black–76 uses the forward price.…

ForexOptionsDerivatives pricing
Quant Q&A

The document addresses valuation of a cross-currency basis swap whose two currency legs are collateralized in a third currency. Its example uses Indian rupee and South African rand cash flows with US dollar collateral. The stated procedure is to convert each…

Fixed incomeForexDerivatives pricing
Quant Q&A

The document describes a one-minute foreign-exchange backtest that chooses a trade direction using the next bar’s close. Because that information is unavailable at entry time, the apparent advantage is a look-ahead bias rather than a usable signal. It also…

ForexBacktestingRisk managementExecution
Quant Q&A

The question concerns a spot forex system that uses digital filters and behaves poorly around news releases. Rejecting signals generated within two hours of an announcement has not resolved the issue, because signals shortly afterward can still react to…

ForexTechnical indicatorsStatisticsEvent-driven
Quant Q&A

The document examines why daily returns on a leveraged forex trade can become misleading when calculated as daily profit or loss divided by a small account balance. Its example starts with $40 of capital and shows losses pushing the balance close to and then…

ForexRisk managementPosition sizing
Quant Q&A

The document explains how to locate historical CAD–USD cross-currency basis data for converting USD short-term yields into Canadian equivalents. The question proposes combining CORRA, the spread between a US yield and SOFR, and the CAD–USD basis, but reports…

Fixed incomeForexCarry
Quant Q&A

The document asks how foreign exchange brokers decide whether to hedge a customer’s trades externally or keep the exposure in-house. It describes a proposed distinction: brokers may internalize trades from customers they expect to lose and hedge trades from…

ForexMarket microstructureRisk management
Quant Q&A

The document explains why cross-currency basis swaps exchanging overnight risk-free rates may trade away from zero, despite a theoretical flat-pricing argument based on covered interest parity. It describes a proposed arbitrage: borrow in one currency at its…

Fixed incomeForexArbitrageDerivatives pricing
Quant Q&A

The discussion considers a trading research process that clusters historical intraday observations, such as daily vectors of hourly exchange rates, and then measures the next day's average return for each cluster. A researcher might use the return associated…

Machine learningStatisticsBacktestingForex
Quant Q&A

The document discusses timestamp reliability in free historical data from Gain Capital, especially for combining non-FX instruments or multiple feeds in a backtest. One respondent reports that observations were correctly ordered within individual CSV files…

Market microstructureBacktestingExecutionForex
Quant Q&A

The document answers a request for mathematically rigorous foreign-exchange modeling references that also reflect a practitioner quant perspective. Its recommendations focus on books about pricing FX options, modeling smile risk, and valuing structured…

ForexOptionsDerivatives pricing
Quant Q&A

The document sketches a scalable way for a broker to monitor account equity against maintenance margin across many clients and instruments. Represent each account's positions as a row in a client-by-instrument matrix, and current instrument prices as a…

ForexRisk managementMarket microstructure
Quant Q&A

The discussion considers software requirements for currency arbitrage, including fast market-data updates, processing many combinations, exchange connectivity, account support, and algorithm scripting. The replies caution that FX markets are not generally…

ForexArbitrageExecutionMarket microstructure
Quant Q&A

The document raises a measurement concern for historical tests of covered interest rate parity (CIP). It notes that interbank forward quotes are commonly expressed against the US dollar, with a stated exception, and asks whether inconsistencies between…

ForexArbitrageCarryMarket microstructure
Quant Q&A

The document explores how FX forward points and a known foreign interest-rate curve might be used to infer domestic forward rates. It illustrates the setup with EUR/USD, starting from a spot quote and forward points for several settlement dates, then relates…

ForexDerivatives pricing
Quant Q&A

The document explains that an FX swap carries interest rate exposure because its cash flows can be viewed as borrowing in one currency and lending in another. Changes in rates in the two currencies can alter the value of the locked-in funding terms, so the…

ForexFixed incomeDerivatives pricingArbitrage
Quant Q&A

The document addresses the reverse of the familiar covered interest arbitrage example in which a forward exchange rate is too high. Its GBP/USD illustration explains that when the quoted forward is below the rate implied by covered interest parity, an…

ForexArbitrageCarryRisk management
Quant Q&A

The document compares traditional asset-class risk premia with factor investing and alternative risk premia (ARPs). It frames factors as return sources within established markets, such as equity value, size, momentum, and quality, which may have different…

Factor investingCarryCommoditiesForex
Quant Q&A

The document considers the risks created when hedging a TRY/JPY call option with positions in other currency pairs. One answer observes that expressing the hedge through several currency spots introduces exposure to multiple currencies, and that the original…

ForexOptionsRisk management