Sekarang mempunyai akses ke BitMEX, menyokong API platform penuh, menyokong pengembangan IO.
// 只支持实盘 function main() { exchange.SetContractType("XBTUSD") Log(_C(exchange.GetAccount)) Log(_C(exchange.GetTicker)) Log(_C(exchange.GetDepth)) Log(_C(exchange.GetRecords)) Log(_C(exchange.GetTrades)) // IO Test Log(_C(exchange.IO, "api", "GET", "user/affiliateStatus")) Log(_C(exchange.SetMarginLevel, 10)) exchange.SetDirection("buy") var orderId = exchange.Buy(-1, 3) if (orderId) { Log(_C(exchange.GetOrder, orderId)) } Log(_C(exchange.GetPosition)) }