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