Ver código fonte

可以清除仓位。

skyffire 1 ano atrás
pai
commit
302204d63b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      standard/src/bybit_swap.rs

+ 1 - 1
standard/src/bybit_swap.rs

@@ -420,7 +420,7 @@ impl Platform for BybitSwap {
             "orderType": order_type,
             "qty": json!(size),
             // 0.單向持倉 1.買側雙向持倉 2.賣側雙向持倉
-            "positionIdx": json!(1),
+            "positionIdx": json!(0),
             "reduceOnly": json!(false)
         });