Author Topic: orderbook api call is showing blank orderbook  (Read 1469 times)

0 Members and 1 Guest are viewing this topic.

Offline programmor

  • Newbie
  • *
  • Posts: 2
    • View Profile
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!

Offline yvv

  • Hero Member
  • *****
  • Posts: 1186
    • View Profile
There are no orders on BTS:GAME market. Do you mean BTS:OPEN.GAME?

Offline programmor

  • Newbie
  • *
  • Posts: 2
    • View Profile
hey all,
Im using the python lib bitshares.

if i do:
Code: [Select]
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:
Code: [Select]
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!
« Last Edit: December 23, 2017, 08:17:09 pm by programmor »