UNPKG

stockfinder

Version:

Query IEX Cloud using an API key to get stock prices

13 lines (12 loc) 320 B
import { Quote } from './types'; declare const getStock: ({ ticker, apiKey }: { ticker: string; apiKey: string; }) => Promise<Quote>; declare const getStocks: ({ tickers, apiKey }: { tickers: string[]; apiKey: string; }) => Promise<Record<string, { quote: Quote; }>>; export { getStock, getStocks };