This commit is contained in:
2026-08-26 23:27:42 +08:00
parent c30c1541d2
commit cdbd03fe53
13 changed files with 256 additions and 355 deletions

View File

@@ -1,11 +1,11 @@
# 当前计算机使用的账户和策略参数。
account_id: CHANGE_ME
host_key: ""
host_key: "dev"
buy_value: 5000
min_cash_ratio: 0.10
loss_trigger_pct: -30
grid_step_pct: 1
min_profit_pct: 2
rebound_threshold: 0.61
order_timeout_seconds: 60
watch_timeout_seconds: 300
signal_allow:
- dcm

View File

@@ -1,9 +1,27 @@
# 系统公共参数。hosts 将 Windows 计算机名映射到账户配置文件。
qmt_base_url: http://127.0.0.1:10086
qmt_token: QMTbyYanweidong
api_host: http://go.apinb.com
api_host: http://139.224.247.176:13499
qmt_data_dir: D:/qmt_strategy_data
state_dir: D:/qmt_strategy_state
hosts:
DESKTOP-39H91QV: dev.yaml
signals:
dcm:
url: /a/dcm_signal
timezone: * # *代表全时间段9:30-10:30,13:30-14:30 代表2个时间段
gt_last_price_is_open: false # 大于信号的昨收价是否开仓
morning:
url: /a/morning_signal
timezone: 9:30-10:30 # *代表全时间段9:30-10:30,13:30-14:30 代表2个时间段
gt_last_price_is_open: true # 大于信号的昨收价是否开仓
tail:
url: /a/tail_signal
timezone: 14:30-14:55 # *代表全时间段9:30-10:30,13:30-14:30 代表2个时间段
gt_last_price_is_open: false # 大于信号的昨收价是否开仓
arbitrage:
url: /a/arbitrage_signal
timezone: * # *代表全时间段9:30-10:30,13:30-14:30 代表2个时间段
gt_last_price_is_open: false # 大于信号的昨收价是否开仓