Optional support for defining hyperopt parameters in a strategy file and reusing common hyperopt/strategy parts.

This commit is contained in:
Rokas Kupstys
2021-03-23 10:02:32 +02:00
parent 8da7d5c009
commit 0a205f52b0
4 changed files with 183 additions and 2 deletions

View File

@@ -2,4 +2,5 @@
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 IHyperStrategy, Parameter
from freqtrade.strategy.strategy_helper import merge_informative_pair, stoploss_from_open