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

20 documents

Zipline

This documentation explains how Zipline organizes risk and performance measurements for algorithm simulations. A metrics set defines which values a backtest tracks, and its metrics can report at different frequencies. The default set includes examples such…

BacktestingRisk managementStatistics
Zipline

This release note describes changes to Zipline, a Python framework for running algorithmic trading systems. It adds command-line and IPython notebook ways to execute algorithms, plus a history function that supplies rolling market data to a strategy. The…

BacktestingRisk managementPosition sizingExecution
Zipline

This release note describes changes to Zipline 1.4.0, a quantitative research and backtesting platform. It removes implicit downloads of treasury and benchmark data, replacing benchmark retrieval with user-supplied files or instruments, or an option to run…

EquitiesMulti-assetBacktestingStatistics
Zipline

This example describes a simple moving-average trend strategy for Apple shares. It calculates 20-period and 40-period exponential moving averages from a 40-day history of daily prices. When the shorter EMA is above the longer one and the algorithm is not…

EquitiesTrend followingTechnical indicatorsBacktesting
Zipline

This tutorial explains Zipline’s event-driven structure for writing and running trading algorithms. A strategy defines an initialization function for persistent state and a handler that runs on each market event, where it can read current or historical…

BacktestingExecutionTechnical indicatorsEquities
Zipline

These release notes describe changes to a quantitative trading and research platform. Pipeline additions include grouped ranking, filters that test conditions across lookback windows, and several technical factors such as Aroon, fast stochastic, Ichimoku,…

Technical indicatorsStatisticsRisk managementFutures
Zipline

This guide explains how Zipline data bundles package pricing history, corporate-action adjustments, and asset metadata for backtesting. It covers listing available bundles, ingesting a data source, choosing a specific ingestion by timestamp, and cleaning up…

BacktestingEquitiesExecution
Zipline

This reference catalogs Zipline’s strategy and backtesting interfaces. It covers algorithm setup, market data access, scheduling, asset lookup, order placement and cancellation, and trading controls such as limits on leverage, order count, order size, and…

BacktestingExecutionRisk managementTechnical indicators
Zipline

This small Zipline example selects Apple shares during initialization and configures per-share commission and volume-share slippage. On every data callback, it submits an order for ten shares and records the current share price. The example therefore…

EquitiesExecutionBacktestingRisk management
Zipline

This notebook demonstrates how to use Alphalens to compare a deliberately non-predictive factor with a deliberately predictive one. It uses a universe of large-cap stocks with sector labels and daily opening prices. The baseline factor ranks stocks by their…

EquitiesFactor investingBacktestingStatistics
Zipline

This release note describes Zipline changes relevant to building and running quantitative backtests. The main development is broader futures support alongside equities, including futures slippage and commission models, configurable continuous-futures…

FuturesEquitiesBacktestingExecution
Zipline

This beginner tutorial explains Zipline’s event-driven structure for algorithmic trading simulations. An algorithm defines initialization and per-event data handling functions, using a persistent context to store state and a data object for current market…

EquitiesBacktestingMomentumTechnical indicators
Zipline

The document implements Online Portfolio Moving Average Reversion (OLMAR), a portfolio strategy that adjusts asset weights using relative moving-average prices. For each stock, it divides the window’s average price by the current price, then compares each…

EquitiesMean reversionPortfolio constructionBacktesting
Zipline

This release note describes changes to Zipline, a Python framework for algorithmic trading. It introduces the history API for retrieving prior bar data, early support for Quantopian-style algorithm scripts, new data sources, and a BMF&Bovespa trading…

StatisticsRisk managementBacktestingExecution
Zipline

These release notes describe Zipline 1.0's simulation redesign and new backtest workflows. Simulations request data as algorithms need it through a portal, while daily or minute timestamps drive the simulation clock. The release also introduces data bundles…

BacktestingEquitiesTechnical indicatorsStatistics
Zipline

This document introduces Zipline Reloaded, a Python event-driven framework for testing trading algorithms. It describes using historical market data, running a strategy across a date range, and saving performance output for later analysis. The worked example…

BacktestingEquitiesTrend followingTechnical indicators
Zipline

This Zipline example runs a daily algorithm over Apple data from 2014 through 2018. At each data point, it places an order for ten shares and records the current Apple price. The setup specifies per-share commissions with a minimum trade cost and…

EquitiesUS marketsBacktestingExecution
Zipline

This release note describes Zipline 0.8.4, a set of updates to an algorithmic trading research and simulation framework. Pipeline gains an earnings calendar, factors for trading returns, average dollar volume, and exponentially weighted averages and…

EquitiesEvent-drivenVolatilityTechnical indicators
Zipline

A trading calendar defines an exchange’s sessions, timezone, opening and closing times, and holiday schedule. Session labels represent trading days rather than precise instants. These details matter when a strategy places orders or evaluates prices: a…

BacktestingEquitiesCrypto
Zipline

This release note describes changes to Zipline that affect strategy research and backtesting. It adds a daily pre-market callback and more flexible scheduling, including calls tied to market time and early closes. History data can expand as requested, and…

FuturesBacktestingRisk managementPortfolio construction