Set default quote rate to 5/sec
parent
1ea784558c
commit
933fe980c1
|
@ -50,7 +50,7 @@ async def poll_tickers(
|
||||||
quoter: AsyncContextManager,
|
quoter: AsyncContextManager,
|
||||||
tickers: [str],
|
tickers: [str],
|
||||||
q: trio.Queue,
|
q: trio.Queue,
|
||||||
rate: int = 3, # delay between quote requests
|
rate: int = 5, # delay between quote requests
|
||||||
diff_cached: bool = True, # only deliver "new" quotes to the queue
|
diff_cached: bool = True, # only deliver "new" quotes to the queue
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Stream quotes for a sequence of tickers at the given ``rate``
|
"""Stream quotes for a sequence of tickers at the given ``rate``
|
||||||
|
|
Loading…
Reference in New Issue