UNPKG

polygon.io

Version:

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

5 lines (4 loc) 625 B
import { IAggregateQuery, IAggResponseFormatted } from "../stocks/aggregates"; export declare const cryptoPreviousClose: (apiKey: string, apiBase: string, ticker: string, query?: IAggregateQuery) => Promise<IAggResponseFormatted>; export declare const cryptoAggregates: (apiKey: string, apiBase: string, ticker: string, multiplier: number, timespan: string, from: string, to: string, query?: IAggregateQuery) => Promise<IAggResponseFormatted>; export declare const cryptoGroupedDaily: (apiKey: string, apiBase: string, locale: string, market: string, date: string, query?: IAggregateQuery) => Promise<IAggResponseFormatted>;