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

Function poll

examples/py/async-generator-basic.py:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12
13async def poll():
14 exchange = ccxt.poloniex()
15 while True:
16 yield await exchange.fetch_ticker('ETH/BTC')
17
18
19async def main():

Callers 1

mainFunction · 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…