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

4,613 documents

Systematic trading blog (Rob Carver)

The document presents risk management as a repeatable cycle: identify important risks, choose measurements, define thresholds and responses, monitor conditions, and reverse interventions when conditions normalize. It distinguishes market, counterparty,…

Risk managementPosition sizingVolatilityStatistics
Systematic trading blog (Rob Carver)

This excerpt introduces a book about trading leveraged products and identifies its intended readers: novice traders, people with limited capital, and traders interested in foreign exchange, contracts for difference, margin accounts, spread bets, or futures.…

Position sizingFuturesForexBacktesting
Systematic trading blog (Rob Carver)

The article examines whether choosing a utility function other than logarithmic wealth justifies using leverage above the Kelly level. It simulates ten-year terminal wealth from Gaussian daily returns with a stated mean and volatility, then compares leverage…

StatisticsPosition sizingRisk managementBacktesting
Systematic trading blog (Rob Carver)

The document outlines the intended scope of a beginner-oriented trading book covering unleveraged instruments such as shares, exchange-traded funds, and cryptocurrencies. Its central educational theme is that trading decisions can combine judgment with…

Risk managementPosition sizingBacktestingTrend following
Systematic trading blog (Rob Carver)

The document lays out a framework for translating a trader's account and risk preferences into position sizes. It separates account size, instrument volatility, the overall risk target, forecast confidence, portfolio breadth, and the conversion from exposure…

Risk managementPosition sizingPortfolio constructionFutures
Systematic trading blog (Rob Carver)

This post examines dynamic portfolio optimisation for a relatively small trading account. It describes a historical backtest setup that estimates instrument correlations and covariance, derives expected returns from existing portfolio weights and risk…

FuturesPortfolio constructionPosition sizingRisk management
Systematic trading blog (Rob Carver)

This outline follows a futures trading system from forecast weights through forecast and instrument diversification multipliers to a final position. It flags choices involved in estimating weights, including pooling across instruments, shrinkage,…

FuturesPortfolio constructionPosition sizingRisk management
Systematic trading blog (Rob Carver)

This document develops a portfolio weighting adjustment for uncertainty in estimated Sharpe ratios. It translates a difference in Sharpe ratios into a difference in expected returns, estimates uncertainty in that difference using the assets’ volatility,…

Portfolio constructionStatisticsRisk managementPosition sizing
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

This introductory guide organizes quantitative trading into four connected areas: finding strategies, testing them on historical data, executing trades through a broker, and managing capital and risk. It sketches mean-reversion and momentum approaches,…

BacktestingRisk managementExecutionPosition sizing
QuantStart

The document explains how an event queue can pass information among the components of an event-driven trading system. A market event marks a new data update and prompts strategy evaluation. Strategies emit signal events with a symbol, time, and direction;…

BacktestingExecutionPosition sizingRisk management
QuantStart

This article presents the Kelly criterion as a way to choose leverage and allocate capital among algorithmic trading strategies to maximize long-run compounded growth. Under its simplified single-strategy assumptions, the recommended leverage depends on…

Risk managementPosition sizingPortfolio constructionBacktesting
QuantStart

This installment in an event-driven backtesting series describes a portfolio component that receives trading signals, creates orders, processes fills, and records positions and holdings over time. Its NaivePortfolio tracks per-symbol quantities alongside…

BacktestingPosition sizingRisk managementExecution
QuantStart

The document demonstrates a systematic monthly rebalancing strategy using SPY for US equities and AGG for investment-grade bonds. It invests 60% and 40% of initial capital, respectively, at the first month end after the backtest begins. At each later month…

EquitiesFixed incomeMulti-assetBacktesting
QuantStart

This article explains the PortfolioHandler component in an event-driven order management system. It separates the Portfolio, which tracks cash and positions, from the handler, which connects portfolio state to strategy signals, position sizing, risk checks,…

BacktestingPortfolio constructionPosition sizingRisk management
MQL5 articles

This practical MQL5 guide describes checks that can help an Expert Advisor respect trading conditions and account constraints. It shows how to enumerate trading and quotation sessions, estimate required margin for market or pending orders, and calculate the…

Risk managementExecutionPosition sizingBacktesting
MQL5 articles

This article explains how to turn a trading idea into a precise specification for a trading robot. It recommends starting with the strategy’s general premise, defining important terms, then documenting separate buy and sell conditions, filters, signal…

BacktestingRisk managementPosition sizing
MQL5 articles

This article extends a context-aware reinforcement learning framework for cryptocurrency trading with a risk management module. In the described two-stage setup, market conditions are classified by trend and volatility so specialized sub-agents can learn for…

CryptoHigh-frequency tradingMachine learningRisk management
MQL5 articles

This tutorial extends trade-level risk controls by treating an Expert Advisor’s open positions on one symbol as a combined basket. It describes aggregating position count, total volume, volume-weighted entry, floating profit and loss including swap,…

Risk managementPosition sizingMean reversionExecution
MQL5 articles

This interview describes a championship Expert Advisor built around moving-average comparisons for entries, with stop-loss and take-profit rules, adaptive money management, and GBP/USD trading. The trader says he chose a one-minute chart for its perceived…

ForexTechnical indicatorsRisk managementPosition sizing
MQL5 articles

This installment of a news-trading series revises an earlier MQL5 economic-calendar database project. It describes using object-oriented inheritance to organize country-specific news data, with a shared base class for event details and derived classes for…

Event-drivenRisk managementPosition sizing
MQL5 articles

This article presents an MQL5 money-management module that adjusts position size as the recent price range expands. It uses a monotonic queue to track rolling highs and lows, describing how each observation is added and removed at most once to achieve linear…

Risk managementPosition sizingVolatilityMachine learning
MQL5 articles

The article describes a feedback mechanism that adjusts an Expert Advisor’s trade volume according to the slope of its balance curve. Before a prospective trade, the system estimates slope from recent closed trades; when the slope weakens, it reduces volume,…

Risk managementPosition sizingBacktesting
MQL5 articles

The article explains how fuzzy logic can soften rigid indicator categories in an automated trading system. Its first example maps ADX trend strength into overlapping weak, average, and strong categories using trapezoidal, bell-shaped, and sigmoid membership…

Technical indicatorsRisk managementPosition sizingMean reversion