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

682 documents

FMZ forum

The document shows a script requesting quarterly futures data at a 15-minute interval and passing the resulting records to a MACD function with the conventional fast, slow, and signal periods. It then reports the lengths of the returned arrays and formats…

FuturesTechnical indicators
FMZ forum

This Chinese-language essay argues that futures traders struggle when they confuse short-term counter-moves with the prevailing trend, anticipate reversals, overtrade, or fail to follow a plan. Its central approach is to wait for a trend to become clear, use…

FuturesTrend followingRisk managementPosition sizing
FMZ forum

This article explains how Stochastic RSI applies a stochastic range calculation to RSI values and discusses why implementations can differ across charting platforms and libraries. It identifies RSI as the base series, then describes %K as a normalized…

Technical indicatorsStatisticsMomentum
FMZ forum

This fable illustrates a central Adam Theory lesson: traders can become attached to complex systems and forecasts, even when observed market behavior contradicts them. A trader buys because his indicators predict a rise, then watches prices continue to fall.…

Trend followingTechnical indicatorsRisk management
FMZ forum

The author recounts a path from operating a U.S. day trading business to using automated strategies, then describes seeking higher-growth approaches and purchasing a strategy promoted through a trading community. After the purchased strategy suffered a…

Risk managementArbitrageCrypto
FMZ forum

This tutorial turns a moving average idea into explicit rules for a long and short strategy. It uses a 10-period average as the short-term measure and a 50-period average as the longer trend filter. Long entries require price and the short average to be…

EquitiesTrend followingTechnical indicatorsExecution
FMZ forum

This news report describes an Indonesian central bank warning against selling, buying, or trading virtual currencies and states that Bitcoin and similar assets were not recognized as valid payment instruments in the country. It says the bank, alongside the…

CryptoSpot markets
FMZ forum

This article describes a discretionary futures trend approach that starts with a risk-limited position, adds only after the initial trade is profitable, and holds the position while the trend remains favorable. It recommends waiting for gains of roughly 1.5R…

FuturesTrend followingPosition sizingRisk management
FMZ forum

The article describes a short-term breakout system based on the prior session’s high and low, with the prior close and current open used as contextual prices. A break above the prior high triggers a long entry, and a break below the prior low triggers a…

FuturesBreakoutTechnical indicatorsBacktesting
FMZ forum

The article describes a constant-mix strategy inspired by Claude Shannon: hold equal portions of an asset and cash, then rebalance after large price moves. Rebalancing sells some of the asset after gains and buys after losses, harvesting price fluctuations…

CryptoVolatilityPortfolio constructionBacktesting
FMZ forum

This overview explains how chart patterns may help traders assess the likely direction and scale of a subsequent price move. It divides patterns into reversals, which can signal that the preceding trend is ending, and continuations, which can indicate that…

Technical indicatorsBreakoutTrend following
FMZ forum

The document demonstrates use of a trading platform integration with Deribit futures. Its examples select a contract, retrieve account and ticker information, set trade direction, place buy and sell orders, inspect positions and open orders, and cancel…

FuturesCryptoExecutionPerpetual futures
FMZ forum

The document explains a function that compares two indicator arrays and reports how many recent periods have passed since their lines crossed. A positive result means the first array is above the second after an upward crossing; a negative result means it is…

Technical indicatorsStatistics
FMZ forum

This personal account describes a discretionary trader’s shift toward algorithmic trading after experiencing both gains and losses in manual trading. The author presents automation as a way to implement predefined rules consistently and reduce the time spent…

Machine learningBacktestingTechnical indicatorsRisk management
FMZ forum

This installment explains how to add an execution handler to an event-driven Python backtester. An abstract handler defines an order-execution interface, while a simple simulated implementation converts each order event into a fill event and places it on an…

BacktestingExecutionMarket microstructure
FMZ forum

The document presents a trading system as an operating plan, not just a rule for choosing when to buy or sell. It covers defining the mandate and instruments, selecting a strategy, allocating capital, setting entry and exit rules, sizing positions, and…

Risk managementPosition sizingExecutionPortfolio construction
FMZ forum

The article explains why doubling a position after each loss can appear reliable while carrying ruinous tail risk. It uses lottery and coin toss examples to distinguish an individual’s unlikely streak from the higher chance that someone in a large group…

StatisticsRisk managementPosition sizingGrid trading
FMZ forum

This tutorial groups common errors in algorithmic trading systems into syntax problems, runtime bugs, configuration mistakes, and exchange interface failures. It gives examples such as malformed trading-pair symbols, expired credentials, network timeouts,…

CryptoBacktestingExecutionRisk management
FMZ forum

This tutorial explains dynamic delta hedging for cryptocurrency options, using Deribit options and perpetual futures as its example. It introduces delta, gamma, theta, and vega, then describes offsetting an option position’s changing delta with futures. For…

OptionsDerivatives pricingPerpetual futuresRisk management
FMZ forum

The article introduces arbitrage as offsetting positions in related instruments, aiming to reduce exposure to broad price moves while earning a spread or other income. It describes crypto approaches that may capture differences between spot and futures…

CryptoArbitrageSpot marketsFutures
FMZ forum

The document surveys proposed Transformer applications in quantitative finance, including time-series forecasting, factor analysis, risk estimation, portfolio selection, execution, order-book modeling, and market-manipulation detection. It attributes their…

Machine learningStatisticsBacktestingMarket microstructure
FMZ forum

This article outlines the strategy layer in an event-driven backtester. A strategy receives market bars from a data handler and emits signal events for a portfolio through an event queue. The design uses an abstract base class with a signal-calculation…

BacktestingExecutionPortfolio construction
FMZ forum

The document explains two ways to calculate the average cost of a remaining spot position after partial sales and later additions. Its cash-flow method subtracts cumulative sale proceeds from cumulative purchase outlays, then divides by the units still held.…

StatisticsRisk management