Update some comments

This commit is contained in:
Matthias
2020-06-15 06:35:31 +02:00
parent 02fca141a0
commit d337fb6c6a
4 changed files with 4 additions and 5 deletions

View File

@@ -31,14 +31,14 @@ class IHyperOpt(ABC):
Class attributes you can use:
ticker_interval -> int: value of the ticker interval to use for the strategy
"""
ticker_interval: str # deprecated
ticker_interval: str # DEPRECATED
timeframe: str
def __init__(self, config: dict) -> None:
self.config = config
# Assign ticker_interval to be used in hyperopt
IHyperOpt.ticker_interval = str(config['timeframe']) # DEPRECTED
IHyperOpt.ticker_interval = str(config['timeframe']) # DEPRECATED
IHyperOpt.timeframe = str(config['timeframe'])
@staticmethod