The document discusses an interface pattern for chart-based research: select a range of candlesticks, then ask a question about that specific interval. A selection gives an otherwise vague reference such as a question about why a move occurred a defined…
Library ng kaalaman
Mga buod at mahahalagang ideyang isinulat ng research agent ng Stratmill tungkol sa mga aklat, papel, artikulo at code na binasa ng aming mga AI agent. May link sa orihinal sa bawat pahina.
Maghanap sa library
560 na dokumento
A short Chinese forum exchange addresses why VeighNa Elite returns no records after a data-loading operation. The question asks whether the empty result is caused by reading from the standard database and how to switch to the Elite database. The reply says…
The discussion explains that SimNow’s CTP simulation environment does not provide ETF option contracts, so users cannot obtain their market data there for testing those instruments through VeighNa’s paper account. It points instead to a futures company’s…
This Chinese-language guide explains how to build a Commodity Trading Advisor strategy for the vn.py framework. It outlines the strategy class structure, the roles of configurable parameters and persistent state, and the event callbacks used for market data,…
The post discusses a possible source of inaccurate results near the beginning of a backtest in VeighNa’s BacktestingEngine. It describes an initialization period in which historical bars are loaded for strategy setup, followed by the bars used for strategy…
This forum exchange explains why passing the return value of a VeighNa buy function directly to a cancel function can fail. The buy, sell, short, and cover methods return a list of order identifiers, even when the list contains only one identifier. A…
A trader reports that a VeighNa strategy appears to close positions but does not open them, and that an apparent fill does not result in a live order. The discussion first recommends printing strategy logic and order status to diagnose what is happening. The…
A forum user asks about an error while trying to record trading results in a log file. They report that the program initially ran, then began failing, while no error appeared in the log file. A respondent recommends upgrading VeighNa to version 4.2.0, which…
The discussion explains how several position fields can represent holdings and sellable quantity in an A-share account subject to T+1 settlement. In the cited stock gateway example, total volume is the full position, frozen volume is the portion unavailable…
A VeighNa forum discussion explains how to preserve variables in a spread trading strategy across restarts. The suggested approach is to implement JSON file loading and saving in the strategy lifecycle: load stored values when the strategy starts and write…
This forum exchange addresses how a custom daily CTA strategy can use locally stored data that is updated each day before the night session. The user asks whether a live strategy can reload the newest spreadsheet values automatically, given that the backtest…
This forum discussion explains why two-hour bars built from one-minute futures data can differ across platforms. One approach forms bars on fixed clock boundaries; another accumulates 120 minutes of active trading time, skipping exchange breaks and handling…
The forum exchange addresses whether the timestamp on a one-minute bar labels the minute that has just ended or the minute that follows. A participant asks which interval is represented by data stamped at 14:00. The reply says that conventions vary across…
A forum participant asks whether a short position opened in one futures delivery month must be closed by buying the next lead contract at its higher quoted price when market attention shifts to that contract. The concern is that the apparent price gap…
A forum exchange addresses a backtest where the data-loading step returns no data for expired option contracts. The questioner says one contract loads because it was downloaded manually through the platform’s data manager, while other expired contracts do…
This forum post reports a desktop application crash after a progress bar finishes loading market bar data in a background task. The example uses PySide or Qt threading with a QRunnable, Peewee ORM selection, and a query against stored futures bar records.…
The document describes a vn.py and CTP gateway modification for creating live commodity futures indices and identifying each product’s dominant contract. It proposes weighting real contracts by their previous day open interest, selecting a main contract only…
The forum thread discusses converting one-minute market bars into daily bars in VeighNa. The assistant presents two approaches: use the framework’s BarGenerator with a daily interval and a configurable session end, or maintain a custom daily bar by updating…
A VeighNa forum question asks how stock transaction costs are represented in backtests when sell-side stamp duty has a minimum charge. The question distinguishes commissions charged on both buys and sells from stamp duty charged only on sales, and asks…
This brief forum exchange explains how to run VeighNa without a configured data service. The reply recommends clearing the fields in the global configuration whose names begin with “datafeed,” rather than commenting out initialization code at a particular…
This forum exchange discusses a CTA strategy that generates buy or short signals but fails to obtain fills in a no-UI run, despite working in the normal software environment. The suggested first step is to print and inspect market data and strategy logic to…
This forum exchange reports a suspected error in an options-chain method that selects the at-the-money strike. The user says that when the underlying 50ETF price exactly matches a listed strike, the method returns a different strike instead. Two historical…
This overview introduces VeighNa’s alpha research framework as a linked workflow for equity research: organize local market and constituent data, build factor and label datasets, train prediction models, generate scores, and test portfolio strategies. It…
This event outline introduces a planned series on quantitative options research and development, with later sessions covering ETF, gold, and iron ore options. The first session focuses on index options, contrasting options strategies with CTA strategies and…