symbol search in tv
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {useChartOrderStore} from "@/orderbuild.js";
|
||||
import {invokeCallbacks, prototype} from "@/common.js";
|
||||
import datafeed from "@/charts/datafeed.js";
|
||||
|
||||
export let widget = null
|
||||
export let chart = null
|
||||
@@ -21,12 +22,12 @@ export function initWidget(el) {
|
||||
library_path: "/charting_library/",
|
||||
// debug: true,
|
||||
autosize: true,
|
||||
symbol: 'AAPL',
|
||||
// symbol: 'Uniswap:WETH/USD', // use this for ohlc
|
||||
// symbol: 'AAPL',
|
||||
symbol: 'UNIv3:WETH/USDC', // use this for ohlc
|
||||
interval: '1D',
|
||||
container: el,
|
||||
datafeed: new Datafeeds.UDFCompatibleDatafeed("https://demo-feed-data.tradingview.com"),
|
||||
// datafeed: datafeed, // use this for ohlc
|
||||
// datafeed: new Datafeeds.UDFCompatibleDatafeed("https://demo-feed-data.tradingview.com"),
|
||||
datafeed: datafeed, // use this for ohlc
|
||||
locale: "en",
|
||||
disabled_features: [],
|
||||
enabled_features: ['saveload_separate_drawings_storage'],
|
||||
|
||||
Reference in New Issue
Block a user