UNPKG

pse-edge

Version:

A NodeJS wrapper for the PSE Edge platform

13 lines (12 loc) 375 B
import DataLoader = require('dataloader'); export interface PseStock { companyId: string; listingDate: Date; secName: string; sector: string; securityId: string; subSector: string; symbol: string; } export declare const fetchStocksAll: () => Promise<PseStock[]>; export declare const stockLoader: DataLoader<string, PseStock | undefined, string>;