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
Quantpedia
86 documents
TqSdk
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

This brief forum exchange answers whether VeighNa, also known as vn.py, requires Tushare as the sole source of historical A-share data for backtesting. The response says the framework supports multiple data services and points readers to its documentation…

China marketsEquitiesBacktesting
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

The post questions whether the minimum option price checks used before implied volatility calculations are correct in the Black–Scholes and Black–76 models. It observes that the two implementations use the same expressions, even though Black–76 uses a…

OptionsDerivatives pricingStatistics
vn.py community

This short forum exchange concerns order and trade events that are not appearing inside callbacks in a spread strategy template. The questioner says the template passes those events to the relevant callback methods, but receives no visible output from the…

ExecutionMarket microstructure
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

A forum user reports that starting VeighNa’s DataManager fails while retrieving the configured data service. The traceback shows that the application attempts to print a Chinese warning because no datafeed has been configured, then crashes when the Windows…

China markets
vn.py community

This brief forum exchange answers a question about where log messages go during a backtest when using the BacktestingEngine. The questioner observes that the engine stores messages in a logs collection and asks how to access them. The reply says the messages…

Backtesting
vn.py community

The discussion addresses whether a VeighNa strategy continues trading after the market closes and reopens the next day. The question assumes the trading interface remains open and asks whether the platform will automatically log in and resume the prior…

Execution
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 forum post raises implementation questions about historical data warm-up in VeighNa portfolio strategies. The author considers a strategy whose longest signal period is 20 days and asks whether an ArrayManager size of 25 is sufficient, and whether that…

BacktestingTechnical indicatorsExecution
vn.py community

This forum question examines why changing the initialization length of a trading system’s ArrayManager can materially alter a backtest. The strategy uses RSI generated through TA-Lib, and the author suspects that the indicator’s path dependence makes its…

BacktestingTechnical indicatorsRisk managementStatistics
vn.py community

This Chinese-language forum post concerns calculating higher-timeframe indicators in real time from a lower-timeframe bar callback, such as updating 30- or 60-minute KDJ or RSI while processing five-minute bars. The example creates separate bar generators…

Technical indicatorsMachine learningStatistics
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

This forum exchange explains why a VeighNa Trader account balance may stay unchanged when orders are routed through the PaperAccount module. PaperAccount simulates orders and fills locally, so activity handled by it does not reach a live trading server and…

ExecutionRisk management
vn.py community

This release overview describes VeighNa 4.0 and its new vnpy.alpha module for developing machine-learning, multi-factor strategies. The module is organized around feature datasets, model training, strategy research, workflow management, and example…

Machine learningFactor investingEquitiesBacktesting
vn.py community

A forum user asks how to check whether enough funds are available before starting a spread-arbitrage order algorithm. The stated motivation is to avoid opening only one leg of a paired trade when the account cannot support both sides. A reply points to…

ArbitragePairs tradingRisk management
vn.py community

A forum exchange discusses why VeighNa’s StatisticalArbitrageStrategy example uses a ten-unit price offset when starting its spread-trading algorithm. The questioner describes the order logic: a leg order is sent when the spread order price would otherwise…

ArbitragePairs tradingExecution
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

A VeighNa forum user asks how to keep a displayed value C synchronized with inputs A and B. C is initially calculated as the difference between A and B, but editing either input leaves C at its previous value. The user also wants C to remain editable like…

Equities
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