QTrade/config/strategies/debug_000001.yaml

18 lines
412 B
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.

# 策略实例配置: debug_000001
# 平安银行 - 每条K线都打印,不生成信号
instance_id: "debug_000001"
symbol: "000001.SZ"
strategy_class: "DebugStrategy"
capital: 100000
# 策略参数
params:
print_every: 1 # 每条K线都打印
simulate_signal: false # 不生成模拟信号
# 风控参数
risk:
max_position_ratio: 0.8 # 最大仓位80%
stop_loss: 0.05 # 止损5%