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

9,660 documents

MQL5 code base

This MQL5 library controls when an Expert Advisor processes incoming ticks. At startup it reads or constructs trading-session schedules for each day of the week, supporting up to ten sessions per day. The example creates a session-control object for the…

ExecutionMarket microstructure
OctoBot

This document explains OctoBot’s evaluator layer, which computes trading signals and routes them to strategies and trading modes. It distinguishes evaluators triggered by closed candles, forming candles, external social feeds, user scripts, and strategy…

CryptoTechnical indicatorsExecutionBacktesting
FMZ forum

This support post describes a reported failure in an automated XRP withdrawal after a Binance maintenance update. The user received an error indicating an unauthorized IP address, although they said the IP remained on the exchange’s allowlist. The original…

CryptoExecutionSpot markets
FMZ guides

This guide explains a key difference between JavaScript and C++ strategies on the FMZ Quant Trading Platform: how API calls signal failure. In JavaScript, a failed ticker request returns null, so a strategy can test whether the result exists before using it.…

Execution
FMZ forum

This guide describes operational details for trading Gate.io perpetual futures through the FMZ platform. It explains that contracts are USD-denominated, BTC-settled, and represented as swaps, and notes the platform’s stated contract value. It also covers…

FuturesPerpetual futuresExecutionRisk management
vn.py community

This support thread documents startup and model-browser failures after configuring AI services in VeighNa Station. Users report that an OpenAI-compatible provider failed during model listing, with errors arising when the client parsed the provider response.…

Execution
SuperMind

This proposed screen targets mainland Chinese main-board stocks classified in the metaverse industry. It ranks candidates by the day’s opening-auction amount, takes the top five, and requires the current price to be more than 1% above the open. A Python…

EquitiesChina marketsMomentumExecution
Lumibot

This legacy LumiBot guide explains how to connect a trading strategy to Interactive Brokers through Trader Workstation (TWS). It identifies the API settings to enable, including ActiveX and socket clients, and says to turn off read-only access. It…

ExecutionOptions
BigQuant

This forum post raises operational problems encountered after submitting previously successful stock strategies for simulated trading. The author reports that some buy instructions appear a day early and are later marked invalid, that incomplete purchases…

EquitiesExecutionBacktestingPortfolio construction
BigQuant

This report summary describes an index-timing model that applies wavelet analysis to filter price series before using a support vector machine to predict direction. It compares daily and weekly data and different model settings for the Shanghai Composite and…

China marketsEquitiesMachine learningStatistics
Lumibot

This guide explains a strategy-level indicator accessor for calculating technical indicators using only market data available at the strategy’s current time. It describes built-in single- and multi-column indicators, Fibonacci retracement levels, and custom…

Technical indicatorsBacktestingExecution
MQL5 code base

This product description explains an MT5 chart indicator for estimating pip value and position risk. For the current symbol, it displays the pip value of one standard lot in the account’s currency and accommodates different quote precisions and several asset…

ForexRisk managementPosition sizingExecution
MQL5 code base

The document explains a position-sizing function that estimates lot volume from a chosen percentage of account balance and the distance to a stop loss. Its stated calculation first converts the risk percentage into an account-currency risk amount, then…

Position sizingRisk managementForexExecution
vn.py community

A user asks why XTP subscription data in a simulated account appears several hours old and updates only intermittently. The response explains that the XTP simulation environment does not provide live market quotes. This distinction helps clarify why a…

ExecutionMarket microstructure
BigQuant

This essay challenges the idea that time in the market reliably produces trading skill. It argues that experience can reinforce poor habits, while trading decisions are better treated as probabilistic choices whose quality depends on having a statistical…

StatisticsRisk managementExecution
MQL5 code base

This MQL5 example shows how to extract MACD values over a chosen date range, identify zero-line crossings, and save each signal with its timestamp in a CSV file. A crossing from below zero to zero or above is labeled as a buy signal; a crossing from above…

Technical indicatorsForexExecution
MQL5 code base

This document describes a read-only MetaTrader 5 diagnostic for sizing a hypothetical trade to a cash-risk budget. It estimates the loss on one lot between an entry and stop with the terminal’s profit calculator, subtracts a user-entered reserve for costs,…

Position sizingRisk managementExecution
BigQuant

The strategy ranks CSI 300 constituents by their return over the first three trading days of each month, measured from the first day's open to the third day's close. If the month has at least four trading days, it buys the ten strongest eligible stocks at…

EquitiesChina marketsMomentumPosition sizing
vn.py community

A user asks whether a live script trading connection through CTP can show historical futures and options contract data. The question cites a CTP interface description that says historical data is not provided. A forum reply says that a live interface…

FuturesOptionsExecution
BigQuant

The post asks why a BigQuant strategy raises a parser error near FROM. Its factor expression defines several intraday features, including a bid-ask spread measure, weighted order-book volume imbalance, early-session price movement, and a volume ratio, then…

EquitiesMarket microstructureTechnical indicatorsExecution
vn.py community

The discussion explains how a VeighNa CTA strategy can retrieve live long and short position records, inspect their average price, volume, and unrealized profit or loss, and use that information to trigger stop orders. It identifies the position lookup key…

FuturesRisk managementPosition sizingExecution
Lumibot

The document explains how to use ThetaData as a historical data source for LumiBot backtests covering stocks and options, as well as other asset types. It supports minute and daily bars directly; hourly bars can be built from minute data. Downloaded data is…

OptionsEquitiesBacktestingExecution
MQL5 code base

This Expert Advisor variation chooses each initial trade direction randomly, opening either a buy or a sell from a random-number draw. It starts with a configured base lot size, while stop loss and take profit can be disabled. The position-sizing rule…

Position sizingRisk managementExecution
BigQuant

This post reports a suspected mismatch in BigTrader v35 minute backtests after an ETF share split. The author says the strategy-visible position fields—quantity, cost price, last price, and market value—appeared to retain their pre-split values, while a…

EquitiesBacktestingExecutionRisk management