fixed lint issue
This commit is contained in:
parent
5fb539190d
commit
8927a92eaf
@ -19,8 +19,8 @@ from freqtrade.configuration.timerange import TimeRange
|
|||||||
from freqtrade.constants import CANCEL_REASON, DATETIME_PRINT_FORMAT, Config
|
from freqtrade.constants import CANCEL_REASON, DATETIME_PRINT_FORMAT, Config
|
||||||
from freqtrade.data.history import load_data
|
from freqtrade.data.history import load_data
|
||||||
from freqtrade.data.metrics import calculate_max_drawdown
|
from freqtrade.data.metrics import calculate_max_drawdown
|
||||||
from freqtrade.enums import (CandleType, ExitCheckTuple, ExitType, SignalDirection, State,
|
from freqtrade.enums import (CandleType, ExitCheckTuple, ExitType, MarketDirection, SignalDirection,
|
||||||
TradingMode, MarketDirection)
|
State, TradingMode)
|
||||||
from freqtrade.exceptions import ExchangeError, PricingError
|
from freqtrade.exceptions import ExchangeError, PricingError
|
||||||
from freqtrade.exchange import timeframe_to_minutes, timeframe_to_msecs
|
from freqtrade.exchange import timeframe_to_minutes, timeframe_to_msecs
|
||||||
from freqtrade.loggers import bufferHandler
|
from freqtrade.loggers import bufferHandler
|
||||||
@ -1207,4 +1207,4 @@ class RPC:
|
|||||||
}
|
}
|
||||||
|
|
||||||
def _update_market_direction(self, direction: MarketDirection):
|
def _update_market_direction(self, direction: MarketDirection):
|
||||||
self._freqtrade.strategy.market_direction = direction
|
self._freqtrade.strategy.market_direction = direction
|
||||||
|
Loading…
Reference in New Issue
Block a user