Try downsampling mkts data

marketstore
Tyler Goodlet 2022-03-11 16:09:07 -05:00
parent 279516959f
commit 62ef081694
1 changed files with 7 additions and 1 deletions

View File

@ -433,7 +433,13 @@ async def backfill_history_diff(
raise MarketStoreError(err)
# TODO: backfiller loop
# await tractor.breakpoint()
from piker.ui._compression import downsample
x, y = downsample(
s1['Epoch'],
s1['Close'],
bins=10,
)
await tractor.breakpoint()
async def ingest_quote_stream(