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

511 documents

QuantInsti blog

This tutorial explains how Python functions organize reusable operations, covering built-in, user-defined, and anonymous functions. It describes parameters and arguments, returning one or more values, default parameter values, and functions that accept…

Statistics
QuantInsti blog

The document introduces RAPIDS, a set of NVIDIA GPU libraries for data science, and explains the roles of cuDF for dataframe operations, cuML for machine learning, and cuPy for numerical arrays. It outlines system and installation requirements, then…

Machine learningBacktestingRisk management
QuantInsti blog

The article explains mutually exclusive events as outcomes that cannot occur together and contrasts them with independent events, which may occur simultaneously without being related. It uses coin flips to introduce the probability of alternative outcomes,…

StatisticsPortfolio constructionEquitiesTechnical indicators
QuantInsti blog

The article surveys market microstructure as the study of how trading rules and market design shape price formation, liquidity, and execution. It distinguishes quote-driven markets, where dealers or market makers provide quoted prices, from order-driven…

Market microstructureExecutionHigh-frequency tradingMarket making
QuantInsti blog

This article demonstrates simulated AR, MA, and ARMA processes and uses their autocorrelation and partial autocorrelation patterns to explain how model structure appears in data. It describes the Box–Jenkins diagnostic approach: AR processes tend to show a…

EquitiesStatisticsMean reversionBacktesting
QuantInsti blog

The article introduces time series as observations arranged over time and outlines how traders can analyze and forecast such data. It distinguishes univariate from multivariate series and stationary from nonstationary series. Autocorrelation and partial…

StatisticsMean reversionFuturesPairs trading
QuantInsti blog

This article explains a long butterfly spread as a defined-risk options position for an underlying expected to remain near a target price at expiration. The call version combines one lower-strike long call, two short calls at a middle strike, and one…

OptionsVolatilityDerivatives pricingRisk management
QuantInsti blog

This article describes a simple way to test whether website sentiment indicators can inform stock trades. The author collects buy, sell, and hold readings for a stock list by extracting values from a financial portal, then stores them in a data frame or…

SentimentEquitiesBacktestingStatistics
QuantInsti blog

This article proposes a conservative money-management approach that scales position size according to the observed win rate of long and short entries. It first describes Fixed Ratio sizing, which adds contracts only after profits reach a specified amount per…

Position sizingRisk managementStatisticsBacktesting
QuantInsti blog

This tutorial builds a long-short moving average crossover backtest in a spreadsheet using a stock’s historical prices. It calculates short and long simple moving averages, generates buy and sell signals when they cross, records transaction prices, and…

EquitiesTechnical indicatorsBacktestingRisk management
QuantInsti blog

The article contrasts technical analysis with quantitative research in algorithmic trading. It describes technical analysts as using historical market behavior and indicators to form directional signals, while quants build and assess systematic strategies…

Technical indicatorsStatisticsMachine learningBacktesting
QuantInsti blog

This project tests whether adjusting percentage-based take-profit (TP) and stop-loss (SL) levels can improve strategies using simple or exponential moving-average crossovers and RSI signals. For each strategy and market series, it searches TP and SL…

BacktestingTechnical indicatorsRisk managementEquities
QuantInsti blog

The document introduces the Bag of Words (BoW) method for representing text as counts of vocabulary terms. It outlines basic preprocessing and explains how a document collection becomes a matrix in which rows represent documents, columns represent unique…

Machine learningSentimentStatisticsEquities
QuantInsti blog

The document explains how to size positions so instruments with different price volatility make more balanced contributions to portfolio risk. It first distinguishes account capital from notional exposure, including how margin and contract multipliers can…

VolatilityPosition sizingPortfolio constructionRisk management
QuantInsti blog

This tutorial introduces polynomial regression as a way to let a linear regression model represent nonlinear relationships. Using Punjab National Bank price data, it creates lagged closing-price features and binary indicators based on higher highs and lower…

EquitiesStatisticsBacktesting
QuantInsti blog

This article presents coding habits intended to make R projects easier to read, maintain, and repeat. It recommends documenting a script and its sections, loading and checking packages, organizing source files, naming data structures consistently, indenting…

EquitiesBacktesting
QuantInsti blog

This interview follows a quant developer’s move from commodity trading in his family’s business to automated trading and research. It describes building execution and research platforms, and explains how programming helped him explore rule-based trading. The…

ExecutionMarket microstructureForexBacktesting
QuantInsti blog

The article outlines common hurdles for people learning algorithmic trading: reluctance to program, weak mathematical foundations, confusion between technical and quantitative analysis, limited data skills, conflating algorithmic trading with high-frequency…

BacktestingStatisticsTechnical indicatorsHigh-frequency trading
QuantInsti blog

The Parabolic Stop and Reverse indicator places a trailing value above or below price to indicate a possible trend direction and reversal. The article gives its update formula, which moves the prior SAR toward the trend’s extreme price using an acceleration…

Technical indicatorsTrend followingRisk managementBacktesting
QuantInsti blog

The article surveys ways artificial intelligence is being used in quantitative finance, including automated trading, risk analysis, portfolio management, market prediction, fraud detection, and high-frequency trading. It describes how quant work has shifted…

Machine learningRisk managementPortfolio constructionBacktesting
QuantInsti blog

This overview curates Python resources for quantitative and algorithmic trading rather than developing one strategy. The listed topics include market-data retrieval and visualization, technical indicators, VaR estimation, machine-learning classification,…

Multi-assetMachine learningTechnical indicatorsRisk management
QuantInsti blog

The guide describes Dijkstra’s greedy method for finding shortest paths from a starting node to other nodes in a weighted graph. It initializes tentative distances from the source, repeatedly selects the unprocessed node with the lowest current distance, and…

StatisticsArbitrage
QuantInsti blog

The article explains momentum trading as taking a position in the direction of recent price movement and holding it until signs of reversal. Its worked example applies this idea to five-minute BTCUSDT candles: a close above the prior three-candle high…

CryptoMomentumBreakoutRisk management
QuantInsti blog

The article introduces LightGBM, a tree-based gradient boosting method, and explains its leaf-wise tree growth, Gradient-based One-Side Sampling, and Exclusive Feature Bundling. It also describes histogram binning, categorical feature handling, and selected…

EquitiesMachine learningStatisticsBacktesting