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

682 documents

FMZ forum

This tutorial introduces FMZ Quant's Blockly visual programming environment through a simple moving-average strategy. It opens a long position when flat and the close is above a 50-period average, opens short when flat and below it, and closes each position…

Technical indicatorsTrend followingEquitiesBacktesting
FMZ forum

The article argues that identifying market turning points consistently is difficult and that missing a small number of the strongest up days can sharply reduce long-term returns. It contrasts steady index exposure with hypothetical timing outcomes in the US…

EquitiesUS marketsChina marketsStatistics
FMZ forum

This document is a broad glossary of machine learning and data mining terms, organized by task. It surveys sampling methods, clustering, classification and regression, model evaluation, probabilistic graphical models, neural networks, deep learning,…

Machine learningStatistics
FMZ forum

This essay draws on Nassim Taleb’s The Fool’s Random Walk to argue that decisions should account for chance, uncertainty, and the role of luck in apparent success. For traders, its central distinction is between counting probabilities and gambling on…

StatisticsRisk managementPosition sizingBacktesting
FMZ forum

This Python-style example outlines a state-based trading loop driven by fast and slow exponential moving average crossovers. While flat, it checks an entry crossover and opens a long position for an upward cross or a short position for a downward cross,…

Technical indicatorsMomentumPosition sizingBacktesting
FMZ forum

This post describes a live trading issue in a Binance BTC/USDT futures bot that uses two configurable EMAs to generate entries. The code enters long when the faster EMA crosses above the slower one and short when it crosses below, checking the second- and…

CryptoFuturesTechnical indicatorsExecution
FMZ forum

This tutorial describes a futures order-following bot that copies changes in a reference account’s long and short positions to additional accounts. It reads the reference account’s positions, tracks long and short quantities separately, and sends…

FuturesCryptoExecutionPosition sizing
FMZ forum

This essay argues that trend following depends on choosing operational rules rather than discovering one universally correct definition of trend. It gives moving-average alignment and the Turtle system’s breakout rule—an upward break above a 20-day high,…

Trend followingBreakoutRisk managementTechnical indicators
FMZ forum

This tutorial explains how to configure a trading platform’s Mail function to send email alerts, using an account balance change notification as its example. It walks through the SMTP server, sender address, generated SMTP credential, recipient, subject, and…

ExecutionRisk management
FMZ forum

This article explains a method for increasing the frequency of observed commodity-futures market updates by subscribing to the same contract through multiple futures-company connections. Its premise is that each feed can deliver updates at different times…

FuturesChina marketsHigh-frequency tradingMarket microstructure
FMZ forum

This essay outlines common reasons a promising backtest may fail in live trading. It recommends checking calculations when returns look implausibly strong, including comparing the account’s initial and current states to derive profit and loss. It also warns…

BacktestingStatisticsExecutionRisk management
FMZ forum

The document argues that traders should treat stop losses as a planned risk-control rule rather than an emotional response to a losing position. It uses the “Alligator Principle” to illustrate why delaying an exit after recognizing a trade is wrong can…

Risk managementPosition sizingEquitiesForex
FMZ forum

The document presents a TradingView Pine strategy that combines a Vegas-style EMA filter with ADX and candle conditions. It enters long or short positions when the corresponding filter conditions are met, the ADX exceeds a threshold, and the candle condition…

Technical indicatorsBacktestingPosition sizingRisk management
FMZ forum

The author frames futures prices through two connected forces: the underlying spot market and the behavior of market participants. Spot supply and demand are proposed as the main influence on longer-term direction, while collective impulses, herding, fear,…

FuturesCommoditiesTechnical indicatorsSentiment
FMZ forum

This overview introduces regression as a way to model relationships between predictors and outcomes, then compares seven techniques: linear, logistic, polynomial, stepwise, ridge, lasso, and ElasticNet regression. It describes common use cases and…

StatisticsMachine learningBacktesting
FMZ forum

A wedge forms when successive price swings fit between converging trendlines that slope upward or downward. The article describes wedges as potential reversal patterns: a falling wedge may break upward, while a rising wedge may break downward. Traders can…

Technical indicatorsBreakoutTrend followingRisk management
FMZ forum

This guide organizes U.S. equity research inputs into five source groups: company filings, investor relations materials, government macroeconomic releases, trading calendars and halt notices, and public checks on brokers or advisers. It treats regulatory…

EquitiesUS marketsBacktestingStatistics
FMZ forum

The article explains trading as the transfer of risk between participants. It distinguishes investors, who buy underlying businesses or assets for long-term value, from traders who trade financial contracts and focus on price. It describes hedging as a way…

Market microstructureRisk managementFuturesForex
FMZ forum

This beginner-oriented guide distinguishes algorithmic trading from quantitative, automated, and high-frequency trading. It describes algorithmic trading as expressing a trading idea in an algorithm that can be tested and then executed manually or…

Machine learningStatisticsBacktestingExecution
FMZ forum

This Pine Script example combines Bollinger Band %B signals with a martingale-style position increase. It calculates %B from a moving average and standard deviation bands, enters long when %B crosses above zero, and enters short when it crosses below one.…

Technical indicatorsMean reversionPosition sizingBacktesting
FMZ forum

This short note raises a basic question about what a probability estimated by logistic regression represents. It contrasts interpreting a prediction as the chance that one particular person succeeds with interpreting it as the expected success rate among…

StatisticsMachine learning
FMZ forum

This article explains triangular arbitrage using three currencies and temporarily inconsistent exchange rates. It first illustrates how to compare a directly quoted cross rate with a synthetic rate derived through two other currency pairs. If the three…

ForexArbitrageHigh-frequency tradingExecution
FMZ forum

This article explains how commissions, fees, taxes, slippage, latency, spreads, liquidity, and market impact can alter a strategy’s backtest results. It contrasts fixed transaction-cost assumptions with linear, piecewise linear, and quadratic models. Fixed…

BacktestingExecutionMarket microstructureRisk management
FMZ forum

This article explains why parameter optimization should favor a broad, stable region of good performance over a narrow peak. A broad region suggests the model can tolerate small parameter changes; a sharp isolated peak may reflect a fit to quirks in…

BacktestingStatisticsRisk managementTrend following