SpectralStrategy更新:TA品种
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
"source": [
|
||||
"from src.indicators.indicators import *\n",
|
||||
"from src.indicators.base_indicators import CompositeIndicator\n",
|
||||
"from src.strategies.Spectral.SpectralTrendStrategy2 import SpectralTrendStrategy\n",
|
||||
"from futures_trading_strategies.TA.Spectral.SpectralTrendStrategy2 import SpectralTrendStrategy\n",
|
||||
"\n",
|
||||
"# --- 1. 初始化数据管理器 ---\n",
|
||||
"print(\"初始化数据管理器...\")\n",
|
||||
@@ -109,7 +109,7 @@
|
||||
" 'trade_volume': 1,\n",
|
||||
" # 'order_direction': ['SELL', 'BUY'],\n",
|
||||
" # 'indicators': StochasticOscillator(14, 3, 3, 16, 100),\n",
|
||||
" 'model_indicator': StochasticOscillator(14, 3, 3, 16, 100),\n",
|
||||
" 'model_indicator': StochasticOscillator(14, 3, 3, 15, 100),\n",
|
||||
" 'bars_per_day': 23,\n",
|
||||
" 'spectral_window_days': 4, # STFT窗口大小(天)\n",
|
||||
" 'low_freq_days': 4, # 低频下限(天)\n",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@ CONFIG = {
|
||||
'trade_volume': 3,
|
||||
# 'order_direction': ['SELL', 'BUY'],
|
||||
# 'indicators': StochasticOscillator(14, 3, 3, 16, 100),
|
||||
'model_indicator': StochasticOscillator(14, 3, 3, 16, 100),
|
||||
'model_indicator': StochasticOscillator(14, 3, 3, 15, 100),
|
||||
'bars_per_day': 23,
|
||||
'spectral_window_days': 4, # STFT窗口大小(天)
|
||||
'low_freq_days': 4, # 低频下限(天)
|
||||
|
||||
Reference in New Issue
Block a user