Deflect 1s OHLC loading for `kraken`
parent
72ec9b1e10
commit
e547b307f6
|
@ -271,8 +271,12 @@ async def open_history_client(
|
||||||
]:
|
]:
|
||||||
|
|
||||||
nonlocal queries
|
nonlocal queries
|
||||||
if queries > 0:
|
if (
|
||||||
raise DataUnavailable
|
queries > 0
|
||||||
|
or timeframe != 60
|
||||||
|
):
|
||||||
|
raise DataUnavailable(
|
||||||
|
'Only a single query for 1m bars supported')
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
while count <= 3:
|
while count <= 3:
|
||||||
|
|
Loading…
Reference in New Issue