Compare commits
No commits in common. "704c66a04464db1c727322d518818e2348ab4b6c" and "ebdee8fa70d831d8342094da1f069b3eeadcbdd9" have entirely different histories.
704c66a044
...
ebdee8fa70
|
|
@ -275,14 +275,12 @@ async def open_history_client(
|
||||||
f'{times}'
|
f'{times}'
|
||||||
)
|
)
|
||||||
|
|
||||||
# XXX, debug any case where the latest 1m bar we get is
|
|
||||||
# already another "sample's-step-old"..
|
|
||||||
if end_dt is None:
|
if end_dt is None:
|
||||||
inow: int = round(time.time())
|
inow: int = round(time.time())
|
||||||
if (
|
if (
|
||||||
_time_step := (inow - times[-1])
|
(inow - times[-1])
|
||||||
>
|
>
|
||||||
timeframe * 2
|
timeframe
|
||||||
):
|
):
|
||||||
await tractor.pause()
|
await tractor.pause()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -452,13 +452,7 @@ def ldshm(
|
||||||
)
|
)
|
||||||
# last chance manual overwrites in REPL
|
# last chance manual overwrites in REPL
|
||||||
# await tractor.pause()
|
# await tractor.pause()
|
||||||
if not aids:
|
assert aids
|
||||||
log.warning(
|
|
||||||
f'No gaps were found !?\n'
|
|
||||||
f'fqme: {fqme!r}\n'
|
|
||||||
f'timeframe: {period_s!r}\n'
|
|
||||||
f"WELL THAT'S GOOD NOOZ!\n"
|
|
||||||
)
|
|
||||||
tf2aids[period_s] = aids
|
tf2aids[period_s] = aids
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue