fix: use categorical regime fundamentals
Deploy / lint (push) Successful in 8s
Deploy / test (push) Successful in 1m13s
Deploy / deploy (push) Successful in 37s

This commit is contained in:
2026-07-15 10:13:22 +02:00
parent ced066dc01
commit f714782fa4
7 changed files with 257 additions and 58 deletions
+12 -2
View File
@@ -511,6 +511,7 @@ export interface RegimeMonitor {
}
export interface RegimeFundamentals {
methodology: 'v2';
f1_score: number | null;
f3_score: number | null;
locked: boolean;
@@ -518,8 +519,17 @@ export interface RegimeFundamentals {
fetched_at: string | null;
effective_date: string | null;
source: string;
capex?: Record<string, string>;
good_news_stock_down?: string | null;
capex: Record<string, CapexState>;
good_news_stock_down: GoodNewsReaction;
}
export type CapexState = 'raising' | 'holding' | 'cutting' | 'unknown';
export type GoodNewsReaction = 'yes' | 'no' | 'mixed';
export interface RegimeFundamentalsUpdate {
capex?: Record<string, CapexState>;
good_news_stock_down?: GoodNewsReaction;
locked?: boolean;
}
export interface RegimeConfig {