-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathindex.html
44 lines (38 loc) · 1.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML>
<html>
<head>
<title>TradingView Charting Library</title>
<!-- Fix for iOS Safari zooming bug -->
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<script type="text/javascript" src="charting_library/charting_library/charting_library.min.js"></script>
<script type="text/javascript" src="datafeed.js"></script>
<script type="text/javascript">
TradingView.onready(function () {
var widget = window.tvWidget = new TradingView.widget({
debug: false, // uncomment this line to see Library errors and warnings in the console
fullscreen: true,
symbol: 'ETHUSDT',
interval: '60',
container_id: "tv_chart_container",
// BEWARE: no trailing slash is expected in feed URL
datafeed: new BinanceDatafeed({ debug: false }),
library_path: "charting_library/charting_library/",
locale: "en",
// Regression Trend-related functionality is not implemented yet, so it's hidden for a while
drawings_access: { type: 'black', tools: [{ name: "Regression Trend" }] },
disabled_features: ["use_localstorage_for_settings"],
enabled_features: ["study_templates"],
charts_storage_url: 'http://saveload.tradingview.com',
charts_storage_api_version: "1.1",
client_id: 'tradingview.com',
user_id: 'public_user_id',
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
});
});
</script>
</head>
<body style="margin:0px;">
<div id="tv_chart_container"></div>
</body>
</html>