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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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

67 documents

QuantStart

The article compares ways to organize a trading business: managed accounts, commodity trading advisory firms, proprietary funds, hedge funds, and family offices. Managed accounts are presented as a lower-cost way to manage separate client accounts and build…

Risk managementFuturesForexEquities
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 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 article introduces statistical learning as the task of estimating a relationship between response variables and predictor features. A quantitative finance example frames index values as responses and company fundamentals as possible predictors. It…

Machine learningStatisticsEquitiesUS markets
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 defines Value at Risk as a loss threshold for a portfolio over a specified time horizon and confidence level. It explains that VaR can be applied to an individual strategy or a larger portfolio, with the horizon chosen to reflect the time needed…

Risk managementStatisticsEquities
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 introduction to electronic market microstructure explains how market orders and limit orders interact. Limit orders specify a price and quantity, rest in the limit order book, may fill partially, and can be cancelled. Market orders seek immediate…

Market microstructureExecutionHigh-frequency tradingEquities
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

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

This article explains the pricing developer’s role in a systematic hedge fund and how market data is prepared for research and trading. It divides the trading pipeline into pricing and feeds, signal research, and execution, then focuses on building the…

Multi-assetEquitiesExecutionRisk management
QuantStart

This article introduces conditional heteroskedasticity: periods of high return variance can cluster, even when a return series’ ordinary correlogram resembles white noise. ARCH models represent changing variance using past squared shocks, while GARCH models…

VolatilityStatisticsRisk managementEquities
QuantStart

This update describes the progress and planned design of QSTrader, a modular engine for systematic trading simulations. Its working components include broker, exchange, alpha, and portfolio construction models coordinated by an event driven simulation…

BacktestingPortfolio constructionEquitiesRisk management
QuantStart

This tutorial shows how to retrieve daily price data from AlphaVantage, convert nested JSON or CSV responses into Pandas DataFrames, and prepare several ETFs for charting. It explains that API responses may default to a limited history, describes sorting and…

EquitiesCryptoForexBacktesting
QuantStart

The article describes a Python workflow for retrieving historical intraday US equity data from an IQFeed service. It assumes the local IQLink server is running, then connects to its socket, sends a historical-data request specifying a ticker, bar interval,…

EquitiesUS marketsExecution
QuantStart

The article introduces bootstrap resampling and three decision tree ensemble methods. Bagging fits trees to separate samples drawn with replacement and averages their predictions, aiming to reduce the high variance of individual trees. Random forests add…

Machine learningStatisticsEquitiesBacktesting
QuantStart

The article explains how ARMA(p,q) combines autoregressive effects from past observations with moving-average effects from past shocks. It introduces BIC as a more severe penalty for model complexity than AIC, and the Ljung–Box test as a check of residual…

StatisticsEquitiesVolatilityUS markets
QuantStart

The document explains how cointegration can identify a mean reverting relationship between non-stationary asset price series. A linear combination of two series that share a stochastic trend may be stationary; deviations of that combination from its mean can…

Mean reversionPairs tradingStatisticsEquities
QuantStart

The article explains how to distribute a US sector ETF momentum strategy’s parameter sweep across a Raspberry Pi cluster managed with SLURM. It varies momentum lookback windows from 21 to 252 business days and the number of holdings from one to eight,…

EquitiesMomentumBacktestingPortfolio construction
QuantStart

The document explains QSTrader’s basic asset class hierarchy for representing instruments in a backtesting system. A generic base class provides a place for future shared behavior, while the described subclasses represent cash and equities. Cash stores its…

BacktestingEquitiesMulti-assetRisk management
QuantStart

This first-person account describes a typical day in a quantitative developer role at a small trading fund. Work spans monitoring overnight data jobs, diagnosing API or data failures, maintaining tests and deployments, building automated data ingestion, and…

ExecutionEquitiesRisk managementBacktesting