资源加载中... loading...

币安ETH_USDT实盘,Log出来的Ticker不正确

Author: CryptoMethod, Created: 2021-12-27 20:49:01, Updated: 2021-12-28 09:14:52

币安ETH_USDT实盘,Log出来的Ticker信息,和我在币安app上看到的价格差距很大???是我用错了吗? 代码 Log('Ticker: ', exchange.GetTicker()); 结果 Ticker: {"Info":{"symbol":"ETCUSDT","priceChangePercent":"3.457","highPrice":"38.62000000","firstId":126123433,"priceChange":"1.29000000","bidPrice":"38.60000000","bidQty":"8.67000000","askPrice":"38.61000000","quoteVolume":"17639159.78990000","count":41496,"lastPrice":"38.61000000","lastId":126164928,"openTime":1640522190337,"weightedAvgPrice":"37.86421689","prevClosePrice":"37.33000000","lastQty":"4.05000000","askQty":"75.47000000","openPrice":"37.32000000","lowPrice":"37.21000000","volume":"465853.02000000","closeTime":1640608590337},"High":38.62,"Low":37.21,"Sell":38.61,"Buy":38.6,"Last":38.61,"Volume":465853.02,"OpenInterest":0,"Time":1640608590543}

代表当前价格的Last竟然是38.61,我在app上看到的是4000多。 而且Log出来的Account信息,也和api描述的不一样,是为什么? 代码:Log('Account: ', exchange.GetAccount()); 结果:Account: {"Info":{"buyerCommission":0,"updateTime":1640443965415,"permissions":["SPOT","LEVERAGED"],"canDeposit":true,"accountType":"SPOT","balances":[{"asset":"BTC","free":"0.00000000","locked":"0.00000000"},{"asset":"LTC","free":"0.00033691","locked":"0.00000000"},{"free":"0.00000324","locked":"0.00000000","asset":"ETH"},{"locked":"0.00000000","asset":"NEO","free":"0.00000000"},{"locked":"0.00000000","asset":"BNB","free":"0.00000000"},{"asset":"QTUM","free":"0.00000000","locked":"0.00000000"},{"asset":"EOS","free":"0.00000000","locked":"0.00000000"},{"asset":"SNT","free":"0.00000000","locked":"0.00000000"},{"asset":"BNT","free":"0.00000000","locked":"0.00000000"},...


More

发明者量化-小小梦 /upload/asset/16d4a710940eb6443571.png 您好,您打印的是ETC。

CryptoMethod 我眼花了。。。我试了GetAccount()的结果,也是有Balance等信息的,可能Info信息太长了,后面的信息没打印出来。谢谢你这么快回复!!!