UNPKG

@railpath/finance-toolkit

Version:

Production-ready finance library for portfolio construction, risk analytics, quantitative metrics, and ML-based regime detection

18 lines (17 loc) 497 B
import { z } from 'zod'; /** * Zod schema for volatility calculation result */ export declare const VolatilityResultSchema: z.ZodObject<{ value: z.ZodNumber; method: z.ZodString; annualized: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; /** * TypeScript types derived from Zod schemas */ export type VolatilityResult = z.infer<typeof VolatilityResultSchema>; /** * Validated type after parsing */ export type VolatilityResultValidated = z.output<typeof VolatilityResultSchema>;