node-twstock
Version:
A client library for scraping Taiwan stock market data
18 lines (17 loc) • 579 B
TypeScript
import { Scraper } from './scraper';
import { FutOptQuote, Ticker } from '../interfaces';
export declare class MisTaifexScraper extends Scraper {
fetchListedFutOpt(options?: {
type?: 'F' | 'O';
}): Promise<any>;
fetchFutOptQuoteList(options: {
ticker: Ticker;
afterhours?: boolean;
}): Promise<FutOptQuote[] | null>;
fetchFutOptQuoteDetail(options: {
ticker: Ticker;
afterhours?: boolean;
}): Promise<FutOptQuote | null | undefined>;
private extractSymbolIdFromTicker;
private extractTypeFromCmdyDDLItem;
}