UNPKG

tradingview-api-adapter

Version:

API Adapter for real-time market data as quoted prices and symbol ticker details from Tradingview

13 lines (12 loc) 556 B
import { Quote } from "./Quote"; import { TickerDetails } from "./TickerDetails"; import { QuoteChannel } from "./QuoteChannel"; import { Field, KeyTo } from "./types"; export declare class TvApiAdapter { private readonly $client; constructor(); Quote(ticker: string, market: string, fields: Array<string>): Quote; QuoteChannel(quoteKeyList: string[], fields: Array<Field>): QuoteChannel; QuoteChannel(pairGroups: KeyTo<string[]>, fields: Array<Field>): QuoteChannel; TickerDetails(ticker: string, market: string): TickerDetails; }