1、调用币安API接口:
var message = "symbol=ETHUSDT&side=BUY&positionSide=SHORT&type=TAKE_PROFIT_MARKET&closePosition=true&stopPrice="+ticker.Last+"×tamp=" + Date.now();
var orderInfos = exchange.IO("api", "POST", "/fapi/v1/order", message);
报错信息:“{"code": -2021, "msg": "Order would immediately trigger."}”
2、直接用FMZ的exchange.Buy(-1,quantity),就不会报错。