Repair quote streaming test
parent
773457ac91
commit
ab8008ad61
|
@ -17,7 +17,7 @@ async def rx_price_quotes_from_brokerd(us_symbols):
|
||||||
'brokerd',
|
'brokerd',
|
||||||
rpc_module_paths=['piker.brokers.core'],
|
rpc_module_paths=['piker.brokers.core'],
|
||||||
statespace={
|
statespace={
|
||||||
'brokers2tickersubs': {},
|
'broker2tickersubs': {},
|
||||||
'clients': {},
|
'clients': {},
|
||||||
'dtasks': set()
|
'dtasks': set()
|
||||||
},
|
},
|
||||||
|
@ -31,9 +31,9 @@ async def rx_price_quotes_from_brokerd(us_symbols):
|
||||||
|
|
||||||
gen = await portal.run(
|
gen = await portal.run(
|
||||||
'piker.brokers.core',
|
'piker.brokers.core',
|
||||||
'_test_price_stream',
|
'start_quote_stream',
|
||||||
broker='robinhood',
|
broker='robinhood',
|
||||||
symbols=us_symbols,
|
tickers=us_symbols,
|
||||||
)
|
)
|
||||||
# it'd sure be nice to have an asyncitertools here...
|
# it'd sure be nice to have an asyncitertools here...
|
||||||
async for quotes in gen:
|
async for quotes in gen:
|
||||||
|
|
Loading…
Reference in New Issue