Get_orderbook. Object has no attribute 'get_orderbook'


#1

Hi guys,
When I call a method get_orderbook(context.btc) I get:
AttributeError: ‘ExchangeTradingAlgorithmBacktest’ object has no attribute ‘get_orderbook’

catalyst, version 0.5.20
catalyst.api.get_orderbook ( self , asset , order_type=‘all’ , limit=None )


#2

Hi @tt095,

The get_orderbook API function is supported only in live and paper trading modes.
It seems it is not well documented, we will fix the docs.

Thanks for pointing this out!

Lena