stop loss limit order type corrected
This commit is contained in:
parent
6351fe7a7f
commit
7dbf0fed68
@ -373,7 +373,7 @@ class Exchange(object):
|
|||||||
return self._dry_run_open_orders[order_id]
|
return self._dry_run_open_orders[order_id]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return self._api.create_order(pair, 'stop_loss', 'sell',
|
return self._api.create_order(pair, 'stop_loss_limit', 'sell',
|
||||||
amount, rate, {'stopPrice': stop_price})
|
amount, rate, {'stopPrice': stop_price})
|
||||||
|
|
||||||
except ccxt.InsufficientFunds as e:
|
except ccxt.InsufficientFunds as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user