Merge branch 'ccxt-async' of https://github.com/misaghshakeri/freqtrade into ccxt-async

This commit is contained in:
misagh 2018-08-03 14:50:11 +02:00
commit 3987a8aeb8
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,8 @@ class IStrategy(ABC):
dataframe = self.advise_sell(dataframe, metadata)
return dataframe
def get_signal(self, pair: str, interval: str, ticker_hist: Optional[List[Dict]]) -> Tuple[bool, bool]:
def get_signal(self, pair: str, interval: str,
ticker_hist: Optional[List[Dict]]) -> Tuple[bool, bool]:
"""
Calculates current signal based several technical analysis indicators
:param pair: pair in format ANT/BTC

View File

@ -47,7 +47,6 @@ def patch_get_signal(freqtrade: FreqtradeBot, value=(True, False)) -> None:
freqtrade.exchange.refresh_tickers = lambda pl, i: {}
def patch_RPCManager(mocker) -> MagicMock:
"""
This function mock RPC manager to avoid repeating this code in almost every tests