close position but get Margin is insufficient/平仓提示杠杆不足

I have a perpetual future order :
我有一张永续合约买单:

  • symbol:1000XECUSDT
  • price:0.02385
  • leverage:2
  • quantity:1710.0
  • side:buy

When i want to close the open position,my params is:
当我想要进行平仓时,我提交的参数是这样的:

  • symbol:1000XECUSDT
  • side:sell
  • type:market
  • quantity:1710.0

And the response is -2019, ‘Margin is insufficient’
但系统返回我-2019,提示我杠杆余额不足

Is anyone know why i get this error. What’s the right params?
我想知道为什么会这样,市价平仓为何会引发杠杆余额不足的问题?该提交什么参数才能正确平仓?

你之前下的订单已经变成仓位了么?

是的,已经成交了