UNPKG

fitr

Version:
6 lines (5 loc) 381 B
import { PricePoint } from '../types'; import { PriceSource } from '../types'; export declare function getPriceHistory(symbol: string): Promise<PricePoint[]>; export declare function savePriceHistory(symbol: string, priceHistory: PricePoint[]): Promise<void>; export declare function addPricePoint(symbol: string, price: number, date: string, source?: PriceSource): Promise<void>;