diff --git a/piker/brokers/ib.py b/piker/brokers/ib.py index d9e22d51..77bf513e 100644 --- a/piker/brokers/ib.py +++ b/piker/brokers/ib.py @@ -1164,6 +1164,7 @@ async def backfill_bars( """ out, fails = await get_bars(sym) + if out is None: raise RuntimeError("Could not pull currrent history?!") @@ -1356,7 +1357,7 @@ async def stream_quotes( # TODO: support multiple subscriptions sym = symbols[0] - with trio.fail_after(3): + with trio.fail_after(5): contract, first_ticker, details = await _trio_run_client_method( method='get_quote', symbol=sym,