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…
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.
Search the library
277 documents
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
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…