Compare commits
4 Commits
40602d40ca
...
cd4fd02e5c
Author | SHA1 | Date |
---|---|---|
|
cd4fd02e5c | |
|
eb229f3522 | |
|
4d29722794 | |
|
77703f2201 |
|
@ -567,7 +567,6 @@ class Client:
|
||||||
) -> str:
|
) -> str:
|
||||||
return {
|
return {
|
||||||
'USDTM': 'usdtm_futes',
|
'USDTM': 'usdtm_futes',
|
||||||
'SPOT': 'spot',
|
|
||||||
# 'COINM': 'coin_futes',
|
# 'COINM': 'coin_futes',
|
||||||
# ^-TODO-^ bc someone might want it..?
|
# ^-TODO-^ bc someone might want it..?
|
||||||
}[pair.venue]
|
}[pair.venue]
|
||||||
|
|
|
@ -458,15 +458,13 @@ async def start_backfill(
|
||||||
'bf_until <- last_start_dt:\n'
|
'bf_until <- last_start_dt:\n'
|
||||||
f'{backfill_until_dt} <- {last_start_dt}\n'
|
f'{backfill_until_dt} <- {last_start_dt}\n'
|
||||||
)
|
)
|
||||||
# UGH: what's a better way?
|
|
||||||
# TODO: backends are responsible for being correct on
|
# ugh, what's a better way?
|
||||||
# this right!?
|
# TODO: fwiw, we probably want a way to signal a throttle
|
||||||
# -[ ] in the `ib` case we could maybe offer some way
|
# condition (eg. with ib) so that we can halt the
|
||||||
# to halt the request loop until the condition is
|
# request loop until the condition is resolved?
|
||||||
# resolved or should the backend be entirely in
|
if timeframe > 1:
|
||||||
# charge of solving such faults? yes, right?
|
await tractor.pause()
|
||||||
# if timeframe > 1:
|
|
||||||
# await tractor.pause()
|
|
||||||
return
|
return
|
||||||
|
|
||||||
assert (
|
assert (
|
||||||
|
@ -580,7 +578,6 @@ async def start_backfill(
|
||||||
'crypto',
|
'crypto',
|
||||||
'crypto_currency',
|
'crypto_currency',
|
||||||
'fiat', # a "forex pair"
|
'fiat', # a "forex pair"
|
||||||
'perpetual_future', # stupid "perps" from cex land
|
|
||||||
}:
|
}:
|
||||||
# for now, our table key schema is not including
|
# for now, our table key schema is not including
|
||||||
# the dst[/src] source asset token.
|
# the dst[/src] source asset token.
|
||||||
|
|
Loading…
Reference in New Issue