UNPKG

node-twstock

Version:

A client library for scraping Taiwan stock market data

16 lines (15 loc) 515 B
import { Scraper } from './scraper'; import { IndexQuote, StockQuote, Ticker } from '../interfaces'; export declare class MisTwseScraper extends Scraper { fetchListedIndices(options: { exchange: 'TWSE' | 'TPEx'; }): Promise<any>; fetchStocksQuote(options: { ticker: Ticker; odd?: boolean; }): Promise<StockQuote | null | undefined>; fetchIndicesQuote(options: { ticker: Ticker; }): Promise<IndexQuote | null | undefined>; private extractExChFromTicker; }