请问用JS怎么实现bybit下被动订单,有没有实例,多谢!
allez-z 很实用,多谢嫩模哥!!
每日一嫩模 给你一段实盘用的代码: params = 'time_in_force=PostOnly&order_type=Limit&price=' + price + '&side=' + (type === 'buy' ? 'Buy' : 'Sell') + '&qty=' + amount + '&symbol=' + this.symbol.replace('_', ''); res = exchange.IO('api', 'POST', '/open-api/order/create', params);