Type/to search
4
Follow
0
Followers
Cách viết lệnh ủy quyền có điều kiện Gate
Help
Created 2023-05-05 09:51:58  
 3
 1089

orderId = exchange.IO("api", "POST","/api/v4/futures/btc/orders", {
"contract": "BTC_USD",
"price": price2,
"size": 1, // Thêm tham số size
"amount": n,
"direction": "short",
"offset": "open",
"lever_rate": 100,
"order_type": "conditional",
"trigger_price":price2,
"order_price_type": "limit",
"time_in_force": "gtc"
}); có đúng không, vì sao ổ cứng lại là một đơn đặt hàng bình thường, xin Chúa giải thích.

Related Recommendations
Comment
All comments (3)

    有人吗

    3 years ago

    梦总在吗?

    3 years ago

    在的,看了下GATE的文档,应该是通过指定amount这个参数为负数,指定做空方向。可以试下。

    3 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)