Files
big-qmt/py-client/etc/_etf.yaml
2026-09-19 19:45:43 +08:00

41 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
defaults:
atr_period: 14
min_grid_pct: 0.5
max_grid_span_pct: 40 # 跨度健康度告警线(非闸门)
channel_period: 20
channel_pct: 15
rebound_pct: 0.5 # 反弹确认阈值(建仓与补仓共用)
add_pct: 3.0 # 补仓:自上一档再跌该百分比即触发(需配合反弹确认)
max_adds: 9 # 补仓次数上限(底仓另计,共 10 档)
watch_seconds: 600
min_profit_pct: 1.0 # 主出口:盈亏率 >= 该值即整仓清掉
inner_grids: 2.0 # 副出口:峰值至少抬到第 N 格才允许回撤卖出
min_hold_days: 1
max_hold_days: 0 # 0 = 不止损
commission_rate: 0.0003
min_commission: 5.0
max_tick_age_seconds: 90
# ---------- 标的白名单(键即标的,顺序即资金优先级)----------
# 键必须与接口返回的 ts_code 完全一致588000.SH / 159915.SZ
symbols:
"588000.SH":
is_t0: false
buy_shares: 10000
max_shares: 100000 # 10 个价位 × 1000 股
atr_multiplier: 0.5 # 该标的 ATR 相对价格偏高,必须收窄
inner_step: 0.9
"510300.SH":
is_t0: false
buy_shares: 4000
max_shares: 20000
atr_multiplier: 1.0
inner_step: 0.7
"518880.SH":
is_t0: true # 黄金 ETF 支持当日回转
buy_shares: 2000
max_shares: 10000
atr_multiplier: 1.0
inner_step: 0.8