Import from new `.data._timeseries` mod for anal

basic_buy_bot
Tyler Goodlet 2023-06-08 11:52:59 -04:00
parent 8233d12afb
commit fda7111305
1 changed files with 3 additions and 2 deletions

View File

@ -150,8 +150,9 @@ def anal(
assert first_dt < last_dt
src_df = await client.as_df(fqme, period)
df = mod.with_dts(src_df)
gaps: pl.DataFrame = mod.detect_time_gaps(df)
from piker.data import _timeseries as tsmod
df = tsmod.with_dts(src_df)
gaps: pl.DataFrame = tsmod.detect_time_gaps(df)
# TODO: something better with tab completion..
# is there something more minimal but nearly as