import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetPerformanceMetricsRequest = { /** * Future symbol */ symbol: string; /** * the requested metric as described in the metadata. Default: hitrate */ metric?: string | null | undefined; /** * the horizon (number of business days in the future) of the model of interest. Default, returns for all horizons */ horizon?: number | null | undefined; /** * Start of the performance assessment window (YYYY-MM-DD) */ startDate?: string | null | undefined; /** * End of the performance assessment window (YYYY-MM-DD) */ endDate?: string | null | undefined; /** * Allows to assess directional performance filtered on days where the % expected change of the forecast is greater than threshold. Default: no filter. Valid only for hitrate style metrics. Eg. enter 0.02 for 2% */ thresholdOnForecast?: number | null | undefined; /** * Allows to assess directional performance filtered on days where the % realized price change is greater than threshold. Default: no filter. Valid only for hitrate style metrics. Eg. enter 0.02 for 2% */ thresholdOnActual?: number | null | undefined; /** * Use the run date of the forecast to filter the performance assessment window. If false, use the target date. Setting this to false makes the result deterministic from day to day. */ useRunDate?: boolean | undefined; /** * Number of standard deviations to calculate for ACE. Unused for other metrics. */ sigma?: number | undefined; /** * Model against which performance metrics will be assessed. */ modelName?: string | null | undefined; }; /** @internal */ export declare const GetPerformanceMetricsRequest$inboundSchema: z.ZodType; /** @internal */ export type GetPerformanceMetricsRequest$Outbound = { symbol: string; metric?: string | null | undefined; horizon?: number | null | undefined; start_date?: string | null | undefined; end_date?: string | null | undefined; threshold_on_forecast?: number | null | undefined; threshold_on_actual?: number | null | undefined; use_run_date: boolean; sigma: number; model_name?: string | null | undefined; }; /** @internal */ export declare const GetPerformanceMetricsRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetPerformanceMetricsRequest$ { /** @deprecated use `GetPerformanceMetricsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetPerformanceMetricsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetPerformanceMetricsRequest$Outbound` instead. */ type Outbound = GetPerformanceMetricsRequest$Outbound; } export declare function getPerformanceMetricsRequestToJSON(getPerformanceMetricsRequest: GetPerformanceMetricsRequest): string; export declare function getPerformanceMetricsRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getperformancemetrics.d.ts.map