UNPKG

@railpath/finance-toolkit

Version:

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

13 lines (12 loc) 380 B
import { z } from 'zod'; /** * Schema for Average True Range (ATR) calculation result */ export declare const ATRResultSchema: z.ZodObject<{ trueRange: z.ZodArray<z.ZodNumber>; atr: z.ZodArray<z.ZodNumber>; period: z.ZodNumber; count: z.ZodNumber; indices: z.ZodArray<z.ZodNumber>; }, z.core.$strip>; export type ATRResult = z.infer<typeof ATRResultSchema>;