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(() =>
|
setTimeout(() =>
|
||||||
onResolve({
|
onResolve({
|
||||||
...defaultSymbolInfo,
|
...defaultSymbolInfo,
|
||||||
currency_code: pairName.split(PAIR_SEPARATOR)[0],
|
name: pairName.split(PAIR_SEPARATOR)[0],
|
||||||
original_currency_code: pairName.split(PAIR_SEPARATOR)[1],
|
|
||||||
full_name: pairName,
|
full_name: pairName,
|
||||||
description: pairName,
|
description: pairName,
|
||||||
ticker: pairName,
|
ticker: pairName,
|
||||||
|
@ -27,14 +27,7 @@ export const overrides = {
|
|||||||
'linetooltrendline.linewidth': 2,
|
'linetooltrendline.linewidth': 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const defaultSymbolInfo: LibrarySymbolInfo = {
|
export const defaultSymbolInfo = {
|
||||||
currency_code: '',
|
|
||||||
original_currency_code: '',
|
|
||||||
full_name: '',
|
|
||||||
description: '',
|
|
||||||
ticker: '',
|
|
||||||
name: 'Osmosis',
|
|
||||||
exchange: 'Osmosis',
|
|
||||||
listed_exchange: 'Osmosis',
|
listed_exchange: 'Osmosis',
|
||||||
type: 'AMM',
|
type: 'AMM',
|
||||||
session: '24x7',
|
session: '24x7',
|
||||||
|
Loading…
Reference in New Issue
Block a user