ٹرانزیکشن ٹرمینل پلگ ان کی سرایت کی خصوصیات کو ظاہر کرنے کے لئے استعمال کیا جاتا ہے۔https://www.fmz.com/api#%E4%BA%A4%E6%98%93%E6%8F%92%E4%BB%B6
function main() { var initAcc = _C(exchange.GetAccount) var tbl = { "type" : "table", "title" : "表格", "cols" : ["项目", "内容"], "rows" : [], } for (var i = 0 ; i < TransactionTimes ; i++) { var info = null if (Side == 0) { info = $.Buy(Amount) } else if (Side == 1) { info = $.Sell(Amount) } else { throw "side error!" } tbl.rows.push([i + "号订单,成交情况:", JSON.stringify(info)]) Sleep(300) } var nowAcc = _C(exchange.GetAccount) delete initAcc.Info delete nowAcc.Info tbl.rows.push(["初始账户:", JSON.stringify(initAcc)]) tbl.rows.push(["执行后账户:", JSON.stringify(nowAcc)]) return tbl }