Only load 4 ib requests worth of bars on windows...
parent
d069481f1d
commit
cc87508fd9
|
@ -1204,6 +1204,11 @@ async def backfill_bars(
|
||||||
https://github.com/pikers/piker/issues/128
|
https://github.com/pikers/piker/issues/128
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
if platform.system() == 'Windows':
|
||||||
|
log.warning(
|
||||||
|
'Decreasing history query count to 4 since, windows...')
|
||||||
|
count = 4
|
||||||
|
|
||||||
out, fails = await get_bars(sym)
|
out, fails = await get_bars(sym)
|
||||||
|
|
||||||
if out is None:
|
if out is None:
|
||||||
|
|
Loading…
Reference in New Issue