feat: add watchlist groups and multi-day intraday view

This commit is contained in:
shy3130
2026-08-10 11:39:08 +08:00
parent 99bdec875d
commit 2a2d3b764e
25 changed files with 2433 additions and 257 deletions
+3
View File
@@ -23,6 +23,7 @@ export const QK = {
// Watchlist
watchlist: ['watchlist'] as const,
watchlistGroups: ['watchlist-groups'] as const,
watchlistQuotes: ['watchlist-quotes'] as const,
watchlistEnriched: (ext?: string) => ['watchlist-enriched', ext] as const,
watchlistKlineBatch: (symbols: string) => ['watchlist-kline-batch', symbols] as const,
@@ -61,6 +62,8 @@ export const QK = {
stockLevels: (symbol: string, days?: number) => ['stock-levels', symbol, days ?? 120] as const,
klineMinute: (symbol: string, date: string) =>
['kline-minute', symbol, date] as const,
klineMinuteRange: (symbol: string, days: number) =>
['kline-minute-range', symbol, days] as const,
indexDaily: (symbol: string, start: string, end: string) =>
['index-daily', symbol, start, end] as const,
indexMinute: (symbol: string, date: string) =>