UNPKG

tradingview-api-adapter

Version:

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

21 lines (20 loc) 766 B
/// <reference types="node" /> import { QuoteSession } from "../Client"; import { EventEmitter } from "events"; export declare class QuoteSessionAdapter extends EventEmitter { private readonly $bridge; private readonly $isMultiChannel; private firstLoad; constructor($bridge: QuoteSession, $isMultiChannel?: boolean); /** Section of the protected code **/ setFields(field: string): void; setFields(fieldList: Set<string>): void; addPairs(pair: string): void; addPairs(pairList: Set<string>): void; removePairs(pair: string): void; removePairs(pairList: Set<string>): void; /** End section of the protected code **/ /** Section of the system code **/ private launchSession; private handleSessionListener; }