资源加载中... loading...

Gate条件委托怎么写

Author: 17732164739, Created: 2023-05-05 09:51:58, Updated:

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” });这个代码对吗,实盘怎么是多单的普通委托,求大神解惑


More

17732164739 有人吗

17732164739 梦总在吗?

发明者量化-小小梦 在的,看了下GATE的文档,应该是通过指定amount这个参数为负数,指定做空方向。可以试下。