ml++
This commit is contained in:
parent
c504dca387
commit
e9733af70c
@ -11,6 +11,8 @@ from sklearn.preprocessing import StandardScaler
|
||||
from sklearn.model_selection import train_test_split
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class MLBasedSentimentStrategy(IStrategy):
|
||||
# 参数定义:MLBasedSentimentStrategy 动态适配 buy_rsi 和 sell_rsi,禁用 Hyperopt 优化
|
||||
buy_rsi = IntParameter(low=10, high=50, default=27, space="buy", optimize=False, load=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user