merged with feat/short after feat/short added styling and comment changes PR

This commit is contained in:
Sam Germain
2021-08-22 21:37:20 -06:00
7 changed files with 33 additions and 29 deletions

View File

@@ -46,7 +46,7 @@ class SampleHyperOpt(IHyperOpt):
"""
@staticmethod
def buy_indicator_space() -> List[Dimension]:
def indicator_space() -> List[Dimension]:
"""
Define your Hyperopt space for searching buy strategy parameters.
"""
@@ -63,8 +63,7 @@ class SampleHyperOpt(IHyperOpt):
Categorical([True, False], name='fastd-enabled'),
Categorical([True, False], name='adx-enabled'),
Categorical([True, False], name='rsi-enabled'),
Categorical(['boll', 'macd_cross_signal', 'sar_reversal'], name='trigger'),
Categorical(['boll', 'macd_cross_signal', 'sar_reversal'], name='trigger')
]
@staticmethod
@@ -157,7 +156,7 @@ class SampleHyperOpt(IHyperOpt):
'sell-macd_cross_signal',
'sell-sar_reversal'],
name='sell-trigger'
),
)
]
@staticmethod