MCPcopy Create free account
hub / github.com/ccxt/ccxt / fetch_orderbook

Function fetch_orderbook

examples/py/async-basic-callchain.py:64–70  ·  view source on GitHub ↗
(exchange, symbol)

Source from the content-addressed store, hash-verified

62
63
64async def fetch_orderbook(exchange, symbol):
65 try:
66 result = await exchange.fetch_order_book(symbol)
67 return result
68 except ccxt.BaseError as e:
69 print(type(e).__name__, str(e), str(e.args))
70 raise e
71
72
73if __name__ == '__main__':

Callers 1

run_all_exchangesFunction · 0.85

Calls 1

fetch_order_bookMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…