mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
exchange.set_margin_mode param swap
This commit is contained in:
parent
386be2d889
commit
8a64f6a27f
|
@ -1880,7 +1880,7 @@ class Exchange:
|
|||
return
|
||||
|
||||
try:
|
||||
self._api.set_margin_mode(pair, margin_mode.value, params)
|
||||
self._api.set_margin_mode(margin_mode.value, pair, params)
|
||||
except ccxt.DDoSProtection as e:
|
||||
raise DDosProtection(e) from e
|
||||
except (ccxt.NetworkError, ccxt.ExchangeError) as e:
|
||||
|
|
Loading…
Reference in New Issue
Block a user