From 25b90afbdb83717d46462508e5a162f55f01c1f2 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 17 Sep 2022 14:15:59 -0400 Subject: [PATCH] Add `timeframe` input to `kraken` history api --- piker/brokers/kraken/feed.py | 1 + 1 file changed, 1 insertion(+) diff --git a/piker/brokers/kraken/feed.py b/piker/brokers/kraken/feed.py index 49961b52..b0bf9821 100644 --- a/piker/brokers/kraken/feed.py +++ b/piker/brokers/kraken/feed.py @@ -259,6 +259,7 @@ async def open_history_client( queries: int = 0 async def get_ohlc( + timeframe: float, end_dt: Optional[datetime] = None, start_dt: Optional[datetime] = None,