Drop `marketstore` loading cruft (will come later)

async_hist_loading
Tyler Goodlet 2022-03-01 12:39:12 -05:00
parent 09079b61fc
commit f7d03489d8
1 changed files with 5 additions and 22 deletions

View File

@ -208,14 +208,6 @@ async def manage_history(
buffer. buffer.
''' '''
# TODO: history retreival, see if we can pull from an existing
# ``marketstored`` daemon
log.info('Scanning for existing `marketstored`')
fqsn = mk_fqsn(mod.name, symbol)
# from .marketstore import manage_history
# arrays = await manage_history(symbol)
arrays = {}
task_status.started() task_status.started()
opened = we_opened_shm opened = we_opened_shm
@ -225,15 +217,6 @@ async def manage_history(
# raise RuntimeError("Persistent shm for sym was already open?!") # raise RuntimeError("Persistent shm for sym was already open?!")
if opened: if opened:
if arrays:
await tractor.breakpoint()
# push to shm
# set data ready
# some_data_ready.set()
raise ValueError('this should never execute yet')
else:
# ask broker backend for new history # ask broker backend for new history
# start history backfill task ``backfill_bars()`` is # start history backfill task ``backfill_bars()`` is