-
Notifications
You must be signed in to change notification settings - Fork 3
/
mobile_white.html
42 lines (33 loc) · 1.22 KB
/
mobile_white.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
<!DOCTYPE html>
<html>
<head>
<title>TSEC Chart -- Mobile (white)</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.min.js"></script>
<script type="text/javascript" src="datafeeds/udf/dist/polyfills.js"></script>
<script type="text/javascript" src="datafeeds/udf/dist/bundle.js"></script>
<script type="text/javascript">
TradingView.onready(function()
{
var widget = new TradingView.widget({
fullscreen: true,
symbol: '2330',
interval: 'D',
container_id: "tv_chart_container",
// BEWARE: no trailing slash is expected in feed URL
datafeed: new Datafeeds.UDFCompatibleDatafeed(`https://raw.githubusercontent.com/Asoul/tsec/master`),
library_path: "charting_library/",
locale: getParameterByName('lang') || "zh_TW",
timezone: 'Asia/Taipei',
// disabled_features: ["use_localstorage_for_settings"],
preset: "mobile"
});
})
</script>
</head>
<body style="margin:0px;">
<div id="tv_chart_container"></div>
</body>
</html>