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

277 documents

vn.py community

This forum exchange addresses two practical VeighNa questions: removing subscribed market contracts and closing an open futures position. A reply says the framework does not support unsubscribing, suggesting a restart and re-adding only the desired contracts…

FuturesExecutionRisk management
vn.py community

A short VeighNa forum exchange addresses whether users running strategies in the SimNow environment must manually download underlying contract data before initializing and starting a strategy, including a spread strategy. The reply says they do not: trading…

FuturesOptions
vn.py community

This short forum exchange addresses whether users can add their own trading strategies to the VeighNa community edition. A user with little programming experience asks how to implement a strategy already used by a friend. The reply says custom development is…

FuturesExecution
vn.py community

This short forum exchange clarifies how VeighNa’s live market recording module stores data. The recording interval determines how often data is written; the feature records incoming real-time bars or ticks to a database rather than downloading historical…

Market microstructureFutures
vn.py community

A forum exchange clarifies whether a strategy can retrieve tick data for futures product indices or weighted continuous contracts, using iron ore and an example continuous symbol. The reply explains that symbols ending in a continuous-contract convention are…

FuturesMarket microstructureBacktesting
vn.py community

This VeighNa forum exchange discusses how to obtain current account funds through the CTP trading interface. A user asks whether account balances can be retrieved synchronously, like an HTTP request, rather than through asynchronous updates. A reply points…

FuturesExecutionMarket microstructure
vn.py community

A user describes running one VeighNa process and one strategy connected to two SimNow futures accounts through separate CTP gateways. Both accounts return order acknowledgements, and the second account appears to have executed trades when checked in another…

FuturesExecutionMarket microstructure
vn.py community

A user asks whether the Guotai Junan edition of the VeighNa trading platform supports immediate-or-cancel orders. The reply says that this edition does not provide IOC support. This is a concise platform capability detail that may matter when configuring…

FuturesExecutionMarket microstructure
vn.py community

A trading-system forum discussion explains why a conventional CTA strategy that works on outright futures may fail when applied directly to exchange-listed spread contracts. The reported symptoms include missing backtest data and occasional trades with…

FuturesArbitragePairs tradingExecution
vn.py community

This forum post reports a VeighNa CTA backtest that reaches the historical-data loading stage but loads zero records. The script then completes initialization and replay with no trades, before result calculation fails because the daily results table lacks a…

FuturesBacktesting
vn.py community

A VeighNa Trader user reports that the platform cannot load its iFind data service module, even though the relevant Python packages are installed and can be imported. The community reply points to the global configuration: the provider name must be entered…

Futures
vn.py community

A short forum exchange asks how to obtain roughly two decades of historical futures and options data at hourly, daily, weekly, and monthly frequencies for backtesting. One reply says that such data must be purchased, particularly minute-level data. The…

FuturesOptionsBacktesting
vn.py community

This brief forum exchange asks whether VeighNa's main engine position converter loads positions that are already held when it initializes. The question gives a concrete example: whether a long position carried from the previous day will be reflected in the…

FuturesExecution
vn.py community

This short forum post concerns an error that repeatedly appears when connecting VeighNa, also known as VN.PY, to Interactive Brokers through the IB API. The traceback ends with a Python TypeError: the API invokes the wrapper’s error callback with more…

ExecutionFutures
vn.py community

This Chinese-language forum post examines how a futures gateway updates a position object’s prior-day volume while processing investor-position responses. The shown handler creates or retrieves a position by instrument and position direction, then applies…

FuturesExecution
vn.py community

This forum exchange concerns a VeighNa strategy that logged minute bars during a SimNow session but produced no logs or apparent activity the next morning, even though the interface still showed a CTP connection. A participant recommends adding internal…

FuturesExecutionChina markets
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
vn.py community

The discussion addresses adding five- and fifteen-minute intervals to VN.py version 3.4.0 for backtesting. One reply suggests that when the source data is already stored at those resolutions, importing and selecting it as one-minute data can work because…

BacktestingExecutionFutures
vn.py community

This brief VeighNa forum exchange asks how to adjust bar construction for the morning futures market break from 10:15 to 10:30. A respondent explains that the BarGenerator currently divides data according to timestamps and asks which kind of bar the user…

FuturesBacktesting
vn.py community

This short forum exchange addresses how to detect an invalid order price before submitting an order through VeighNa. The response says the framework does not generally filter prices in advance, although its graphical interface prevents users from entering…

ExecutionFutures
vn.py community

This forum exchange clarifies a difference between ScriptTrader and VeighNa’s CTA strategy module. A user asks whether ScriptTrader supports stop orders, noting that the module is described as supporting multiple exchanges and instruments, hedging between…

ExecutionRisk managementFuturesEquities
vn.py community

This short community exchange addresses why orders may fail in a SimNow simulated trading account even when login and account queries work and the user has checked the configuration. The reply identifies a specific environment limitation: SimNow does not…

FuturesExecution
vn.py community

This forum exchange addresses a question about changing historical EMA readings and repeated signals in a VeighNa CTA strategy using ArrayManager. The answer explains EMA as a recursive indicator: each new bar updates the current value using the latest price…

Technical indicatorsStatisticsFutures
vn.py community

The post raises a futures backtesting issue: unusually large drawdowns may coincide with price gaps when the lead contract changes. The author wants to identify roll dates and avoid trading on those dates, but the post does not provide a method for detecting…

FuturesBacktestingRisk management