Release v27.001 (from 3eb6c0e5)

This commit is contained in:
jenkins
2024-02-02 14:52:43 +00:00
parent a0bd039ed4
commit a1585eb225
20 changed files with 315 additions and 299 deletions

View File

@@ -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,

View File

@@ -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'],