freqtradebot test added for orders on exchange

This commit is contained in:
misagh
2018-11-22 19:25:26 +01:00
parent 24df093a85
commit 3418592908
3 changed files with 55 additions and 4 deletions

View File

@@ -335,7 +335,7 @@ class Exchange(object):
def stoploss_limit(self, pair: str, amount: float, stop_price: float, rate: float) -> Dict:
# Only binance is supported
if not self._api.name == 'Binance':
if not self.name == 'Binance':
raise NotImplementedError(
'Stoploss limit orders are implemented only for binance as of now.')