mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
bb89e44e19
* Split Parameter into IntParameter/FloatParameter/CategoricalParameter. * Rename IHyperStrategy to HyperStrategyMixin and use it as mixin. * --hyperopt parameter is now optional if strategy uses HyperStrategyMixin. * Use OperationalException() instead of asserts.
8 lines
451 B
Python
8 lines
451 B
Python
# flake8: noqa: F401
|
|
from freqtrade.exchange import (timeframe_to_minutes, timeframe_to_msecs, timeframe_to_next_date,
|
|
timeframe_to_prev_date, timeframe_to_seconds)
|
|
from freqtrade.strategy.interface import IStrategy
|
|
from freqtrade.strategy.hyper import HyperStrategyMixin, IntParameter, FloatParameter,\
|
|
CategoricalParameter
|
|
from freqtrade.strategy.strategy_helper import merge_informative_pair, stoploss_from_open
|