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

Function fetch_ticker

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

Source from the content-addressed store, hash-verified

53
54
55async def fetch_ticker(exchange, symbol):
56 try:
57 result = await exchange.fetch_ticker(symbol)
58 return result
59 except ccxt.BaseError as e:
60 print(type(e).__name__, str(e), str(e.args))
61 raise e
62
63
64async def fetch_orderbook(exchange, symbol):

Callers 1

run_all_exchangesFunction · 0.70

Calls 1

fetch_tickerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…