|
|
|
|
@ -19,8 +19,8 @@ from freqtrade.configuration.timerange import TimeRange
|
|
|
|
|
from freqtrade.constants import CANCEL_REASON, DATETIME_PRINT_FORMAT, Config
|
|
|
|
|
from freqtrade.data.history import load_data
|
|
|
|
|
from freqtrade.data.metrics import calculate_max_drawdown
|
|
|
|
|
from freqtrade.enums import (CandleType, ExitCheckTuple, ExitType, SignalDirection, State,
|
|
|
|
|
TradingMode, MarketDirection)
|
|
|
|
|
from freqtrade.enums import (CandleType, ExitCheckTuple, ExitType, MarketDirection, SignalDirection,
|
|
|
|
|
State, TradingMode)
|
|
|
|
|
from freqtrade.exceptions import ExchangeError, PricingError
|
|
|
|
|
from freqtrade.exchange import timeframe_to_minutes, timeframe_to_msecs
|
|
|
|
|
from freqtrade.loggers import bufferHandler
|
|
|
|
|
@ -1207,4 +1207,4 @@ class RPC:
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
def _update_market_direction(self, direction: MarketDirection):
|
|
|
|
|
self._freqtrade.strategy.market_direction = direction
|
|
|
|
|
self._freqtrade.strategy.market_direction = direction
|
|
|
|
|
|