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
Quantopian lectures
45 documents
Binance API docs
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

560 documents

vn.py community

A trader reports an error while running an rb-hc spread strategy in a simulated environment. The failure occurs when the strategy attempts to convert its current grid position into an integer target position, but the value is NaN. The trader suspects that a…

CommoditiesPairs tradingStatisticsExecution
vn.py community

A VeighNa community exchange addresses a CTA strategy whose indicators appeared unchanged after live initialization, while the strategy still placed orders. The user mentions a Dual Thrust strategy and uncertainty about whether a period running in no-UI mode…

FuturesExecutionBacktesting
vn.py community

The discussion explains two data needs when running simulated trading in VeighNa. For live simulated trading, the platform must connect to a market interface, with a test account and CTP given as examples, so it can receive real-time quotes. For historical…

BacktestingExecutionMarket microstructure
vn.py community

This announcement outlines a workshop on applying Kronos, a language-model-style system designed for financial price series, to CTA research. Its central idea is to represent candlesticks as tokens so a Transformer can learn patterns across sequences. The…

Machine learningFuturesTrend followingBacktesting
vn.py community

The forum thread describes a case where a VeighNa application connected to CTP and completed strategy orders, yet its daily log file remained empty. The user found that log events reached the logging engine and initially had logging enabled with a…

ExecutionRisk management
vn.py community

The author asks why a CTP feed recorded a Level-1 tick for a Shanghai Futures Exchange contract even though trade volume was zero and the displayed prices and quantities matched the preceding half-second snapshot. A third-party Ricequant dataset had no…

FuturesMarket microstructureExecution
vn.py community

This forum exchange clarifies a VeighNa configuration message seen when running the platform from PyCharm. A participant explains that the missing data-service configuration notice does not by itself prevent the application from running. However, attempting…

EquitiesFutures
vn.py community

This brief Chinese-language forum exchange asks whether a VeighNa strategy can subscribe to hundreds or thousands of stock instruments at once. A respondent says that subscribing to the whole market is possible, while the number of contracts a particular…

EquitiesExecution
vn.py community

This guide explains how to organize data for VeighNa’s AlphaLab research workflow. It describes the roles of its directories, daily and minute bar files, index constituent records, and contract settings, then shows how preparation notebooks supply data…

EquitiesFactor investingBacktesting
vn.py community

A VeighNa community exchange answers whether data downloaded through an RQData trial account remains available after that account expires. The reply says data already downloaded into a local database can still be used after the RQData service expires. This…

Backtesting
vn.py community

This forum exchange explains why a futures backtest can differ from a course example even when the strategy and settings are the same: the data series may be revised over time. It describes the platform’s 888 series as a continuously smoothed main-contract…

FuturesBacktestingStatistics
vn.py community

This forum exchange explains that a VeighNa CTA strategy’s operating interval depends on its implementation. A strategy can react to each incoming tick, process one-minute bars formed from ticks, or aggregate those bars into longer periods using a bar…

FuturesTechnical indicatorsRisk managementExecution
vn.py community

This forum response outlines a debugging process for a cancel-all issue in VeighNa. It recommends confirming that the cancellation method is reached, logging active orders, checking their statuses, and issuing individual cancellation requests for orders that…

ExecutionMarket microstructure
vn.py community

A Chinese forum exchange discusses large differences between futures data from Xuntouyan and TQSDK and the resulting disagreement in strategy backtests. The original poster reports discovering that the unusually high returns from one Xuntouyan test came from…

FuturesBacktesting
vn.py community

This forum exchange clarifies how VeighNa’s spread trading callbacks relate. For live operation, the strategy receives a complete spread data structure through `on_spread_data`; that structure can be converted into a tick before the tick-handling logic is…

FuturesPairs tradingBacktesting
vn.py community

The discussion explains that VeighNa 2.7 does not provide built-in save-and-restore support for variables in spread trading strategies, even though CTA strategies have a dedicated data file. As a workaround, a community reply suggests saving selected values…

FuturesExecution
vn.py community

This forum exchange discusses a VeighNa spread-trading strategy that cannot calculate a historical spread moving average because no data service is configured. A respondent advises checking the data-feed fields in the application’s global configuration. The…

FuturesPairs tradingTechnical indicators
vn.py community

A forum user asks how to obtain a futures contract’s best bid, best ask, upper price limit, and lower price limit. The response points to the corresponding fields on the tick data object: first-level bid and ask prices, plus limit-up and limit-down values.…

FuturesMarket microstructure
vn.py community

A trader asks why an order receives a successful cancellation response outside trading hours. The replies explain that an order submitted during a non-trading period may be canceled by the interface, with a response generated locally rather than by the…

FuturesExecution
vn.py community

This community post describes a problem with sell orders that do not fill during a tick-level backtest. The author reports trying several order-price choices, including the latest tick price, a stop order, a zero price, and a price four units below the…

FuturesExecutionBacktestingMarket microstructure
vn.py community

This forum exchange concerns missing hourly bars created by aggregating minute data for a futures contract. A user reports that the stored hourly series is incomplete on a particular date, despite the underlying minute records appearing intact, and later…

FuturesStatistics
vn.py community

The article outlines the data requirements for options strategy research: a maintained history of contract details and price bars covering both current and expired contracts. It describes a workflow using a commercial data feed and a local trading database.…

OptionsBacktestingMarket microstructureChina markets
vn.py community

This forum exchange concerns running an options strategy in a SimNow simulated environment. A user reports receiving ticks for the IO options contract but not for the underlying, and says a data subscription call returns false. Participants suggest using IF…

OptionsFuturesExecution
vn.py community

This excerpt describes a problem while building a five-minute bar series from minute bars or ticks with VeighNa’s BarGenerator and storing the results in an ArrayManager. The author reports that keeping direct edits to arrays such as close and high arrays…

StatisticsBacktesting