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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

4,613 documents

vn.py community

This forum exchange concerns changing a Turtle-style CTA strategy from a fixed number of contracts to dynamically calculated trade size based on risk. A user reports editing the strategy code through a backtest interface but seeing results continue to use…

FuturesBacktestingPosition sizing
MQL5 code base

This trading-platform script creates pending limit orders from horizontal chart lines named for entry, stop-loss, and take-profit levels. It supports up to four numbered orders. If an order omits an entry or stop-loss line, the script can inherit that level…

ExecutionPosition sizingRisk managementForex
FMZ forum

The document presents a proposed one-minute crypto strategy using moving-average crosses to open and close long or short positions. Long entries require a fast-over-slow cross alongside upward slope and alignment filters; short entries reverse those…

CryptoTechnical indicatorsMomentumPosition sizing
MQL5 code base

This strategy pairs a set-and-forget approach with anti-Martingale position sizing. The stated idea is to place pending buy-stop and sell-stop orders at specified levels, then increase position size as trades move favorably or after a win. It is presented as…

ForexPosition sizingExecutionRisk management
MQL5 code base

This strategy trades CHF/USD once a week, on Monday, using the opening price of the 9:00 Belarus-time hourly candle and the previous hour's typical price, calculated from its high, low, and close. It buys when the new candle opens above that reference and…

ForexTechnical indicatorsPosition sizingRisk management
ProRealCode

This daily S&P 500 strategy combines moving-average trend filters with staged long entries and a short setup. Long entries are allowed when price is above a rising 125-day average but below a 14-day average; the system can add contracts when price is above a…

FuturesUS marketsTrend followingTechnical indicators
FMZ forum

This document introduces a digital-asset trading library that combines an existing spot-trading template with futures support for OKCoin and BitVC. Its main teaching is operational: futures orders require contract selection and position-aware handling that…

CryptoFuturesSpot marketsExecution
MQL5 code base

The document describes an automated strategy built around a head and shoulders pattern. It defines confirmation as a decline from the third peak below the lowest intervening valley. The EA draws trend lines using fractals and combines the pattern with two…

ForexEquitiesTechnical indicatorsRisk management
MQL5 code base

This Expert Advisor uses four user-positioned chart lines to trigger buy, sell, and close actions. A trade action occurs when the quoted market crosses the corresponding line, with the description specifying the ask moving above it while the bid is below.…

ExecutionTechnical indicatorsPosition sizingRisk management
SuperMind

This Backtrader example pairs a simple moving average crossover strategy with two sizing approaches. The strategy buys when price crosses above a 15-period simple moving average and sells when it crosses below. A long-only sizer submits a fixed stake for…

EquitiesTechnical indicatorsPosition sizingBacktesting
MQL5 code base

This brief description explains a simple position-sizing calculator for MetaTrader 5. The user supplies a desired risk as a percentage and a stop distance in pips, and the indicator returns a lot size intended to fit those inputs. The document therefore…

ForexRisk managementPosition sizing
vn.py

This guide explains a configurable pre-trade risk engine that checks orders before they are sent through a trading API. Rules can be enabled in a JSON settings file and include symbol blacklists and whitelists, order size and value caps, cancellation limits,…

Risk managementExecutionPosition sizing
MQL5 code base

This strategy uses the highest and lowest prices over a configurable number of recent bars to choose a trade direction. If the current bar sets the lookback high, it opens a buy; otherwise, it opens a sell. The premise is that prices often revisit recent…

BreakoutMean reversionRisk managementPosition sizing
SuperMind

This stock screen combines a metaverse-concept filter with a simple price condition: the current close must be above the previous session’s low. It also excludes Beijing-listed A shares. The document gives corresponding indicator logic and a Python example,…

EquitiesChina marketsTechnical indicatorsPosition sizing
MQL5 code base

The document outlines an automated trading system for MetaTrader 5 that uses RSI thresholds to identify mean-reversion entries. Its default overbought and oversold levels are 80 and 20, and it detects threshold crossings as signals. An open position is…

Mean reversionTechnical indicatorsRisk managementPosition sizing
Lumibot

This strategy uses a public disclosure page as a signal for trading stocks or exchange-listed units. A research agent retrieves the page and checks when it was published; the strategy proceeds only when the disclosure predates the trading session and reports…

EquitiesEvent-drivenPosition sizingRisk management
MQL5 code base

This description outlines a forex expert advisor built around a single 20-period moving average. It is presented for major currency pairs and multiple chart time frames, and the text says its decisions use the open price of the current candle. The listed…

ForexTechnical indicatorsTrend followingPosition sizing
SuperMind

This stock-selection idea screens for Chinese companies associated with robotics, with turnover between 3% and 12%, circulating market capitalization below 10 billion yuan, and a pattern of rising lows. The post presents the criteria as a way to combine…

EquitiesChina marketsTechnical indicatorsPosition sizing
FMZ forum

This note argues against holding losing positions merely to avoid realizing a loss or repeatedly adding to them to lower the average cost. It frames a planned trade around four decisions made before entry: the entry level, stop-loss, profit target, and…

Risk managementPosition sizing
MQL5 code base

PricerEA is described as a trading utility for placing stop or limit pending orders at user-selected prices. It can calculate the lot size for each order automatically and can apply a trailing stop after a pending order is triggered; trailing stops are…

ExecutionPosition sizingRisk management
MQL5 code base

The document describes a MetaTrader 5 expert advisor that combines filtered momentum entries with a grid and hedge recovery system. Its entry rules use a Z-score, multi-timeframe trend alignment, a zero-line crossover, and a minimum slope; an overextension…

Technical indicatorsMomentumGrid tradingRisk management
MQL5 code base

This Expert Advisor uses a Bezier indicator’s color change at bar close to generate trade signals. It follows the indicated trend and increases position volume when open profit, measured in points, passes a threshold set in the EA inputs. A position comment…

ForexTrend followingPosition sizingBacktesting
BigQuant

This Chinese equity screening strategy ranks stocks using cross-sectional measures of circulating market capitalization, closing price, and earnings per share, then combines the ranked factors into a total score. Its stated filters exclude special-treatment…

EquitiesFactor investingBacktestingPosition sizing