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,797 documents

Hummingbot docs

This retrospective compares two short bot competition runs on the SEI-USDT pair. In the earlier run, a modified single-market liquidity strategy traded on Binance spot and lost money overall, with fees cited as a major factor. The later run used a modified…

Market makingFuturesExecutionBacktesting
vn.py community

This forum discussion explains how to update stored bar data in VeighNa after users could no longer import the former database manager interface. Replies point to the current database accessor, which returns the database object. For incremental updates, a…

FuturesExecution
vn.py community

This short forum exchange addresses intermittent connections between VeighNa version 4.1.0 and CTP. A user says the connection details are identical across attempts, and a reply points to environment-specific operating hours as a possible factor. It further…

FuturesExecution
vn.py community

A trading-system forum discussion concerns orders that receive an order number but immediately show as canceled, even though market data, login, and displayed funds appear available. The response proposes several checks: determine whether pre-trade risk…

ExecutionRisk managementFutures
vn.py community

This forum response lists common reasons that take-profit and stop-loss orders may be rejected. It points to rapid price changes, prices outside exchange limits, exchange risk controls, insufficient margin, thin contract liquidity, network or system…

ExecutionRisk managementPosition sizingFutures
Amberdata research

The snapshot combines macroeconomic news with market indicators for Bitcoin, Ether, and Solana. It discusses modest inflation relief alongside tariff and interest-rate concerns, a large loss from a highly leveraged Ether position, and the U.S. decision to…

CryptoFuturesSentimentTechnical indicators
FMZ forum

This article describes a way to send alerts when a strategy’s position changes, using FMZ Mylanguage together with its JavaScript enhancement feature. The example strategy uses Williams %R and a moving average to generate long and short signals. The article…

CryptoFuturesExecutionTechnical indicators
MQL5 code base

This expert advisor trades after finding a configurable run of identical candlesticks: it buys following bullish candles and sells following bearish candles. Its inputs include the required run length, trade size, take-profit and stop-loss distances,…

FuturesTechnical indicatorsTrend followingRisk management
FMZ forum

The speaker outlines a systematic trend-following approach that uses historical testing to support a rules-based process for entries, exits, profit taking, and position sizing. The strategy seeks to capture medium-term moves across a broad set of…

Trend followingFuturesPortfolio constructionPosition sizing
ProRealCode

The document describes a long-only DAX strategy on four-hour bars. It looks for entries on Mondays between 09:00 and 21:00 Berlin time, when the close is below the 50-period exponential moving average and the 1-period average crosses above the 2-period…

FuturesTechnical indicatorsRisk managementPosition sizing
TqSdk

This example implements a futures Turtle-style trend-following system. It enters long when price breaks above a prior Donchian channel high and short when price breaks below the channel low. Position size is based on account balance, contract multiplier, and…

FuturesTrend followingBreakoutVolatility
vn.py community

This brief forum exchange describes a configuration issue when connecting vn.py 4.4.0 to SimNow’s 24-hour test environment. A user reports that the standard simulation connection succeeds while the 24-hour test connection fails. Another participant replies…

FuturesExecution
TqSdk

The strategy models a refining spread using crude oil, fuel oil, and a third petroleum product in a 3:2:1 weighting. It calculates the spread as the weighted value of the two product legs minus the weighted crude leg, then compares the current spread with…

FuturesCommoditiesMean reversionArbitrage
vn.py community

The post addresses missing final one-minute bars when a closing or session-boundary tick is not delivered. Its proposed fix adds logic to a bar generator’s tick-update handler: near selected minute boundaries, it checks for a tick arriving in the final…

FuturesMarket microstructureExecution
vn.py community

The discussion raises two practical issues for CTA strategies: protecting source code when running a strategy on another computer or server, and adapting a strategy as a futures market’s active contract changes. Replies point to a strategy-encryption guide…

FuturesExecutionCommodities
MQL5 code base

This indicator description explains how to display JMACandle bars from a higher timeframe on a chart. It draws each candle as a filled rectangle using fill buffers, distinguishing the candle body from its shadows with separate colors. Up and down candle…

Technical indicatorsFutures
TqSdk

This example implements a daily mean-reversion strategy for a Shanghai Futures Exchange gold contract. It calculates a Z-score from recent closing prices, enters long when the score falls below a negative entry threshold and short when it rises above a…

FuturesCommoditiesMean reversionStatistics
MQL5 code base

This note explains how an Expert Advisor can detect the opening of a new candle in MetaTrader when a tick arrives. Since the platform does not provide a dedicated new-bar event handler, the method stores the opening time of the current bar and compares it…

ExecutionFutures
ProRealCode

This post describes an automated system for long and short positions, intended to work better on longer chart intervals, beginning at four hours. Long entries require a weighted rate-of-change measure and MACD to be rising while below zero, alongside a…

ForexFuturesMomentumTechnical indicators
ProRealCode

The XBody strategy is a daily, rule-based system presented for stocks, indices, and forex, with parameters optimized by its author on the CAC index. It calculates candle body size as close minus open, then takes the change in that value over time and sums it…

EquitiesFuturesForexTechnical indicators
TqSdk

This TqSdk reference explains how to authenticate with a platform account and select a live futures account, a shared platform simulation account, or a local simulation account when creating the API object. It describes live-account binding limits and common…

FuturesExecution
FMZ forum

This article argues that technical analysis should be treated as a probabilistic aid rather than a dependable forecast. It warns against trusting a single signal, applying one method in every market, and holding a position after price action invalidates the…

Technical indicatorsStatisticsRisk managementFutures
vn.py community

A VeighNa community exchange considers why a CTA strategy’s moving-average values may appear stale after pausing and restarting. The response suggests several possible causes: cached bar data not being restored or refreshed, strategy variables not being…

FuturesTechnical indicatorsExecution
Amberdata research

This market update reviews three developments in crypto derivatives: August activity at Deribit, the launch of Bumper, and Kraken’s plans to expand its derivatives business. It reports that Deribit’s volume rose while global derivatives volume fell, with…

CryptoOptionsFuturesVolatility