Set default quote rate to 5/sec

kivy_mainline_and_py3.8
Tyler Goodlet 2018-03-21 17:27:04 -04:00
parent 1ea784558c
commit 933fe980c1
1 changed files with 1 additions and 1 deletions

View File

@ -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``