UNPKG

@railpath/finance-toolkit

Version:

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

12 lines (11 loc) 344 B
import { z } from 'zod'; /** * Schema for Exponential Moving Average (EMA) calculation result */ export declare const EMAResultSchema: z.ZodObject<{ ema: z.ZodArray<z.ZodNumber>; period: z.ZodNumber; smoothingFactor: z.ZodNumber; count: z.ZodNumber; }, z.core.$strip>; export type EMAResult = z.infer<typeof EMAResultSchema>;