yahoo_finance_api_wrapper
There is no official documentation for the current Yahoo Finance Api. This wrapper was developed based on hints (google search) and testing what works.
npm install --save git+https://[email protected]/schardtbc/yahoo_finance_api_wrapper.git
# in your code file
import { YahooFinance } from "yahoo_finance_api_wrapper"
...
export declare class YahooFinance {
static quote: (symbol: string) => Promise<import("./interfaces").IQuote[]>;
static optionChain: (symbol: string, expirationDate?: number) => Promise<import("./interfaces").IOptionChain>;
static optionQuote: (symbol: string) => Promise<import("./interfaces").IOptionQuote>;
}