Merge pull request #418 from pikers/kraken_pair_updates

Kraken pair updates
pre_multifeed_hotfix
goodboy 2022-11-10 17:31:39 -05:00 committed by GitHub
commit 4729e4c6bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -85,6 +85,7 @@ class Pair(Struct):
margin_call: str # margin call level
margin_stop: str # stop-out/liquidation margin level
ordermin: float # minimum order volume for pair
tick_size: float # min price step size
class OHLC(Struct):
@ -270,8 +271,12 @@ async def open_history_client(
]:
nonlocal queries
if queries > 0:
raise DataUnavailable
if (
queries > 0
or timeframe != 60
):
raise DataUnavailable(
'Only a single query for 1m bars supported')
count = 0
while count <= 3: