更新策略参数
This commit is contained in:
@@ -19,7 +19,7 @@ CONFIG = {
|
|||||||
|
|
||||||
"strategy_params": {
|
"strategy_params": {
|
||||||
'main_symbol': 'SA', # <-- 替换为你的交易品种代码,例如 'GC=F' (黄金期货), 'ZC=F' (玉米期货)
|
'main_symbol': 'SA', # <-- 替换为你的交易品种代码,例如 'GC=F' (黄金期货), 'ZC=F' (玉米期货)
|
||||||
'trade_volume': 2,
|
'trade_volume': 3,
|
||||||
'model_indicator': ZScoreATR(14, 100, 0.5, 3),
|
'model_indicator': ZScoreATR(14, 100, 0.5, 3),
|
||||||
'spectral_window_days': 8, # STFT窗口大小(天)
|
'spectral_window_days': 8, # STFT窗口大小(天)
|
||||||
'low_freq_days': 8, # 低频下限(天)
|
'low_freq_days': 8, # 低频下限(天)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ CONFIG = {
|
|||||||
|
|
||||||
"strategy_params": {
|
"strategy_params": {
|
||||||
'main_symbol': 'rb', # <-- 替换为你的交易品种代码,例如 'GC=F' (黄金期货), 'ZC=F' (玉米期货)
|
'main_symbol': 'rb', # <-- 替换为你的交易品种代码,例如 'GC=F' (黄金期货), 'ZC=F' (玉米期货)
|
||||||
'trade_volume': 3,
|
'trade_volume': 5,
|
||||||
# 'order_direction': ['SELL', 'BUY'],
|
# 'order_direction': ['SELL', 'BUY'],
|
||||||
# 'indicators': [BollingerBandwidth(20, 2.0, 1.8, 5), BollingerBandwidth(20, 2.0, 1.8, 5),],
|
# 'indicators': [BollingerBandwidth(20, 2.0, 1.8, 5), BollingerBandwidth(20, 2.0, 1.8, 5),],
|
||||||
'model_indicator': BollingerBandwidth(20, 2.0, 0.5, 3.5),
|
'model_indicator': BollingerBandwidth(20, 2.0, 0.5, 3.5),
|
||||||
|
|||||||
Reference in New Issue
Block a user