fix(TradingView Charts): resolveSymbol callback arguments (#334)
This commit is contained in:
parent
fef4608681
commit
947777fbe7
@ -120,8 +120,7 @@ export class OsmosisTheGraphDataFeed implements IDatafeedChartApi {
|
||||
setTimeout(() =>
|
||||
onResolve({
|
||||
...defaultSymbolInfo,
|
||||
currency_code: pairName.split(PAIR_SEPARATOR)[0],
|
||||
original_currency_code: pairName.split(PAIR_SEPARATOR)[1],
|
||||
name: pairName.split(PAIR_SEPARATOR)[0],
|
||||
full_name: pairName,
|
||||
description: pairName,
|
||||
ticker: pairName,
|
||||
|
@ -27,14 +27,7 @@ export const overrides = {
|
||||
'linetooltrendline.linewidth': 2,
|
||||
}
|
||||
|
||||
export const defaultSymbolInfo: LibrarySymbolInfo = {
|
||||
currency_code: '',
|
||||
original_currency_code: '',
|
||||
full_name: '',
|
||||
description: '',
|
||||
ticker: '',
|
||||
name: 'Osmosis',
|
||||
exchange: 'Osmosis',
|
||||
export const defaultSymbolInfo = {
|
||||
listed_exchange: 'Osmosis',
|
||||
type: 'AMM',
|
||||
session: '24x7',
|
||||
|
Loading…
Reference in New Issue
Block a user