Passive single postonly under bybit

Author: allez-z, Created: 2020-01-29 22:31:04, Updated:

Please ask how to implement passive ordering in bybit with JS, is there an example, thank you!


More

allez-zIt's very practical, thank you very much!

Every day is a soft dayI'll give you a piece of real-world code: 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); res = exchange.IO is the name of the file.