BitShares Forum
Main => Technical Support => Topic started by: programmor on December 23, 2017, 08:09:01 pm
-
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!
-
There are no orders on BTS:GAME market. Do you mean BTS:OPEN.GAME?
-
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!