orderbook api call is showing blank orderbook

Started by programmor, December 23, 2017, 08:09:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

programmor

Thank you, you are indeed a hero member

I didn't see to even try that since USD is not prefixed by anything so i can maybe assume now that BIT. is implied for the bit assets, but not the OPEN ones.

Thanks again!

yvv

There are no orders on BTS:GAME market. Do you mean BTS:OPEN.GAME?

programmor

#1
hey all,
Im using the python lib bitshares.

if i do:

from bitshares import BitShares
from bitshares.market import Market

bs = BitShares( 'wss://bitshares.openledger.info/ws', nobroadcast=True )

market = Market("BTS:USD", bitshares_instance=bs)
book = market.orderbook()


then the book is full of orders and they jive with what is on wallet.bitshares.org, but when:

market = Market("BTS:GAME", bitshares_instance=bitshares)


the orderbook is totally empty although if i go to wallet.bitshares.org in a browser it is full of orders.

How do I see the orderbook for BTS to GAME market using the API?

Thanks very much!