Deflect 1s OHLC loading for `kraken`

kraken_pair_updates
Tyler Goodlet 2022-11-10 01:42:48 -05:00
parent 72ec9b1e10
commit e547b307f6
1 changed files with 6 additions and 2 deletions

View File

@ -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: