Move binance-specific test to test_binance.py

This commit is contained in:
Matthias
2019-08-25 10:08:06 +02:00
parent cbf09b5ad9
commit a4c8b5bf5d
3 changed files with 93 additions and 80 deletions

View File

@@ -50,9 +50,10 @@ class Binance(Exchange):
pair, ordertype, "sell", amount, stop_price)
return dry_order
params = self._params.copy()
params.update({'stopPrice': stop_price})
try:
params = self._params.copy()
params.update({'stopPrice': stop_price})
amount = self.symbol_amount_prec(pair, amount)
rate = self.symbol_price_prec(pair, rate)