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:
dennisthiessen committed 2026-07-15 10:13:22 +02:00
1 parent ced066dc01
commit f714782fa4
7 files changed
+257 -58

No files matched your search

+2 -5
View File
@@ -3,6 +3,7 @@ import type {
RegimeMonitor,
RegimeConfig,
RegimeFundamentals,
RegimeFundamentalsUpdate,
EventStudyReport,
RegimeHistoryPoint,
} from '../lib/types';
@@ -33,11 +34,7 @@ export function getRegimeFundamentals() {
return apiClient.get<RegimeFundamentals>('regime/fundamentals').then((r) => r.data);
}
export function updateRegimeFundamentals(body: {
f1_score?: number;
f3_score?: number;
locked?: boolean;
}) {
export function updateRegimeFundamentals(body: RegimeFundamentalsUpdate) {
return apiClient.put<RegimeFundamentals>('regime/fundamentals', body).then((r) => r.data);
}