Add comment about un-reffed vars meant for use in shell

l1_precision_fix
Tyler Goodlet 2022-05-08 15:39:25 -04:00
parent fb9b6990ae
commit 8e08fb7b23
1 changed files with 3 additions and 1 deletions

View File

@ -494,7 +494,6 @@ async def tsdb_history_update(
):
profiler(f'opened feed for {fqsn}')
to_append = feed.shm.array
to_prepend = None
@ -511,6 +510,9 @@ async def tsdb_history_update(
# hist diffing
if tsdb_arrays:
onesec = tsdb_arrays[1]
# these aren't currently used but can be referenced from
# within the embedded ipython shell below.
to_append = ohlcv[ohlcv['time'] > onesec['Epoch'][-1]]
to_prepend = ohlcv[ohlcv['time'] < onesec['Epoch'][0]]