0
Follow
2
Followers
var ret =exchanges[0].IO("api","GET","/api/v3/myTrades","symbol=BTCUSDT")
Log(ret)
var account = exchanges[0].GetAccount();
Log("账户信息,Balance:", account.Balance, "FrozenBalance:", account.FrozenBalance, "Stocks:",
account.Stocks, "FrozenStocks:", account.FrozenStocks);
}
Futures_OP 4: 400: {"code":-1121,"msg":"Invalid symbol."}
下面的账户信息是可以获取的,但是上面的提示无效交易对,检查了一下没错误的。
上面同样的代码我换到自己香港的aliyun linux服务器就没有问题,但是在平台租用的香港linux就提示无效交易对,新加坡的
windows 托管者也提示无效交易对。
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (13)
https://binanceapitest.github.io/Binance-Futures-API-doc/trade_and_account/#all-orders-user_data
合约api 不一样 GET /fapi/v1/allOrders
而且这个一模一样在别的托管者里是顺利运行的。
我现在是想搬到新加坡,结果发现运行不了。
7 years ago
- 1


