UNPKG

polygon.io

Version:

Isomorphic Javascript client for Polygon.io Stocks, Forex, and Crypto APIs

17 lines (16 loc) 492 B
import { IPolygonQuery } from "../transport/request"; export interface ITickerNewsQuery extends IPolygonQuery { perpage?: number; page?: number; } export interface ITickerNews { symbols: string[]; title: string; url: string; source: string; summary: string; image?: string; timestamp: string; keywords?: string[]; } export declare const tickerNews: (apiKey: string, apiBase: string, symbol: string, query?: ITickerNewsQuery) => Promise<ITickerNews[]>;