fix: use categorical regime fundamentals
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user