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
WonderTrader
14 documents
Alphalens
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 introduction explains why financial prices are modeled as stochastic processes rather than deterministic functions. It reviews the calculus chain rule, distinguishes deterministic and random processes, and introduces Brownian motion through the analogy…

EquitiesVolatilityStatistics
QuantInsti blog

The article surveys ways to choose trade size, beginning with account risk, the amount of capital exposed to loss, and trade risk, the distance between entry and a stop. It contrasts fixed units, fixed dollar amounts, fixed percentages of account value, and…

Position sizingRisk managementPortfolio constructionBacktesting
QuantInsti blog

The article explains why raw datasets need cleaning and transformation before machine learning, with examples framed around trading data. It discusses missing values, outliers, categorical features, inconsistent date formats, and overfitting. Suggested…

Machine learningStatisticsTechnical indicatorsBacktesting
QuantInsti blog

A fill-or-kill order is described as a limit order that must be executed immediately for the full requested quantity or cancelled entirely. It does not permit a partial execution. The document contrasts this behavior with immediate-or-cancel and all-or-none…

ExecutionMarket microstructureFutures
QuantInsti blog

The document introduces live trading as placing real orders in current markets, and distinguishes it from simulated practice. It surveys day trading, swing trading, momentum, breakout trading, and scalping, describing their typical holding periods or entry…

ExecutionRisk managementBacktestingTechnical indicators
QuantInsti blog

The document argues that strategies should be evaluated as components of an investment portfolio, rather than judged only as standalone systems. Standard measures such as CAGR, Sharpe ratio, and maximum drawdown summarize performance but do not show the…

StatisticsPortfolio constructionRisk management
QuantInsti blog

The article explains why implied volatility can vary across option strike prices instead of remaining flat as in the Black-Scholes-Merton model. It attributes the smile partly to real asset returns having more extreme moves than a lognormal model predicts,…

OptionsVolatilityDerivatives pricingStatistics
QuantInsti blog

This project describes a stock pairs strategy that periodically selects candidate pairs based on whether their price spread appears stationary. It estimates a hedge ratio with linear regression, forms a spread, and applies an Augmented Dickey-Fuller test to…

EquitiesPairs tradingMean reversionStatistics
QuantInsti blog

The document introduces the Johansen cointegration test as a way to assess long-run relationships among several time series. It explains that the trace and maximum eigenvalue tests use eigenvalues to estimate the number of cointegrating relationships, and…

StatisticsMean reversionPairs tradingEquities
QuantInsti blog

The document is an outline for a webinar introducing machine learning in quantitative finance. It lists an overview of machine learning and its workflow, features of the Quantiacs toolkit, and a demonstration applying machine learning to futures data. The…

FuturesMachine learningBacktesting
QuantInsti blog

The document describes a simple trend-following system built with linear regression. It introduces ordinary least squares and explains rolling regression as fitting a model repeatedly using a recent window of candles. In the example, the model relates each…

EquitiesMachine learningStatisticsTrend following
QuantInsti blog

The document outlines how to build and tune an indicator-based trading strategy. It explains selecting indicators that fit a trading approach, learning their signals and limits, defining rules, testing parameters on historical data, and monitoring the…

EquitiesTechnical indicatorsMomentumBacktesting
QuantInsti blog

This guide compares free and paid sources of financial data by access method, asset coverage, and availability of intraday, daily, fundamental, and news information. It recommends choosing a provider according to data accuracy, latency, historical depth,…

BacktestingStatisticsEquitiesFutures
QuantInsti blog

This event overview outlines advanced algorithmic trading topics covered in a two-day NSE management program for financial institution leaders and experienced practitioners. Its strategy survey includes high-frequency trading, market making, structural and…

High-frequency tradingArbitrageMean reversionMomentum
QuantInsti blog

Time-weighted average price (TWAP) is presented as an execution approach for dividing a large order into smaller trades scheduled across a chosen period. The article illustrates this with alternative schedules for buying 10,000 shares and notes that varying…

ExecutionMarket microstructureEquities
QuantInsti blog

The article outlines the development of the Fama-French five-factor asset-pricing model from CAPM and the three-factor model. Alongside market, size, and value effects, the five-factor version adds profitability and investment. The article frames these…

EquitiesFactor investingStatistics
QuantInsti blog

This beginner guide explains how to install the TA-Lib Python library across Windows, macOS, and Linux. It recommends using a Conda environment where possible and outlines platform-specific steps, including checking the Python version and system architecture…

Technical indicatorsEquities
QuantInsti blog

This project describes a long-only strategy that seeks to capture overnight price gaps in Indian equities. It enters at the close after a session with a larger true range than the previous session, a positive close-to-open move, and a daily change within a…

EquitiesMomentumVolatilityBacktesting
QuantInsti blog

The article defines market inefficiency as a divergence between an asset’s traded price and its fair value, and links such gaps to crises, earnings information, speculation, and delayed investor reactions. It uses the dotcom boom and the U.S. housing and…

ArbitrageMean reversionEvent-drivenSentiment
QuantInsti blog

Expected Shortfall (ES), also called Conditional Value at Risk, measures the average loss in the tail beyond a chosen Value at Risk (VaR) threshold. The article explains the distinction: VaR identifies a loss cutoff at a confidence level, while ES estimates…

Risk managementStatisticsPortfolio construction
QuantInsti blog

The document outlines a daily sentiment-based strategy for China A-share stocks using posts from recognized financial accounts on Weibo. It proposes collecting posts during the pre-market period, considering four actively discussed sectors, and identifying a…

China marketsEquitiesSentimentExecution
QuantInsti blog

The article presents a simplified Turtle-style strategy coded for equities. It enters long when the close exceeds a recent rolling high and short when it falls below a rolling low, then exits when price crosses a rolling mean. Signals are carried forward to…

EquitiesTrend followingBreakoutBacktesting
QuantInsti blog

The article explains Gini impurity as a measure of class mixing in a decision tree node. It gives the formula one minus the sum of squared class probabilities, then describes evaluating a candidate feature by calculating each resulting branch’s impurity and…

Machine learningStatisticsEquities
QuantInsti blog

The article introduces Bitcoin’s public blockchain, mining, capped issuance, and wallet transactions, then connects these features to ransomware payments and Bitcoin’s appeal as a tradable asset. It frames price as primarily demand-driven and names…

CryptoSpot marketsSentimentVolatility