Release v27.001 (from 3eb6c0e5)
This commit is contained in:
@@ -170,7 +170,7 @@ export class SymbolsStorage {
|
||||
const symbolInfo = item.symbolInfo;
|
||||
return {
|
||||
symbol: symbolInfo.name,
|
||||
full_name: symbolInfo.full_name,
|
||||
full_name: `${symbolInfo.exchange}:${symbolInfo.name}`,
|
||||
description: symbolInfo.description,
|
||||
exchange: symbolInfo.exchange,
|
||||
params: [],
|
||||
@@ -248,7 +248,6 @@ export class SymbolsStorage {
|
||||
ticker: ticker,
|
||||
name: symbolName,
|
||||
base_name: [listedExchange + ':' + symbolName],
|
||||
full_name: fullName,
|
||||
listed_exchange: listedExchange,
|
||||
exchange: tradedExchange,
|
||||
currency_code: currencyCode,
|
||||
|
||||
@@ -331,15 +331,14 @@ export class UDFCompatibleDatafeedBase implements IExternalDatafeed, IDatafeedQu
|
||||
const symbol = response.name;
|
||||
const listedExchange = response.listed_exchange ?? response['exchange-listed'];
|
||||
const tradedExchange = response.exchange ?? response['exchange-traded'];
|
||||
const fullName = response.full_name ?? `${tradedExchange}:${symbol}`;
|
||||
|
||||
const result: LibrarySymbolInfo = {
|
||||
...response,
|
||||
name: symbol,
|
||||
base_name: [listedExchange + ':' + symbol],
|
||||
full_name: fullName,
|
||||
listed_exchange: listedExchange,
|
||||
exchange: tradedExchange,
|
||||
ticker: response.ticker,
|
||||
currency_code: response.currency_code ?? response['currency-code'],
|
||||
original_currency_code: response.original_currency_code ?? response['original-currency-code'],
|
||||
unit_id: response.unit_id ?? response['unit-id'],
|
||||
|
||||
Reference in New Issue
Block a user