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

33 documents

Quant Q&A

Liquidity depends on the asset class and on how participants access each market. The document compares spot, futures, options, and swaps across currencies, single stocks, equity indices, commodities, and fixed income. It offers a practical framework: there…

Multi-assetMarket microstructureFuturesOptions
Quant Q&A

The document raises a market-structure question: when a futures exchange imposes daily price limits but the underlying spot market does not, can the two prices temporarily diverge? It asks whether that divergence would force a sharp futures adjustment when…

FuturesSpot marketsMarket microstructure
Quant Q&A

The document distinguishes precious metals from foreign exchange when describing spot-price dynamics under a risk-neutral measure. In FX, the domestic and foreign interest rates reflect the ability to invest in short-term sovereign instruments in each…

CommoditiesFuturesSpot markets
Quant Q&A

The discussion asks whether Bitcoin has a quantifiable fair value and how mispricing might be recognized. The answers describe its traded price as an outcome of supply and demand once the market is sufficiently liquid, while emphasizing that speculation is…

CryptoSpot marketsOptionsVolatility
Quant Q&A

The document asks whether reliable foreign-exchange prices are available during the weekend, when conventional spot markets are largely closed. The response cautions that quotes visible during quiet hours can be stale, making them poor evidence of current…

ForexCryptoSpot marketsFutures
Quant Q&A

The document describes the gap risk a broker can face when it immediately hedges a customer's leveraged spot FX trade with a liquidity provider. If the market jumps through a liquidation level, the customer may incur a negative balance that cannot be…

ForexSpot marketsRisk managementExecution
Quant Q&A

The document examines a hypothetical collapse in USDT’s value and considers its consequences for Bitcoin holders and market pricing. It distinguishes direct self-custody, exchange balances, and exposure through financial intermediaries. Self-custody does not…

CryptoSpot marketsMarket microstructureRisk management
Quant Q&A

The document explains what a currency pair position represents, why a newly opened trade can show a loss, and why three pair trades may not automatically leave an account flat. In a spot-market interpretation, buying a pair means acquiring the base currency…

ForexSpot marketsExecutionRisk management
Quant Q&A

The document frames a cash-and-carry trade in a contango market: buy the underlying asset and sell a futures contract. It compares a nearer contract with a higher annualized yield against a later contract that may offer a larger absolute basis. The trader…

FuturesSpot marketsCarryArbitrage
Quant Q&A

The document explains how to calculate account performance when deposits, withdrawals, and currency conversions can occur at any time. It recommends treating the account like a fund: track the number of units outstanding and the net asset value per unit in a…

ForexSpot marketsPortfolio constructionRisk management
Quant Q&A

The document discusses how to construct a daily carry return index for a currency pair and compare it with a vendor index. The proposed approach combines the spot return with the interest earned on the funded currency and the interest cost on the borrowed…

ForexCarrySpot markets
Quant Q&A

The document considers how an industrial electricity buyer might manage purchase-price variability using spot and futures markets. The problem includes electricity’s limited storability and resulting spot-price spikes, futures with monthly, quarterly, or…

CommoditiesFuturesSpot marketsRisk management
Quant Q&A

The document explains the role of a fixed interest component in perpetual futures funding. Funding combines a premium component with an interest-rate component, and its broader purpose is to encourage perpetual prices to track spot prices. The premium…

Perpetual futuresFuturesSpot marketsArbitrage
Quant Q&A

The document answers whether a crypto exchange supports one-cancels-the-other orders for spot positions. It reports that Binance offers an OCO order, which pairs a stop-limit order with a limit order for the same quantity. When one order is filled fully or…

CryptoSpot marketsExecution
Quant Q&A

The document examines why GBTC shares could trade at a premium or discount to the value of the bitcoin held by the trust. It focuses on the creation and redemption mechanism: according to the answer’s reading of the prospectus, only designated Authorized…

CryptoMarket microstructureArbitrageSpot markets
Quant Q&A

The document discusses why gold funds such as GLD, IAU, and PHYS can show different short-term returns even when they are all linked to gold. The response emphasizes that market prices can diverge from underlying value when financial or physical constraints…

CommoditiesSpot marketsFuturesArbitrage
Quant Q&A

The document explains which correlation information to use when simulating one-day spot and futures price paths with a Cholesky decomposition. It frames the simulation in terms of changes in the risk factors, specifically the log returns of spot and futures,…

FuturesSpot marketsDerivatives pricingRisk management
Quant Q&A

The document asks how to set leverage separately for a short-only crypto strategy that trades many coins, holds positions from hours to days, and uses signal-based exits without fixed stops or profit targets. Its central risk is that sharp upward price…

CryptoFuturesSpot marketsPosition sizing
Quant Q&A

The document explains why buyers with resting limit orders may pay different prices when a large market sell arrives. In an order book, the seller’s market order consumes available bids from the highest price downward. Each resting buyer is filled at the…

CryptoMarket microstructureExecutionSpot markets
Quant Q&A

The document explains how to interpret currency pairs and why the written order matters. Under the standard pair convention, the first currency is the base and the quote gives units of the second currency needed to buy one unit of the first. Thus, EUR/USD at…

ForexSpot marketsFutures
Quant Q&A

The document explains the main elements of a Bitcoin price chart. Each candlestick summarizes an interval with its open, high, low, and close: the body spans the open and close, while the wicks mark the interval’s highest and lowest prices. A separate volume…

CryptoSpot marketsMarket microstructureExecution
Quant Q&A

The document explains why futures and spot prices tend to converge at expiry through replication and arbitrage. If a futures contract is mispriced relative to the cost of holding the underlying, traders can buy the cheaper exposure and sell the more…

FuturesSpot marketsArbitrageDerivatives pricing
Quant Q&A

The document explains how a daily close can be assigned to a continuously traded crypto market. It reports that the Yahoo historical price series in question uses CoinMarketCap data, whose daily interval runs from midnight through 23:59 UTC. Historical…

CryptoSpot markets
Quant Q&A

The document describes a timestamp problem in cryptocurrency spot market data: some level 2 order book updates have provider receipt times but no exchange event times. The data also includes trade messages, for which the author expects event identifiers may…

CryptoSpot marketsMarket microstructureStatistics