Error: Cannot convert "POST" to int

Author: bamsmen, Created: 2020-04-29 20:49:46, Updated:

The following function returns an error when using the https://www.fmz.cn/bbs-topic/4183#io function to access the plug-in closure:

var id = exchange.IOThe following is a list of the most common types of order types: or var id =exchange.IO("api", “POST”, “/api/v1/order”, “”, JSON.stringify({symbol:“XBTUSD”,side:“Buy”,orderQty:1,stopPx:4000,ordType:“Stop”}))

If you see a problem that happened two years ago, the troubleshooter will check and fix it as soon as possible.


More

The grassThe IO function cannot be retested.

The grassHome page has debug tools

bamsmenThank you, but how do IO functions usually debug?