我正在尝试克隆交易视图图表 api。我检查了他们提供的 github 示例,发现以下代码:
var _datafeed = new Datafeeds.UDFCompatibleDatafeed("http://yourhost/tradingview", 10000);
var _widget = window.tvWidget = new TradingView.widget({
symbol: 'AAPL',
fullscreen:true,
interval: '15',
container_id: "tv_chart_container",
datafeed: _datafeed,
library_path: "/charting_library/",
locale: getParameterByName('lang') || "en",
disabled_features: ["use_localstorage_for_settings", "header_symbol_search", "symbol_search_hot_key"],
debug: false,
overrides: {
"paneProperties.background": "#222222",
"paneProperties.vertGridProperties.color": "#454545",
"paneProperties.horzGridProperties.color": "#454545",
"symbolWatermarkProperties.transparency": 90,
"scalesProperties.textColor": "#AAA"
}
});
我知道提供的数据是从 url “ http://yourhost/tradingview ”给出的。谁能帮我找到从该 url 提供的数据格式。提前致谢