Skip to main content

ob

Returns orderbook for a coin in a given exchange

Source Code: [link]

openbb.crypto.dd.ob(exchange: str, symbol: str, to_symbol: str)

Parameters

NameTypeDescriptionDefaultOptional
exchangestrexchange idNoneFalse
symbolstrcoin symbolNoneFalse
to_symbolstrcurrency to compare coin againstNoneFalse

Returns

TypeDescription
Dict[str, Any]With bids and asks