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

A VeighNa user investigates why a near-the-money copper futures call displays a delta above two, comparing it with a soybean meal option. The discussion traces the discrepancy to a change in OptionMaster’s Greek conventions across versions. Earlier versions…

OpsyenPenentuan harga derivatifNiaga hadapanPengurusan risiko
vn.py community

This short forum exchange addresses an intermittent unsupported-order-status message when using VeighNa version 3.9 in no-UI mode for domestic futures. The reply suggests that the submitted order type is not supported by the vnpy_ctp gateway. This points…

Niaga hadapanPelaksanaan dagangan
vn.py community

This forum exchange discusses why holdings for standardized futures spread contracts may not appear consistently through a trading platform's position query. The question reports differing behavior across futures firms using CTP connections: one firm…

Niaga hadapanArbitrajPelaksanaan dagangan
vn.py community

This brief forum exchange addresses whether VeighNa can support trading connections beyond those included by default. The response says that an additional interface can be built by following the implementation pattern used by existing interfaces whose names…

Pelaksanaan dagangan
vn.py community

The document describes a daily screen for stocks in the metaverse sector that have a newly formed KDJ golden cross and an opening gain below a stated cap. It proposes running the screen before 10 a.m. and selecting stocks for trading that day. The…

EkuitiPasaran ChinaPenunjuk teknikalMomentum
vn.py community

The post explains why a VeighNa user may be able to retrieve an SHFE standard spread contract through contract lookup but fail to submit an order. It attributes the problem to a mismatch between exchange combination contracts and the spread trading module’s…

Niaga hadapanArbitrajPelaksanaan daganganMikrostruktur pasaran
vn.py community

This short forum exchange explains why a minute-bar option strategy cannot simply schedule orders to run every few seconds. In the described framework, strategy callbacks are driven by incoming market data rather than by a clock. One reply says…

OpsyenPelaksanaan daganganDagangan frekuensi tinggi
vn.py community

A user asks how to buy or sell at the close when a strategy has only daily bars. The forum response explains that VeighNa's bar-based strategy simulation matches orders on the next bar to avoid using information from a bar before that bar has finished. With…

Ujian berdasarkan data sejarahPelaksanaan dagangan
vn.py community

A trader asks how to run a low-frequency strategy using daily bars, including whether the framework supports daily-bar aggregation and how to place orders at that interval. The practical suggestion is to record minute bars and have the strategy combine them…

Niaga hadapanEkuitiPelaksanaan dagangan
vn.py community

This guide explains how to use MultiCharts as a historical data feed for VeighNa through the vnpy_mcdata module. It distinguishes this data service from a trading gateway, so users can connect the feed while continuing to trade through other interfaces. The…

Niaga hadapanOpsyenPasaran China
vn.py community

This brief forum exchange discusses showing a strategy parameter’s Chinese name in a settings interface. One suggestion is to name the parameter in Chinese directly, so the interface displays that name. The original poster worries that the strategy code…

Penunjuk teknikal
vn.py community

The discussion explains why a resting exchange limit order for profit-taking can freeze a position and prevent a locally managed stop order from closing it. It contrasts exchange orders with VeighNa stop orders, which remain local until their trigger…

Pelaksanaan daganganPengurusan risikoNiaga hadapan
vn.py community

A brief Chinese-language forum exchange addresses how to obtain real-time VIX data when a trading interface does not provide it. The questioner says the strategy requires live VIX values and asks about manually subscribing through a data service. A…

KemeruapanOpsyenPelaksanaan dagangan
vn.py community

This discussion asks why a request to load ten days of bars appears to cover ten trading days during strategy initialization in backtesting but ten calendar days in live trading. It compares the two implementations: the live engine calculates a start…

Ujian berdasarkan data sejarahStatistik
vn.py community

This forum exchange concerns the historical data available through a Xuntou account for the IM futures contract on the China Financial Futures Exchange. A user reports that minute bars are available only from a particular date in 2022 onward, while tick data…

Niaga hadapanPasaran ChinaUjian berdasarkan data sejarah
vn.py community

A VeighNa community post proposes creating a vnpy_pytdx module to connect the pytdx Python library with the trading framework. The author describes pytdx as a free, open library and says it can download live one-minute data for non-high-frequency use, as…

Pasaran ChinaEkuitiPelaksanaan daganganMikrostruktur pasaran
vn.py community

This brief forum exchange outlines the initial steps for connecting VeighNa to a broker’s convertible bond trading API. A user asks whether broker approval is needed and how to connect the API. A reply points to a third-party procurement route and an XTP…

Pelaksanaan daganganPasaran China
vn.py community

This VeighNa CTA example shows how to build daily bars from incoming ticks and use them in a moving average crossover strategy. A BarGenerator aggregates ticks into daily bars, while an ArrayManager stores the resulting history. On each completed daily bar,…

Niaga hadapanPenunjuk teknikalMengikuti arah aliranPelaksanaan dagangan
vn.py community

The forum discussion explains why a trading strategy may receive tick callbacks during initialization, before it is enabled to place orders. Initialization can process incoming ticks to calculate indicators and populate the bar history required by a…

Penunjuk teknikalPelaksanaan dagangan
vn.py community

The discussion addresses how a strategy’s reported position changes when its buy, sell, short, and cover orders use lock mode. A user asks whether opening a long position and opening a short position would leave the strategy’s position at zero. The reply…

Penentuan saiz posisiPelaksanaan dagangan
vn.py community

This brief forum exchange concerns a backtest error described as an integer value too large to convert to a floating-point number. A respondent suggests that the strategy is submitting an excessively large order quantity and advises checking the order size.…

Ujian berdasarkan data sejarahPenentuan saiz posisiPelaksanaan dagangan
vn.py community

A VeighNa community discussion considers how to adapt a daily-bar backtest so a multi-factor stock portfolio is held for a week and rebalanced less often. The practical suggestion is to inspect each bar’s date inside the strategy’s bar handler and permit…

EkuitiPelaburan faktorUjian berdasarkan data sejarahPembinaan portfolio
vn.py community

The document presents a question about why a futures order-conversion routine treats Shanghai Futures Exchange and Shanghai International Energy Exchange contracts differently when converting a request to lock a position. The included logic checks whether…

Niaga hadapanPelaksanaan daganganMikrostruktur pasaran