UNPKG

tradingview-api-adapter

Version:

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

12 lines (11 loc) 588 B
export interface KeyTo<T> { [k: string]: T; } export interface KeyMayTo<T> { [k: string]: T | undefined; } export declare type MainField = 'minmov' | 'minmove2' | 'circulating_supply' | 'popularity' | 'average_volume' | 'total_supply' | 'total_shares_outstanding' | 'ask' | 'bid' | 'lp' | 'low_price' | 'open_price' | 'high_price' | 'prev_close_price' | 'open_time' | 'chp' | 'ch' | 'volume' | 'total_shares_diluted' | 'total_value_traded' | 'pricescale' | 'pointvalue'; export declare type Field = MainField | string; export declare type QuotedData = { [k in Field]: any; };