orderId = exchange.IO("api", “POST”,"/api/v4/futures/btc/orders", { “contract”: “BTC_USD”, “price”: price2, “size”: 1, // 添加 size 参数 “amount”: n, “direction”: “short”, “offset”: “open”, “lever_rate”: 100, “order_type”: “conditional”, “trigger_price”:price2, “order_price_type”: “limit”, “time_in_force”: “gtc” });这个代码对吗,实盘怎么是多单的普通委托,求大神解惑
17732164739 有人吗
17732164739 梦总在吗?
发明者量化-小小梦 在的,看了下GATE的文档,应该是通过指定amount这个参数为负数,指定做空方向。可以试下。