A helper to calculate stoploss value from absolute price.

This commit is contained in:
Rokas Kupstys
2021-07-17 18:09:08 +03:00
parent 11f08b0053
commit d84ef34740
4 changed files with 60 additions and 1 deletions

View File

@@ -4,4 +4,5 @@ from freqtrade.exchange import (timeframe_to_minutes, timeframe_to_msecs, timefr
from freqtrade.strategy.hyper import (BooleanParameter, CategoricalParameter, DecimalParameter,
IntParameter, RealParameter)
from freqtrade.strategy.interface import IStrategy
from freqtrade.strategy.strategy_helper import merge_informative_pair, stoploss_from_open
from freqtrade.strategy.strategy_helper import (merge_informative_pair,
stoploss_from_absolute, stoploss_from_open)