/** * FINRA Reg SHO daily short-sale volume file URL for a given venue and date. */ export declare function buildRegShoUrl(venue: string, dateYYYYMMDD: string): string; export interface RawRegShoRow { date: string; symbol: string; shortVolume: number; shortExemptVolume: number; totalVolume: number; } export declare function parseRegShoFile(text: string): Map; /** * Generate the most recent N business days ending yesterday (Reg SHO daily * files are typically published next business day). */ export declare function recentBusinessDays(now: Date, count: number): string[]; export interface DailyShortVolumeRow { date: string; shortVolume: number; totalVolume: number; shortRatio: number; } /** * Fetch one ticker's daily short-sale volume for the most recent N business * days, aggregating across all venues by SUMMING short volume and total volume, * then computing the ratio from the sums. */ export declare function getDailyShortVolume(ticker: string, daysBack: number, now?: Date): Promise;