Add Kraken hourly OHLC poller with database storage

Fetches Bitcoin hourly candles from the Kraken public REST API
and upserts them into a kraken_hour table on a 5-minute poll interval,
following the existing Integrant component pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 17:32:55 +01:00
co-authored by Claude Opus 4.6
parent 2c576aff4e
commit 553dac3069
6 changed files with 139 additions and 2 deletions
+5 -1
View File
@@ -56,4 +56,8 @@
:ws/binance
{:query-fn #ig/ref :db.sql/query-fn
:uri "wss://stream.binance.com:9443/ws/btcusdt@trade"}}
:uri "wss://stream.binance.com:9443/ws/btcusdt@trade"}
:kraken/ohlc
{:query-fn #ig/ref :db.sql/query-fn
:interval-ms 300000}}