Release v29.4.0 (from 29ac1aba6675f14818f3a5a9da75fa91c79107d0)
This commit is contained in:
15
charting_library/datafeed-api.d.ts
vendored
15
charting_library/datafeed-api.d.ts
vendored
@@ -5,6 +5,12 @@
|
||||
*/
|
||||
// Generated by dts-bundle-generator v9.5.1
|
||||
|
||||
export declare const enum SearchInitiationPoint {
|
||||
SymbolSearch = "symbolSearch",
|
||||
Watchlist = "watchlist",
|
||||
Compare = "compare",
|
||||
IndicatorInputs = "indicatorInputs"
|
||||
}
|
||||
/**
|
||||
* This is the generic type useful for declaring a nominal type,
|
||||
* which does not structurally matches with the base type and
|
||||
@@ -297,8 +303,9 @@ export interface IDatafeedChartApi {
|
||||
* @param exchange The requested exchange. Empty value means no filter was specified
|
||||
* @param symbolType Type of symbol. Empty value means no filter was specified
|
||||
* @param onResult Callback function that returns an array of results ({@link SearchSymbolResultItem}) or empty array if no symbols found
|
||||
* @param searchSource The source of the search ({@link SearchInitiationPoint}).
|
||||
*/
|
||||
searchSymbols(userInput: string, exchange: string, symbolType: string, onResult: SearchSymbolsCallback): void;
|
||||
searchSymbols(userInput: string, exchange: string, symbolType: string, onResult: SearchSymbolsCallback, searchSource?: SearchInitiationPoint): void;
|
||||
/**
|
||||
* The library will call this function when it needs to get SymbolInfo by symbol name.
|
||||
*
|
||||
@@ -439,9 +446,7 @@ export interface LibrarySymbolInfo {
|
||||
* Array of base symbols
|
||||
* Example: for `AAPL*MSFT` it is `['NASDAQ:AAPL', 'NASDAQ:MSFT']`
|
||||
*/
|
||||
base_name?: [
|
||||
string
|
||||
];
|
||||
base_name?: string[];
|
||||
/**
|
||||
* It is an unique identifier for a particular symbol in your [symbology](https://www.tradingview.com/charting-library-docs/latest/connecting_data/Symbology).
|
||||
* If you specify this property, its value will be used for all data requests for this symbol.
|
||||
@@ -1131,7 +1136,7 @@ export type ServerTimeCallback = (serverTime: number) => void;
|
||||
export type SubscribeBarsCallback = (bar: Bar) => void;
|
||||
export type TimeScaleMarkShape = "circle" | "earningUp" | "earningDown" | "earning";
|
||||
export type Timezone = "Etc/UTC" | CustomTimezones;
|
||||
export type VisiblePlotsSet = "ohlcv" | "ohlc" | "c";
|
||||
export type VisiblePlotsSet = "ohlcv" | "ohlc" | "c" | "hlc";
|
||||
|
||||
export as namespace TradingView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user