bitshares / python-bitshares

Fully featured client-side library for the BitShares Blockchain - written entirely in python.
http://docs.pybitshares.com/
MIT License
162 stars 167 forks source link

Api error on Market.orderbook #4

Closed SERDAR-AKIN closed 2 years ago

SERDAR-AKIN commented 7 years ago

https://bitshares.org/wallet/#/market/BTS_KAPITAL image 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

There is something wrong there... Please take a look

xeroc commented 7 years ago

wow .. that's weird .. digging into it

SERDAR-AKIN commented 7 years ago

I am trying to build my own tradebot but some orderbook data comes like that , so that I cant trust API response :(

SERDAR-AKIN commented 7 years ago

Here is another example for you https://bitshares.org/wallet/#/market/BTCPLUS_BTS image

from bitshares.market import Market Market("BTCPLUS:BTS").orderbook(limit=1)["asks"]

image

xeroc commented 7 years ago

That's interesting ... what API node are you using?

SERDAR-AKIN commented 7 years ago

All examples comes from wss://node.bitshares.eu

xeroc commented 6 years ago

This still an issue?