We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a44b8e3 + e547b30 commit 4729e4cCopy full SHA for 4729e4c
piker/brokers/kraken/feed.py
@@ -85,6 +85,7 @@ class Pair(Struct):
85
margin_call: str # margin call level
86
margin_stop: str # stop-out/liquidation margin level
87
ordermin: float # minimum order volume for pair
88
+ tick_size: float # min price step size
89
90
91
class OHLC(Struct):
@@ -270,8 +271,12 @@ async def get_ohlc(
270
271
]:
272
273
nonlocal queries
- if queries > 0:
274
- raise DataUnavailable
+ if (
275
+ queries > 0
276
+ or timeframe != 60
277
+ ):
278
+ raise DataUnavailable(
279
+ 'Only a single query for 1m bars supported')
280
281
count = 0
282
while count <= 3:
0 commit comments