UNPKG

pse-edge

Version:

A NodeJS wrapper for the PSE Edge platform

17 lines (16 loc) 466 B
import DataLoader = require('dataloader'); export interface PseStock { companyId: string; listingDate: Date; secName: string; sector: string; securityId: string; subSector: string; symbol: string; } /** * Fetches all stocks listed in the Philippine Stock Exchange * @returns PseStock */ export declare const fetchStocksAll: () => Promise<PseStock[]>; export declare const stockLoader: DataLoader<string, PseStock | undefined, string>;