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

9,797 documents

Quant course library

This strategy places paired long and short limit orders around the market, then rebuilds the grid after fills using the last filled price and a position-dependent step. It tracks net position and average entry price with a grid position calculator. When…

FuturesCryptoGrid tradingRisk management
Quant course library

The document describes a spread-taking algorithm that waits for valid bid and ask volume, checks that prior orders have finished, and hedges any unbalanced passive legs before initiating another active-leg order. For a long spread, it takes the active leg…

FuturesExecutionMarket microstructureRisk management
Quant course library

The document describes a long and short strategy driven by fast and slow moving averages. It checks crossover conditions using completed-bar values, then opens a position or reverses an existing one. Position size is calculated from current account assets,…

FuturesTechnical indicatorsTrend followingPosition sizing
Quant course library

The document explains a graphical workflow for maintaining historical market data. Users can download data from connected market data services or trading interfaces, import CSV files, inspect stored records, export selected ranges, and delete contract data.…

BacktestingFuturesEquitiesOptions
Quant course library

The document presents a rules-based BTCUSD trading example that derives three directional signals from recent price bars: RSI thresholds, CCI thresholds, and a comparison between fast and slow simple moving averages. It sums those signals and scales the…

CryptoFuturesTechnical indicatorsPosition sizing
Quant course library

This document explains how to represent a multi-leg spread using separate price and trading multipliers. It derives synthetic bid and ask prices from each leg’s best quotes, reversing which side of a leg’s market contributes when its price multiplier is…

FuturesPairs tradingMarket microstructurePosition sizing
Quant course library

This guide explains how to operate live CTA strategy instances: create them with a contract and parameters, initialize them from historical data, start or stop automated trading, and edit or remove instances. Initialization replays bars or ticks to warm…

FuturesExecutionRisk managementTechnical indicators
Quant course library

The document outlines a cryptocurrency futures system that combines MACD direction signals with Bollinger Band breakouts. It proposes opening a long position when MACD forms a bullish crossover with its fast line above zero and price breaks the upper band,…

CryptoFuturesBreakoutMomentum
Quant course library

This lesson contrasts spot trading, where profit generally depends on prices rising after purchase, with futures contracts, which allow traders to open and close positions and use leverage. It explains that leverage reduces the margin needed for a position…

FuturesPerpetual futuresRisk managementPosition sizing
Quant course library

The document describes a two-sided futures grid strategy that places orders on both sides of the market and includes take-profit and stop-loss controls. It presents the approach as most suitable for range-bound conditions or periods of relatively low, stable…

FuturesGrid tradingVolatilityRisk management
Quant course library

This guide explains how to launch a trading workstation through either a graphical interface or a script, connect a simulated futures account, subscribe to contract data, and place manual orders. It outlines how limit and market orders move from submission…

FuturesExecutionMarket microstructureRisk management
Quant course library

This strategy combines a slower trend signal with faster entry and exit rules. It builds 15-minute bars and compares a fast simple moving average with a slow one; their ordering sets the directional trend. On 5-minute bars, it calculates RSI and opens a long…

FuturesTrend followingTechnical indicatorsMomentum
Quant course library

This module describes a real-time radar for calculating derived values from multiple contracts. Users define named rules with a Python mathematical expression and assign contract symbols to formula variables. Incoming tick data for any assigned contract…

FuturesStatisticsMarket microstructure
Quant course library

The document shows how a graphical trading application is assembled from an event engine, a main engine, exchange gateways, and several trading applications. The configured components include strategy execution, backtesting, data management and recording,…

CryptoSpot marketsFuturesBacktesting
Quant course library

This document demonstrates how to turn a backtest’s sequence of fills into completed trade records. It accumulates signed position, traded value, and price-based profit and loss until exposure returns to zero, then derives each trade’s duration, volume,…

BacktestingRisk managementStatisticsCrypto
Quant Q&A

The discussion asks whether manipulation of SPX options or equity and volatility futures caused the February 2018 VIX spike, and what data could help investigate. The response points to volatility-linked exchange-traded products as a possible source of…

VolatilityFuturesOptionsMarket microstructure
Quant Q&A

The document asks how a short-term VIX futures index’s daily roll weights translate into the holdings and cash flows of an exchange-traded product. It uses a dated example with two adjacent futures prices to question how a roll handles a price difference,…

VolatilityFuturesDerivatives pricing
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 discussion explains how the cheapest-to-deliver bond can make a Treasury futures curve trade differ from the yield spread suggested by the contract names. A 10-year Treasury note future may be priced around a deliverable bond with a maturity closer to…

FuturesFixed incomeUS marketsRisk management
Quant Q&A

The discussion addresses whether negative interbank rates should be floored at zero when valuing FX forwards or futures. The answer argues that market participants can lend and borrow at negative rates, so valuations must reflect those rates: replacing them…

ForexFuturesDerivatives pricingArbitrage
Quant Q&A

The post asks how to build a yield curve from three-month interest-rate futures, using Euribor as an example, and whether cubic-spline interpolation is available in Python. It points to a reference on multi-curve bootstrapping and a worked Python…

Fixed incomeFuturesStatistics
Quant Q&A

The document asks whether a forward price for a financial product can be expressed as its current price divided by the price of a zero-coupon bond maturing at the settlement date. The proposed argument uses a conditional expectation under the…

Fixed incomeDerivatives pricingFutures
Quant Q&A

The answer identifies a gas-fired power plant’s spark spread—the relationship between electricity revenue and the gas cost required to generate it—as a central exposure. It describes over-the-counter spread options as a way for a plant operator to hedge this…

CommoditiesFuturesOptionsRisk management
Quant Q&A

The problem describes a seller who observes a sequence of prices for different future delivery days and must choose when to commit to selling. Prices for each fixed delivery date are assumed to follow a martingale. The proposed approach begins with a Bellman…

FuturesStatisticsExecution