Closed SERDAR-AKIN closed 2 years ago
wow .. that's weird .. digging into it
I am trying to build my own tradebot but some orderbook data comes like that , so that I cant trust API response :(
Here is another example for you
https://bitshares.org/wallet/#/market/BTCPLUS_BTS
from bitshares.market import Market
Market("BTCPLUS:BTS").orderbook(limit=1)["asks"]
That's interesting ... what API node are you using?
All examples comes from wss://node.bitshares.eu
This still an issue?
https://bitshares.org/wallet/#/market/BTS_KAPITAL
If you look at the orderbook on the SELL side our first line is 171,875 BTS sell for 11,000 KAPITAL @0,064 KAPITAL/BTS
But when execute this code from API : from bitshares.market import Market Market("BTS:KAPITAL").orderbook(limit=1)["asks"]
Output is like that![image](https://cloud.githubusercontent.com/assets/26321769/25582206/a689d580-2e94-11e7-90de-1611d175ec6e.png)
There is something wrong there... Please take a look