Okex交易所获取指定币种持仓,返回发明者Position结构数组
1
Follow
47
Followers
Source
JavaScript
//测试模块
//由Okex交易所发起请求
function main() {
//Log(exchange.GetAccount());
exchange.SetContractType("swap");
//多币种构造查询列表:
let currencyList="";
for(let i=0;i<exchanges.length;i++){//遍历已添加的所有交易所
currencyList=currencyList+ exchanges[i].GetCurrency().replace("_","-")+",";//格式转化,okx请求需要由ETH_USDT转换为ETH-USDT格式
}Related strategies
Comment
All comments (0)
No data
- 1


