This commit is contained in:
misagh
2018-11-22 17:07:37 +01:00
parent da5617624c
commit bbe8e4e494
3 changed files with 6 additions and 5 deletions

View File

@@ -349,7 +349,8 @@ class Exchange(object):
raise OperationalException(
'In stoploss limit order, stop price should be more than limit price')
return self._api.create_order(pair, 'stop_loss', 'sell', amount, rate, {'stopPrice': stop_price})
return self._api.create_order(pair, 'stop_loss', 'sell',
amount, rate, {'stopPrice': stop_price})
@retrier
def get_balance(self, currency: str) -> float: