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

104 documents

QuantStart

The article compares Windows, macOS, and Ubuntu/Linux as environments for quantitative trading research and deployment. It frames the choice around the user's research workload, preferred tools, need for automation, and comfort with command-line work.…

Machine learningBacktestingExecution
QuantStart

The document explains the Position component in an early event-driven trading system. A position records buys and sells, average prices, commissions, cost basis, net exposure, and realized and unrealized profit and loss. The broader design separates this…

EquitiesPortfolio constructionRisk managementPosition sizing
QuantStart

The article develops an object-oriented framework for generating synthetic correlation matrices as an initial component of a tool for creating correlated financial time series. An abstract base class defines a common generation interface so different models…

StatisticsPortfolio constructionBacktestingMachine learning
QuantStart

The article introduces serial correlation, also called autocorrelation, as dependence between observations at different times. It reviews expectation, variance, covariance, and correlation, then explains why correlation is a normalized measure of linear…

StatisticsMean reversionPairs tradingBacktesting
QuantStart

The article explains an event-driven backtesting design that separates a lean Portfolio class from a PortfolioHandler. The Portfolio stores cash and positions, updates position values after transactions, and calculates portfolio cash, equity, and realized…

BacktestingPortfolio constructionRisk managementExecution
QuantStart

This June 2020 update reports several releases of the QSTrader backtesting engine. Its main technical change was an overhaul of portfolio, position, transaction, and simulated broker components to support short selling. The platform moved from long-only…

BacktestingPairs tradingMean reversion
QuantStart

The diary entry describes an early event-driven forex system and its roadmap toward more realistic trading and backtesting. It identifies components already present, including price streaming, signal generation, order execution, local portfolio replication,…

ForexBacktestingExecutionRisk management
QuantStart

The document explains why no single programming language is best for every algorithmic trading system. Language choice follows system requirements: research and backtesting, signal generation, portfolio construction, risk management, and order execution have…

BacktestingPortfolio constructionRisk managementExecution
QuantStart

This article describes a mean-reversion strategy trading the spread between TLT, a long-duration Treasury ETF, and IEI, an intermediate-duration Treasury ETF. A recursive Kalman filter estimates a time-varying linear relationship between the pair, along with…

Pairs tradingMean reversionFuturesFixed income
QuantStart

This article describes a directional S&P 500 strategy that refits a return model on a rolling window, forecasts the next day, and takes a long or short position according to the forecast sign. For each window, it selects an ARMA specification by Akaike…

EquitiesUS marketsStatisticsVolatility
QuantStart

This article explains how to use an annualised rolling Sharpe ratio to monitor whether a trading strategy’s risk-adjusted performance is weakening. It calculates the ratio from excess returns over a trailing year of observations, scaling the…

StatisticsRisk managementBacktestingEquities
QuantStart

This article describes how QSTrader represents brokerage charges in a backtesting system through a FeeModel class hierarchy. An abstract base interface separates commission, tax, and total-cost calculations, allowing implementations to account for asset…

BacktestingExecutionRisk management
QuantStart

This tutorial describes a Mac setup for Python-based market research, recommending the Anaconda distribution for its data science libraries, Conda package manager, and support for isolated environments. It explains how to install the distribution, check that…

EquitiesBacktesting
QuantStart

This tutorial explains how to configure SLURM on a Raspberry Pi cluster so researchers can submit parallel workloads from a login node. It outlines the roles of the control node and computational nodes, shared configuration through NFS, resource allocation…

BacktestingDerivatives pricingHigh-frequency tradingExecution
QuantStart

This article presents a simplified interface for configuring a forex backtest and extending it to multiple currency pairs. A Backtest object is assembled from price data, strategy, portfolio, and simulated execution components, with strategy settings passed…

ForexBacktestingTechnical indicatorsExecution
QuantStart

The article explains the Sharpe ratio as a way to compare a strategy’s average excess return with the variability of those returns. It describes annualizing the measure according to the return sampling interval, using a suitable benchmark, and treating…

StatisticsRisk managementBacktesting
QuantStart

This article compares retail algorithmic traders with institutional quantitative funds across capacity, crowding, market impact, leverage, liquidity, information access, risk oversight, investor relations, and technology. It argues that smaller accounts can…

Risk managementExecutionMarket microstructureBacktesting
QuantStart

This article describes using a Gaussian Hidden Markov Model (HMM) as a risk filter for a simple S&P 500 trend-following strategy. The model is trained on historical SPY adjusted returns to identify latent volatility regimes. A QSTrader risk manager then…

EquitiesMachine learningRisk managementTrend following
QuantStart

This brief update explains why a planned trading-strategy book shifted toward using a more realistic backtesting framework. The author found that transaction costs could materially change the apparent profitability of strategies assessed with simpler…

BacktestingExecutionRisk management
QuantStart

The article outlines a proposed end-to-end system for researching, backtesting, and operating automated trades, initially focused on US equities and ETFs through a brokerage interface. Its architecture separates data ingestion and validation, price and…

EquitiesRisk managementPortfolio constructionExecution
QuantStart

The article describes a daily directional forecasting strategy for the S&P 500, with trades placed in SPY. A quadratic discriminant analysis model uses the prior two daily index returns to predict whether the market will rise or fall. The strategy takes a…

EquitiesUS marketsMachine learningBacktesting
QuantStart

The article lays out a progression for learning financial econometrics, starting with probability and statistics before moving through introductory econometrics, financial data analysis, specialist time-series texts, and current research. It highlights…

StatisticsMean reversionVolatilityBacktesting
QuantStart

The article describes updates to an event-driven forex backtesting system: generating format-compatible simulated tick files, processing daily files sequentially, supporting multiple currency pairs, and plotting equity, returns, and drawdowns. Loading one…

ForexBacktestingExecutionRisk management