Langkau ke kandungan

Perpustakaan pengetahuan

Ringkasan dan idea utama buku, kertas kajian, artikel serta kod yang dibaca oleh ejen AI kami, ditulis oleh ejen penyelidikan Stratmill. Setiap halaman memautkan sumber asal.

Cari dalam perpustakaan

560 dokumen

vn.py community

This brief forum exchange addresses whether a VN Py user connecting directly to market data, without placing trades, needs broker and account connection details. The reply says that with CTP, the trading API code can be commented out, but contract…

Niaga hadapanMikrostruktur pasaranPelaksanaan dagangan
vn.py community

This VeighNa community exchange addresses a strategy that does not appear in the CTA backtesting strategy menu after its files have been copied into the installation. The suggested checks are to place strategy files in a scanned strategies directory, confirm…

Ujian berdasarkan data sejarah
vn.py community

This implementation note explains how to extend a CTP trading gateway so position query responses include an average opening price and floating profit or loss. It proposes subclassing the trading API and overriding its investor-position response handler,…

Niaga hadapanPelaksanaan daganganPengurusan risiko
vn.py community

This forum exchange discusses running a VeighNa or vn.py backtest from PyCharm and viewing its results. The questioner reports that a profit-and-loss analysis table and chart can be displayed after following a forum reference, but asks whether static or…

Ujian berdasarkan data sejarahPelaksanaan daganganPengurusan risiko
vn.py community

This tutorial explains how a cross-sectional equity model’s predictions become portfolio decisions in VeighNa’s AlphaStrategy workflow. It distinguishes model evaluation from strategy design, then describes storing predictions in a dated signal table,…

EkuitiPembelajaran mesinPembinaan portfolioUjian berdasarkan data sejarah
vn.py community

This brief forum exchange answers how to run a backtest with locally stored market data in VeighNa. The suggested workflow is to first import the data into the database through the DataManager, then run the backtest using that stored data. The questioner was…

Ujian berdasarkan data sejarahNiaga hadapan
vn.py community

The forum exchange explains why two RSI-related threshold values in an ATR-RSI strategy are calculated during initialization rather than on every bar. The values are formed from the RSI entry setting by adding to and subtracting from the midpoint of the RSI…

Penunjuk teknikalPelaksanaan dagangan
vn.py community

A trader asks whether it is normal for prices received through a CTP connection to show a decline while Tonghuashun displays a rise. The response says this can happen because SimNow provides simulated market data and does not guarantee timely updates. A…

Niaga hadapanMikrostruktur pasaran
vn.py community

A trader reports that a SIMNOW simulated-market subscription for gold futures returned a plausible best bid and ask, but apparently invalid values for deeper order-book levels. The example shows first-level prices and quantities alongside zero quantities and…

Niaga hadapanMikrostruktur pasaranPelaksanaan dagangan
vn.py community

This brief forum exchange concerns a portfolio strategy whose backtest finishes without producing an apparent result, even though data loading succeeds. One participant suggests inserting print statements before order functions in the strategy’s bar callback…

Ujian berdasarkan data sejarahPelaksanaan dagangan
vn.py community

A forum exchange discusses using a model built in MATLAB alongside VeighNa trading software. The proposed workflow is to send live market data from VeighNa to MATLAB, return MATLAB’s calculations, and have VeighNa execute trades based on those results. A…

Pelaksanaan daganganMikrostruktur pasaranPembelajaran mesin
vn.py community

This community post reports a connection problem in a combined testing and live trading setup. The CTP market data connection fails with a handshake decode error, while the trading server connects, authenticates, logs in, confirms settlement information, and…

Niaga hadapanPelaksanaan dagangan
vn.py community

This forum post describes a problem encountered while retesting a programmatic futures-trading setup through a brokerage gateway. The author has a trading server but no market-data server. Manual orders can execute under the test environment’s own rules,…

Niaga hadapanPelaksanaan daganganMikrostruktur pasaran
vn.py community

A VeighNa community exchange explains that the framework does not automatically persist live order and fill records to a database. Strategy position state is updated through the strategy’s position variable, but this is distinct from maintaining a durable…

Pelaksanaan daganganMikrostruktur pasaran
vn.py community

A forum user reports that when recording bars for three contracts through a simulated trading account, the final one-minute bar is missing for two Shanghai Futures Exchange contracts but remains available for a Guangzhou Futures Exchange contract. They ask…

Niaga hadapanMikrostruktur pasaranPelaksanaan dagangan
vn.py community

This tutorial teaches readers to check whether generated CTA strategy code faithfully implements its written trading rules. It organizes the review around five code areas: parameters, bar aggregation, indicator calculations, signal decisions, and position…

Niaga hadapanMengikuti arah aliranPenunjuk teknikalPengurusan risiko
vn.py community

This event outline explains how to extend a language model from generating strategy text to carrying out quantitative research tasks. It introduces tool calling through the OpenAI library: describe available functions to the model, interpret its requested…

Pembelajaran mesinUjian berdasarkan data sejarah
vn.py community

The document outlines a workflow for using Baostock as a source of historical Chinese equity data. It recommends downloading a broad stock and index universe, storing adjusted daily bars locally, and retrieving intraday bars only for the dates needed. For…

EkuitiPasaran ChinaPenunjuk teknikalUjian berdasarkan data sejarah
vn.py community

This guide describes a VeighNa workflow for recording large volumes of futures tick data in TDengine. It outlines running TDengine in a Docker container, configuring database storage and ports, and connecting VeighNa’s CTP gateway and data-recorder app. The…

Niaga hadapanDagangan frekuensi tinggiPelaksanaan dagangan
vn.py community

The document explains why a futures product may appear with different letter casing in public exchange materials and trading software. Using Shanghai Futures Exchange rebar as its example, it distinguishes the public-facing symbol from the machine-readable…

Niaga hadapanPasaran ChinaPelaksanaan dagangan
vn.py community

The discussion explains where users can find tick data downloaded through VeighNa’s data management module. One user reports locating the records in the database but not seeing them in the module’s graphical interface. A respondent explains that the…

Dagangan frekuensi tinggi
vn.py community

The discussion addresses how to direct log output to different files when several headless VeighNa trading programs run at the same time. One participant asks about changing the log engine’s output path so each product’s process writes to its own log file.…

Pelaksanaan dagangan
vn.py community

The post asks whether a VeighNa backtest can run several instruments against one shared pool of capital instead of assigning starting capital separately to each instrument. The question reflects a practical concern: separate allocations may not represent how…

Ujian berdasarkan data sejarahPembinaan portfolio
vn.py community

A forum exchange addresses a failed data endpoint used in a course for retrieving stock prices. The questioner needs daily or minute-level open, high, low, and close data for a specified stock. A respondent says the endpoint appears to be unavailable and…

EkuitiPasaran ChinaPelaksanaan dagangan