Add daily BTC/USD endpoint with historical caching and Swagger UI
pr / test (pull_request) Successful in 58s

This commit is contained in:
2026-09-30 07:47:14 +02:00
parent 814da02b09
commit e0c81e3be3
10 changed files with 352 additions and 1 deletions
@@ -0,0 +1,11 @@
CREATE TABLE kraken_day_history (
ts BIGINT NOT NULL PRIMARY KEY,
open NUMERIC(18,8) NOT NULL,
high NUMERIC(18,8) NOT NULL,
low NUMERIC(18,8) NOT NULL,
close NUMERIC(18,8) NOT NULL,
vwap NUMERIC(18,8) NOT NULL,
volume NUMERIC(24,8) NOT NULL,
trade_count INTEGER NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);