Skip to content

Instantly share code, notes, and snippets.

@Shestac92
Last active October 3, 2017 08:50
Show Gist options
  • Save Shestac92/f090e291f86a980ca4ff68ae1a3d74b1 to your computer and use it in GitHub Desktop.
Save Shestac92/f090e291f86a980ca4ff68ae1a3d74b1 to your computer and use it in GitHub Desktop.
TS-316 option 1
Date Open Price High Price Low Price Close Price Turnover
2015-10-01 1354.5 1375 1352 1363.1 198099089.7
2015-10-05 1372.2 1378 1362.1 1369.7 242138483.8
2015-10-06 1377 1380 1343 1350.4 388755644.2
2015-10-07 1353.5 1357 1329.2 1352.25 335672221.4
2015-10-08 1354 1361.5 1345 1356.2 279707161.3
2015-10-09 1363.2 1384.8 1342 1347.35 271566246.3
2015-10-12 1350 1359.95 1340.6 1344.35 282407292.3
2015-10-13 1344.35 1358 1343 1352.2 304851856.5
2015-10-14 1352 1378 1351.9 1376.25 320439915.2
2015-10-15 1383.8 1395.3 1368.5 1371.25 257714871
2015-10-16 1375 1399.9 1365.2 1393.7 212821311
2015-10-19 1398.5 1407 1383.5 1395.95 521745762.3
2015-10-20 1382.35 1388.8 1374.55 1379.3 411538888.7
2015-10-21 1360 1387 1357.15 1378.95 583689781.4
2015-10-23 1394 1403 1381 1400.2 346892635.2
2015-10-26 1405 1407.45 1385.25 1393.75 240713664.8
2015-10-27 1390 1398 1380.05 1385.8 248743777.5
2015-10-28 1385.9 1405 1371.3 1401.05 324470463.8
2015-10-29 1395 1397.5 1376 1385.4 242666132
2015-10-30 1398.7 1398.7 1372.15 1379.6 354360307.7
2015-10-31 1373.25 1405 1362.9 1398.4 237710587
2015-11-01 1405 1434 1404.95 1425.9 607416508.1
2015-11-02 1440 1443 1397.9 1405.7 321624948.2
2015-11-03 1410 1410 1381.25 1388.75 188892821.5
2015-11-04 1388 1392.65 1371.1 1384.05 103480227.1
2015-11-05 1359.15 1373.8 1343.5 1367.7 196094319.9
2015-11-06 1359 1372.6 1314.35 1322.1 323991479.9
2015-11-07 1325.2 1340.95 1310.35 1330.5 40237203.85
2015-11-08 1321.5 1333.95 1314.2 1326.7 279914841.6
2015-11-09 1324.9 1331 1300.8 1324.45 368588087.5
2015-11-10 1330 1337.95 1315 1325.5 199080796.3
2015-11-11 1324 1340.55 1322 1334.3 255197147.5
2015-11-12 1336 1343.9 1328.4 1332.85 233830677.8
2015-11-13 1333 1349.45 1331.2 1339.75 401266586.2
2015-11-14 1340 1346.5 1335.65 1343.6 232760469.4
2015-11-15 1343.8 1359.3 1337 1341.5 388919979.6
2015-11-16 1347.9 1360 1328.25 1355.95 280712953.5
2015-11-17 1357.3 1365.4 1340.2 1353.2 160014368.6
2015-11-18 1356.9 1359.5 1340 1344.25 429080509.7
2015-11-19 1349 1364.25 1347.15 1357.9 199257994.3
2015-11-20 1362.5 1373.15 1355 1359.85 207940694.1
2015-11-21 1356 1363.3 1348.35 1350.1 216300968.9
2015-11-22 1340 1342.65 1332.3 1334.85 304984160.3
2015-11-23 1336.45 1355.95 1335.5 1353.45 202482743.5
2015-11-24 1348.7 1351.05 1332.6 1339.2 192913861.1
2015-11-25 1340 1340.05 1307.9 1313.75 305518274.9
2015-11-26 1316 1330 1305.4 1324.45 243451612.3
2015-11-27 1325.5 1343 1310.85 1319.4 381478887.2
2015-11-28 1315 1345 1312 1341.8 143874929.5
2015-11-29 1343.25 1344.95 1325.75 1337.65 143766963.8
2015-11-30 1349.5 1354.95 1338 1349.1 262849494.9
2015-12-01 1351.9 1364.8 1349.95 1356.2 225356268.5
2015-12-02 1354.9 1359 1338.25 1349 388707009.9
2015-12-03 1346.1 1357 1343.1 1353 152954849.6
2015-12-04 1349.5 1359.6 1341.9 1348.9 156691771.8
2015-12-05 1356.7 1360.1 1338.15 1342.05 152279486.4
2015-12-06 1347.75 1354.9 1340 1344.15 173129235.2
2015-12-07 1345 1353 1326.3 1330.85 223773162.8
2015-12-08 1334.8 1354 1328.2 1350.45 219579764.9
2015-12-09 1349 1359.5 1345 1349.8 112797666.8
2015-12-10 1345 1370 1344.3 1360.65 333006908.6
2015-12-11 1362 1380.4 1360 1373.65 222391592.7
2015-12-12 1368.4 1378.2 1332 1344 214203914.5
2015-12-13 1345 1355.5 1338.8 1341.3 169848293.2
2015-12-14 1348 1348 1317.75 1320.35 419967105.2
2015-12-15 1317.75 1318.5 1293 1300.5 392268141.3
2015-12-16 1302.9 1308.4 1275 1295.8 208274641.7
2015-12-17 1287.8 1303 1272.2 1297.55 183661283.9
2015-12-18 1295.25 1301 1275 1280.4 135949062.8
2015-12-19 1290 1294 1266.5 1281.95 212971581.8
2015-12-20 1270 1277.7 1259.1 1269.05 157323984.5
2015-12-21 1275 1275 1223.25 1229.6 176811330.4
2015-12-22 1232.5 1241 1212.3 1224.25 192032658.1
2015-12-23 1230 1246 1222.5 1235.3 218450032.8
2015-12-24 1218.9 1229 1205 1212.25 189568109.3
2015-12-25 1225 1236.95 1211.25 1228.45 256284210.9
2015-12-26 1239.95 1256.65 1230.05 1241 153670437.4
2015-12-27 1250 1263.5 1241.05 1245 155909698.5
2015-12-28 1249 1250 1228 1230.35 139617403.6
2015-12-29 1232.4 1234.9 1208 1214.95 164443450.4
2015-12-30 1220.1 1253.5 1216.05 1240.05 315850123.1
2015-12-31 1245 1278.9 1240.3 1271.85 267447706
2016-01-01 1266.8 1283 1253.05 1261.35 259863412.5
2016-01-02 1244 1279 1241.45 1248.95 240899602.1
2016-01-03 1255.25 1277.4 1253.2 1270.4 261204406.5
2016-01-04 1267.05 1286 1259.05 1271.4 294369268.1
2016-01-05 1271 1309.75 1270.15 1280.6 282466629.8
2016-01-06 1271 1292.85 1270 1279.1 190579793.4
2016-01-07 1270 1278.25 1250.05 1265.85 323970934.9
2016-01-08 1250 1264.7 1225.5 1234 287215349.6
2016-01-09 1234.2 1242.65 1199.1 1221.05 259010520.9
2016-01-10 1230 1268.7 1228.35 1256.55 164575209.6
2016-01-11 1265 1273.1 1225 1227.8 181193490.1
2016-01-12 1222.8 1233.5 1204 1226.05 201302361.7
2016-01-13 1235 1265.65 1231.6 1262.35 243680869.2
2016-01-14 1259.8 1280.9 1248.4 1278 202818794.8
2016-01-15 1274.5 1287.3 1267.65 1281.5 156559500.2
2016-01-16 1271.1 1282 1240.65 1243.9 173814559.7
2016-01-17 1239 1245.25 1225.8 1233.15 151512390.1
2016-01-18 1231.4 1234.8 1196 1199.85 251949119.6
2016-01-19 1210.3 1210.35 1182.15 1190.9 266949052.2
2016-01-20 1189 1206.9 1174 1193.9 237606654.4
2016-01-21 1199 1243.35 1195 1232.9 183643030.3
2016-01-22 1240 1259.8 1233.9 1243.25 175180967.7
2016-01-23 1245.7 1259.8 1233 1254.15 282158267.1
2016-01-24 1255 1256 1232 1239.35 235370878.5
2016-01-25 1239.1 1254.95 1231.1 1241.15 188933062
2016-01-26 1237.3 1249.7 1233.25 1243.75 378253579
2016-01-27 1248 1250 1226.1 1230.35 195178147.1
2016-01-28 1225 1238 1218 1226.75 279615523
2016-01-29 1231.3 1239 1230 1235.8 246772672.7
2016-01-30 1236 1244.85 1231.3 1240.1 313151727.5
2016-01-31 1240.4 1247.5 1228.05 1236.15 165205180.6
2016-02-01 1243.9 1284.3 1243.9 1273.7 839846766.3
2016-02-02 1280.1 1340.3 1280 1337.2 1237523349
2016-02-03 1344.35 1378 1338 1374.35 879112238.3
2016-02-04 1374 1374 1352 1365.5 373070120.3
2016-02-05 1368 1400 1358.1 1372.65 479805113.7
2016-02-06 1372.65 1392 1355.2 1377.55 498013431.2
2016-02-07 1367.05 1388 1353.1 1366.05 419106010.8
2016-02-08 1373 1392 1371.1 1385.7 392735161.2
2016-02-09 1395 1395 1362.2 1381.9 819428004.2
2016-02-10 1371.25 1417 1371.25 1413.8 493708011.1
2016-02-11 1409.95 1424.25 1397 1412.1 429689999.2
2016-02-12 1405 1415 1387 1390.75 344293697.7
2016-02-13 1395 1433.5 1392 1427.7 563157256.8
2016-02-14 1425 1434 1411.2 1417.55 268827953.4
2016-02-15 1414 1448.85 1411.9 1441.85 555898800.5
2016-02-16 1447.5 1449.95 1425.5 1447.15 263360134.4
2016-02-17 1448.9 1452.5 1430.05 1448.7 328282889.9
2016-02-18 1451.35 1475 1450.75 1469.95 525672608.8
2016-02-19 1465.1 1469 1437.2 1464.15 423306013.9
2016-02-20 1468.1 1481.5 1460.25 1467.65 441436156.6
2016-02-21 1482.5 1482.5 1428 1433.3 264605839.2
2016-02-22 1430 1432.5 1410.75 1414.15 393359068.9
2016-02-23 1424 1429.6 1406 1422.9 233195715.1
2016-02-24 1430 1434.8 1421.2 1426.9 262240702
2016-02-25 1428.85 1445.6 1419 1429.55 200810909.6
2016-02-26 1422.1 1451 1408 1437.85 1152818368
2016-02-27 1450.8 1459 1428.9 1443.15 409207420.7
2016-02-28 1442 1446.45 1416.15 1420.55 293126078.2
2016-02-29 1430 1445 1413.7 1420.15 312325603.6
2016-03-01 1414 1420 1398.2 1403.7 269385574.3
2016-03-02 1395.8 1407.8 1379.3 1394.85 301223603
2016-03-03 1389 1445 1388.3 1425.45 416491123.4
2016-03-04 1432.5 1451.9 1428.4 1439.75 263881314
2016-03-05 1438 1465.95 1425.5 1463.35 373921215.9
2016-03-06 1457 1472.4 1441.5 1467.25 455701597.4
2016-03-07 1460 1475 1456.1 1462.4 186565336.8
2016-03-08 1451.1 1462.95 1441 1457.1 278113962.3
2016-03-09 1452.3 1462 1442.6 1458.2 138414778.9
2016-03-10 1468 1468 1440.05 1449.4 197937955.2
2016-03-11 1442.5 1442.5 1428.5 1434.05 204318663.7
2016-03-12 1435 1438 1403 1409.85 175815820.2
2016-03-13 1415 1418.85 1390.15 1393.45 186479752
2016-03-14 1393.25 1428 1390 1418 455533266.5
2016-03-15 1418.05 1450 1412.6 1446.15 315360574.3
2016-03-16 1456 1489.4 1452.75 1475.05 597765725.1
2016-03-17 1485 1508 1474.75 1504.05 473451796.6
2016-03-18 1509 1533.3 1502 1522.95 657415850.6
2016-03-19 1530 1546 1525.05 1537.15 937619773.3
2016-03-20 1535.05 1546.5 1521.5 1529.05 687726333.4
2016-03-21 1535 1559.95 1528 1552.4 1143948698
2016-03-22 1552.4 1558 1537.1 1546.3 316345760
2016-03-23 1553.5 1564 1533.6 1540 1181603370
2016-03-24 1542 1544.5 1532 1534.7 625630829.8
2016-03-25 1526.15 1555.9 1526.15 1540.45 541302509.5
2016-03-26 1545 1550 1532.15 1546.75 570003443.5
2016-03-27 1547.5 1555 1528 1533 657542290.7
2016-03-28 1530 1559.95 1530 1555.65 1057645310
2016-03-29 1548 1551.8 1537 1546.8 595839837.3
2016-03-30 1550 1552.85 1536.2 1539.95 190936075.8
2016-03-31 1542.05 1564.65 1538.05 1560.15 262827433.1
2016-04-01 1559.9 1571.4 1535.55 1544.95 382477249.2
2016-04-02 1555 1559.4 1544.6 1555.4 246896522.6
2016-04-03 1538.4 1574.05 1538.4 1570.15 294103190.2
2016-04-04 1573 1576.85 1553.5 1559 206277713.4
2016-04-05 1565 1575 1558.55 1571.05 410696885.2
2016-04-06 1571 1579.7 1566 1571.6 320185855.4
2016-04-07 1550 1575.95 1522 1568.1 700038078.2
2016-04-08 1567 1614 1564.85 1601 699277918.4
2016-06-28 1608.2 1610.35 1585 1598.4 351758047.1
2016-06-29 1617 1617 1591.65 1598.95 908912787
2016-06-30 1601.5 1624.95 1595.15 1616.05 699316620.2
2016-07-01 1618.35 1626.05 1611.75 1617.4 307678438.5
2016-07-04 1618 1625.95 1600.25 1605.6 242664281.2
2016-07-05 1612.7 1614.6 1585 1589.3 391177951.1
2016-07-07 1585.7 1609.75 1569.05 1604.7 476245350.8
2016-07-08 1610 1610.05 1592.3 1597.65 320298850.6
2016-07-11 1608.1 1623.85 1606.05 1616.8 216409723.5
2016-07-12 1616.2 1629.95 1607.8 1620.1 233887297.6
2016-07-13 1616.5 1625.3 1611 1617.2 330580095.6
2016-07-14 1617.9 1629 1609.4 1626.2 246228037.1
2016-07-15 1628.3 1644.3 1608.15 1613 328602881
2016-07-18 1619 1619 1590.2 1595.5 292841669.3
2016-07-19 1595.3 1611.9 1579.55 1602.55 467284719
2016-07-20 1612.1 1640 1607.55 1631.8 553822132.4
2016-07-21 1645 1718 1643 1708.2 1499649337
2016-07-22 1700 1702.85 1675.15 1681.55 542961802.7
2016-07-25 1678.95 1693.75 1668.35 1675.65 498421265.2
2016-07-26 1685 1709.95 1660.95 1675.55 1447198204
2016-07-27 1699.95 1699.95 1657.4 1665.15 605656105.4
2016-07-28 1676 1690.65 1659.5 1685.1 682845753.4
2016-07-29 1681.95 1717.95 1665.6 1688.7 492963069.2
2016-08-01 1695.55 1703.5 1674 1688.85 277226676.2
2016-08-02 1678 1688.8 1659.6 1670.75 265681541.1
2016-08-03 1672.7 1684.8 1661 1668.8 198132830.3
2016-08-04 1679.9 1684.9 1657.15 1666.25 219513567.7
2016-08-05 1678 1724.45 1667.3 1721.05 596306103.5
2016-08-08 1725.9 1736.4 1708.8 1715.15 522175254.5
2016-08-09 1715 1723.95 1674.9 1685.95 495816840.2
2016-08-10 1688 1688 1611.1 1618.9 349099441.9
2016-08-11 1620 1647.55 1584 1618.4 612443282.7
2016-08-12 1625.05 1660 1621.95 1652.5 554577017.1
2016-08-16 1654.3 1676.95 1653.6 1663.85 583987863.4
2016-08-17 1662.7 1684.7 1641.8 1675 493077022.1
2016-08-18 1682.5 1699.95 1677.6 1692.7 700697434.5
2016-08-19 1690 1708.05 1682 1691.2 582561465.3
2016-08-22 1692.65 1696 1655 1660.95 331455653.8
2016-08-23 1654 1681.8 1630 1654.65 510689238.9
2016-08-24 1643 1658.7 1640 1647.4 220618859
2016-08-25 1651 1666.1 1641.1 1645.8 318600323.8
2016-08-26 1648.2 1663.4 1622.75 1638.2 218284720.3
2016-08-29 1638 1641.85 1623.45 1634.95 193301942
2016-08-30 1640.5 1695 1640.05 1688.6 492415068.4
2016-08-31 1688.6 1725 1688.6 1709.8 1048561377
2016-09-01 1668 1699 1668 1687.55 777069775.7
2016-09-02 1690.3 1696 1665.4 1669.55 390853684.3
2016-09-06 1685 1708.25 1673.5 1698.85 480976608.2
2016-09-07 1701 1706.8 1682.1 1696.35 418628960.8
2016-09-08 1687.2 1715 1683.55 1692.75 443532679.4
2016-09-09 1693 1693 1651.2 1653.35 477301022.3
2016-09-12 1640 1640 1570.25 1582.4 408964743.7
2016-09-14 1584 1626.9 1582.65 1620 451470800.8
2016-09-15 1615.05 1623.85 1592.7 1611.2 363383522.1
2016-09-16 1625 1639.9 1613.4 1626.3 407572820.1
2016-09-19 1636 1658 1632.15 1652.75 422447395.3
2016-09-20 1652 1656.3 1625.5 1632.3 453485941.8
2016-09-21 1631.5 1645.75 1625.05 1629.25 335411376.8
2016-09-22 1644 1671 1640 1666.05 519972859.5
2016-09-23 1672 1672 1610.7 1617 439307575.8
2016-09-26 1608.2 1618.5 1593.4 1610.95 391879923.7
2016-09-27 1612.3 1624 1604 1608.4 240092091.8
2016-09-28 1605 1623 1603 1616.15 199085300
2016-09-29 1620 1627.4 1577.35 1588.4 1149269941
2016-09-30 1576.25 1611.85 1576.25 1599.85 248346491.2
2016-10-03 1615 1639 1605 1631.95 246713578
2016-10-04 1633.7 1643.4 1622 1637.1 579668713.3
2016-10-05 1640 1647.9 1622.5 1638 432296889.3
2016-10-06 1642 1653 1619.2 1629.75 410907139.5
2016-10-07 1628.9 1630.7 1608.5 1625.4 424241323
2016-10-10 1628.8 1674 1623.8 1668.5 699361977.6
2016-10-13 1660 1660 1622.45 1632.05 354753790.4
2016-10-14 1636 1651 1630.05 1640.25 299002512.6
2016-10-17 1641 1644.9 1598.2 1604.7 527551819.2
2016-10-18 1607 1618 1590.5 1616 475405212.2
2016-10-19 1619.8 1627 1606.4 1610.55 256205176.7
2016-10-20 1620 1627.8 1604.8 1609.45 235515417.9
2016-10-21 1612 1614 1541.85 1566.15 2516014170
2016-10-24 1560.2 1586.7 1551.25 1565.9 528742070.8
2016-10-25 1568 1568 1547.6 1551.65 327090257.8
2016-10-26 1546.35 1549 1535 1543 281507010.4
2016-10-27 1540 1545.6 1514.1 1525 693077958
2016-10-28 1526.65 1532 1508.6 1516.7 217402706.4
2016-10-30 1519.7 1527.45 1515 1517.75 55607997.45
2016-11-01 1514.7 1528.7 1499 1503.85 344758771.1
2016-11-02 1483 1512 1483 1488.15 288130918.7
2016-11-03 1488.25 1521.45 1487.65 1510.1 537754682.2
2016-11-04 1511.7 1526.35 1474.1 1490.05 542676998.8
2016-11-07 1499.2 1517 1483.25 1487.65 377941931.4
2016-11-08 1491.9 1512 1489.55 1507.9 308260087.8
2016-11-09 1451.15 1467 1358 1455.2 816917369.5
2016-11-10 1470 1497 1450.05 1456.8 562316209.8
2016-11-11 1448.9 1448.9 1391.45 1400.45 395566555.3
2016-11-15 1396.1 1431.95 1328.5 1334.55 1564335285
2016-11-16 1349 1375 1307.85 1338.85 549537440.9
2016-11-17 1338.9 1338.9 1295 1301.4 366929033.9
2016-11-18 1306 1318.45 1291 1309.7 266400254
2016-11-21 1315 1316.4 1265.15 1272.25 508910285.9
2016-11-22 1282 1297 1256.55 1293 351441256.3
2016-11-23 1306 1316.9 1276.7 1302.75 346516164.5
2016-11-24 1302 1335 1281.1 1325.15 511237256.1
2016-11-25 1331 1331 1298.75 1309.4 431048403.4
2016-11-28 1312.9 1326.9 1304.9 1317.7 345750407.3
2016-11-29 1321.1 1339.8 1306.55 1320 286226791.3
2016-11-30 1325 1354.75 1323.2 1342.4 480963344.8
2016-12-01 1349.1 1354.9 1327 1338 309319587.3
2016-12-02 1333.8 1338 1317.9 1325.7 251206573.5
2016-12-05 1332.35 1347.25 1318.8 1340 251721499.8
2016-12-06 1341.25 1357.4 1340 1350.55 202868578.5
2016-12-07 1352.25 1360.9 1347.45 1350 429212323.1
2016-12-08 1352.2 1371.4 1351 1358.65 257470378
2016-12-09 1362.25 1385 1355.55 1379.15 292794027.3
2016-12-12 1372.5 1375.75 1341.15 1345.9 236941850.5
2016-12-13 1348.7 1349.9 1328.2 1339.75 215141963.6
2016-12-14 1340.05 1343 1310.1 1313.45 322317614.9
2016-12-15 1306 1328.1 1304.85 1314.95 316691011.9
2016-12-16 1316.8 1318.5 1283.05 1294.15 466343226.9
2016-12-19 1294.15 1296.75 1269.55 1277.7 411769882.9
2016-12-20 1274.8 1299 1272 1295.15 165365671.1
2016-12-21 1300.05 1314.1 1295 1300 247761836.8
2016-12-22 1298.8 1305.1 1285.2 1294.4 252988998.1
2016-12-23 1296.05 1305 1285.5 1296.3 216684383.2
2016-12-26 1293.65 1295 1278.4 1284.1 165416497.6
2016-12-27 1284 1297 1279.3 1294.8 159817303.5
2016-12-28 1283.3 1305 1283.3 1294.8 358832746.3
2016-12-29 1295 1314.7 1293.4 1309.95 369904506.7
2016-12-30 1311.2 1336 1310 1331.05 215153123.4
2017-01-02 1340 1357.45 1339 1351.9 262933192
2017-01-03 1359.9 1359.9 1336.65 1343.55 224878211.3
2017-01-04 1347.7 1351 1315.15 1319.4 272052779.4
2017-01-05 1330.5 1339 1320.1 1332.85 482765971.4
2017-01-06 1338 1349.1 1330 1333.9 332405617.9
2017-01-09 1343.7 1343.7 1316.5 1327.85 179116309.2
2017-01-10 1332 1337.35 1314.05 1319.6 219770198.7
2017-01-11 1325 1354 1320 1348.7 536197688.5
2017-01-12 1357 1361 1332.35 1341.6 379285935.3
2017-01-13 1344.8 1350 1327.7 1329.5 135087686
2017-01-16 1331 1339.9 1325 1331 143206707
2017-01-17 1333 1339.9 1315 1328.9 276321915.7
2017-01-18 1337.75 1353.8 1331 1349.7 677955421.2
2017-01-19 1351 1367.95 1342.35 1361.05 761977785.5
2017-01-20 1357.9 1365 1315 1326.45 511242164.8
2017-01-23 1326.15 1343.6 1326.15 1334.7 274949305.7
2017-01-24 1339 1362 1337.1 1358.6 1125365172
2017-01-25 1361.5 1413 1352.6 1399.4 1029143349
2017-01-27 1420 1440 1413 1430.65 883386146.5
2017-01-30 1428.8 1440 1412 1428.4 307120022.8
2017-01-31 1415.25 1434.9 1406.25 1413.5 265331417.4
2017-02-01 1416 1476.15 1412.5 1468.55 579294764.6
2017-02-02 1470 1470 1423.1 1431.85 440200550.1
2017-02-03 1430 1439.35 1408.05 1423.9 917162747
2017-02-06 1412.1 1502.75 1402 1480.15 1872675467
2017-02-07 1483.7 1483.7 1445.4 1456.2 423424143.2
2017-02-08 1456.9 1504 1456.9 1497.1 968758710.9
2017-02-09 1497.15 1512.05 1477.6 1485.5 558021226.7
2017-02-10 1487.45 1496.95 1474.5 1486.95 226760973.8
2017-02-13 1492 1502.3 1462.1 1487.55 345286317
2017-02-14 1485 1487 1461.9 1465.55 336761311.4
2017-02-15 1466.2 1477.1 1435.1 1442.9 388029349.2
2017-02-16 1447.7 1459.6 1435.35 1455.85 241373981.9
2017-02-17 1460 1474.6 1452.1 1465.7 201393739.8
2017-02-20 1467.3 1477.9 1455.55 1460.65 222741887.3
2017-02-21 1452.5 1474.5 1448.2 1467.45 320200347.6
2017-02-22 1470 1477 1443.4 1447.6 347132751
2017-02-23 1448.9 1453.9 1427.95 1438.1 552591556.7
2017-02-27 1443.45 1443.45 1410.8 1417.5 343117160.7
2017-02-28 1422.65 1423.95 1402.7 1411.5 781415484.1
2017-03-01 1416 1422 1406.45 1408.95 478148872.9
2017-03-02 1417.65 1438.85 1401.65 1407.85 587100038.8
2017-03-03 1405 1416.9 1390.9 1393.7 334627404
2017-03-06 1398 1407.4 1388.55 1393.45 210813694.1
2017-03-07 1395 1395 1383 1387.35 402541854.2
2017-03-08 1391.65 1409 1386.3 1397.95 891671985.5
2017-03-09 1387.45 1424.4 1386.7 1401.95 822738369.3
2017-03-10 1407 1415 1395.95 1400 392712187.1
2017-03-14 1425 1429.95 1408.55 1415.4 804216469.4
2017-03-15 1426 1431.45 1418 1420.4 328140732.2
2017-03-16 1428.9 1431 1419 1422 404701777
2017-03-17 1425.5 1427.9 1403.3 1411.5 351369159.8
2017-03-20 1417.45 1417.45 1405.5 1408.7 319011177.8
2017-03-21 1411 1421.2 1406.05 1413.05 234600710
2017-03-22 1408.9 1411.8 1383.85 1386.4 218974749.5
2017-03-23 1389 1404.7 1380.4 1400.75 273185231.3
2017-03-24 1400.4 1410 1393.1 1396.45 278814186.2
2017-03-27 1396.45 1403 1390.85 1396.8 506499478.5
2017-03-28 1396.8 1423.7 1396.8 1417.2 425319399.4
2017-03-29 1419 1435.1 1417 1423.35 448590346.2
2017-03-30 1424.4 1430.5 1412.5 1418.95 576271112.8
2017-03-31 1422.1 1450 1422.1 1446.05 614334022.2
2017-04-03 1470 1476.4 1455.5 1461.95 646936349.7
2017-04-05 1462.35 1477 1453.15 1470.2 413626587.3
2017-04-06 1463.25 1494.95 1458.55 1489.75 423799001.6
2017-04-07 1480 1489.5 1461.45 1468.1 276383673.1
2017-04-10 1471.5 1478 1465.55 1473.8 237833899.5
2017-04-11 1468 1493.55 1458.05 1489.9 343420931.1
2017-04-12 1482.35 1507.75 1476 1494.55 479006337.5
2017-04-13 1490 1512 1487.25 1494.15 853831642.7
2017-04-17 1493.4 1514.75 1475 1503.2 839013266.7
2017-04-18 1504.85 1519.45 1482.1 1492.85 535851784.3
2017-04-19 1495.8 1517.9 1485.45 1511.35 685732336.2
2017-04-20 1511 1522 1504.9 1511.05 422468832.3
2017-04-21 1509.45 1511.55 1486 1495.45 449298447
2017-04-24 1518 1615.6 1513.55 1607 3326465258
2017-04-25 1610.05 1613.9 1587.65 1607.3 864764441.9
2017-04-26 1607.3 1626.8 1591.1 1601.6 848230323.6
2017-04-27 1603 1644.85 1589.05 1636 778039859.1
2017-04-28 1626.65 1635 1606.05 1626.55 605316303.7
2017-05-02 1625 1625 1570 1593.05 566995646.4
2017-05-03 1586.25 1620 1586.25 1608.55 430440798
2017-05-04 1613.9 1632 1603.95 1624.05 603096561.4
2017-05-05 1624.05 1669.95 1611.3 1660.15 962145475.4
2017-05-08 1685.1 1756.7 1685.1 1711.25 2478879951
2017-05-09 1701 1728.85 1696.5 1701.2 962756146.3
2017-05-10 1705 1711.3 1673.6 1690.35 541202565.9
2017-05-11 1698 1722.95 1681 1689.3 429592480.6
2017-05-12 1691.9 1699.95 1656.2 1679.85 466480469.5
2017-05-15 1682.2 1710 1677.2 1681.9 369642685.9
2017-05-16 1683.1 1740 1683.1 1729.65 1117256297
2017-05-17 1729.5 1729.5 1690.1 1694.05 599173582.5
2017-05-18 1683.9 1690.7 1664.5 1670.4 318874146.4
2017-05-19 1676 1704.5 1666 1675.4 404467914.4
2017-05-22 1692.95 1692.95 1616.3 1626.85 506138996.5
2017-05-23 1635 1647 1603.55 1627.5 552648047.9
2017-05-24 1627.2 1639.9 1575 1582.95 612921633.5
2017-05-25 1580 1633 1571.4 1619.7 881730000
2017-05-26 1615 1638.9 1605.25 1632.35 313572691.4
2017-05-29 1633.1 1654 1617.45 1624.4 454355075.6
2017-05-30 1623.8 1641.75 1595.05 1635.15 489452838.7
2017-05-31 1636 1657 1628.55 1637.05 611565863.9
2017-06-01 1632.2 1664.3 1631.65 1658.1 686054117.1
2017-06-02 1662.25 1671.95 1639 1643 307049417.2
2017-06-05 1641 1658 1632.1 1645.7 443151669.7
2017-06-06 1648.8 1654.65 1597.2 1607 343338114.6
2017-06-07 1606 1620 1600 1612.15 392564761.6
2017-06-08 1620 1624 1604.9 1619.05 219944906.5
2017-06-09 1617 1625 1600.1 1618.75 298738898.8
2017-06-12 1613.1 1624.5 1605 1608.5 337492014.9
2017-06-13 1617 1641.85 1608.05 1615.8 804525752.3
2017-06-14 1613 1619 1584.5 1597.9 491974668.7
2017-06-15 1595 1615 1586.6 1612.1 285496901.5
2017-06-16 1610 1647.45 1601 1638.6 548330162.5
2017-06-19 1644 1657 1633 1641.6 309797956.9
2017-06-20 1644.8 1656.6 1630.3 1652.65 330568329.9
2017-06-21 1647.65 1661 1638.05 1657.7 406996387.1
2017-06-22 1660 1674.15 1646 1651 955419219.4
2017-06-23 1653.9 1655.95 1626.4 1636.7 281527492.6
2017-06-27 1641 1643 1570.1 1578.55 567917730
2017-06-28 1573 1591.9 1541.25 1580.05 1087888615
2017-06-29 1591.65 1611.9 1572.1 1579.95 753044941.8
2017-06-30 1573.25 1579 1555.45 1568.05 424761915.5
2017-07-03 1569.9 1590.7 1566.95 1587.6 697395277.2
2017-07-04 1591.6 1605.65 1570 1580.65 306267658.1
2017-07-05 1581.2 1599 1572.05 1594.45 536373326.4
2017-07-06 1597.65 1621.45 1588 1611.65 455090455
2017-07-07 1610.8 1627.85 1604 1609.35 1031884235
2017-07-10 1615.25 1635 1615.25 1628.1 95910855
2017-07-11 1632.9 1656.9 1626.2 1650.8 560425822
2017-07-12 1700 1710 1635 1705.95 1208556138
2017-07-13 1707.25 1721.35 1690 1703.55 745392370.7
2017-07-14 1701 1769.65 1698.8 1755.1 1363078932
2017-07-17 1761 1776.9 1725.05 1747.4 1788283566
2017-07-18 1800 1809 1747 1759.5 3794644208
2017-07-19 1767.85 1775.25 1725.1 1734.6 753578565.2
2017-07-20 1742.95 1758.2 1705.2 1712 816921948.3
2017-07-21 1718 1725.05 1695.45 1708.6 602894585
2017-07-24 1715 1739 1708.1 1724.85 617010069.4
2017-07-25 1747.5 1747.5 1712.6 1726.1 582652723
2017-07-26 1725 1732.35 1697.95 1706.35 660669831.8
2017-07-27 1712 1744.4 1707.6 1732 1583856451
2017-07-28 1738.8 1758 1726 1731.2 842165276.4
2017-07-31 1736 1759 1728.3 1733.2 549513891.6
2017-08-01 1743 1752 1731.6 1737.75 378897568.7
2017-08-02 1725 1775 1712.5 1772.1 1316885655
2017-08-03 1778 1817.8 1758 1810.6 1597342684
2017-08-04 1793.5 1837 1793.5 1813.35 1042565773
2017-08-07 1818 1827 1795.05 1817.35 466903732.3
2017-08-08 1817.35 1837.55 1792.5 1812.15 697759361.5
2017-08-09 1809.95 1831 1793.4 1819.5 544091370.2
2017-08-10 1813.9 1813.9 1770 1776.7 600289994.3
2017-08-11 1764.9 1793.45 1748 1760.55 711321760.9
2017-08-14 1764.8 1793.5 1751 1784.8 1032027084
2017-08-16 1785.6 1816.75 1772.4 1811.2 682026044.8
2017-08-17 1814 1824.9 1771.35 1780.1 647739665.9
2017-08-18 1773.6 1804.95 1764.1 1794.3 491152875.7
2017-08-21 1809 1813 1785.1 1792.6 588880495.4
2017-08-22 1798.9 1804.5 1772.1 1789.3 809793615.6
2017-08-23 1787 1806 1782.4 1801.9 395995307.4
2017-08-24 1794 1803.6 1775.05 1781.5 438374020.4
2017-08-28 1784.4 1831.9 1781.95 1815.7 931194983
2017-08-29 1800 1816.7 1786.05 1801.5 715277586.8
2017-08-30 1819 1830 1806.1 1811.2 374920510.7
2017-08-31 1814 1817.55 1793.5 1800.25 632960135.8
2017-09-01 1794 1826 1794 1818.05 492629913.4
2017-09-04 1823.7 1823.7 1765.4 1771.1 839316885.9
2017-09-05 1772.4 1810.55 1758.45 1804.95 986129374.8
2017-09-06 1799 1816 1792.6 1807.1 746915560.1
2017-09-07 1806.8 1812.95 1782.5 1786.75 541095165
2017-09-08 1793.4 1803.2 1781.25 1791.25 314096197.3
2017-09-11 1803.35 1810 1792.5 1797.55 363118012
2017-09-12 1797.55 1857.6 1797 1851.25 1264723565
2017-09-13 1848 1869.95 1838.2 1843.75 962995410.1
2017-09-14 1841 1855 1827 1844.85 406526165.2
2017-09-15 1840 1840 1811.05 1820.7 588081326
2017-09-18 1827.2 1847.55 1822.05 1825.85 366298895.4
2017-09-19 1832.7 1833.8 1812 1817.2 367278767
2017-09-20 1823 1824.9 1778.1 1786.05 750805943.1
2017-09-21 1786.95 1789.3 1742.45 1749.8 1021472288
2017-09-22 1745.25 1746 1680 1688.3 661024005.4
2017-09-25 1688 1692 1625.1 1632.65 991606445.4
2017-09-26 1628 1648.9 1617.4 1632.1 1605265535
2017-09-27 1644 1663.65 1580 1589.75 1072768219
2017-09-28 1596 1669.5 1590.05 1645.85 3261504792
2017-09-29 1660 1679 1643.25 1656.9 1068739890
function setColClass(e) {
var t, a = e.find(".col-sm-4").length,
i = e.find(".col-sm-4").last().index();
if (3 !== a) {
if (a > 3)
for (; a > 3;) a -= 3;
for (t = 12 / a; a;) --a, e.find($("[class*='col-sm-']")).eq(i - a).removeClass("col-sm-4").addClass("col-sm-" + t)
}
}
function getInputLabelText(e) {
var t = "",
a = [];
return e.split(/(?=[A-Z])/).filter(function (e) {
1 === e.length ? t += e : (t += " ", t += e)
}), t = t.trim(), t = t[0].toUpperCase() + t.substr(1), t.split(" ").filter(function (e, i) {
1 === e.length && i !== t.split(" ").length - 1 ? a.push(e + "-") : a.push(e)
}), a.join(" ").replace(/-\s/, "-")
}
function updateTextForIndicatorTypeSelect(e) {
e.val() && (e.val().length > 1 ? e.find("option:selected").each(function () {
$(this).text($(this).attr("data-abbr"))
}) : e.find("option:selected").each(function () {
$(this).text($(this).attr("data-full-text"))
}), e.selectpicker("refresh").closest(".bootstrap-select").find(".dropdown-menu.inner").find("span.text").each(function (t) {
$(this).text(e.find("option").eq(t).attr("data-full-text"))
}))
}
var chart;
var annotationsColor;
function initTooltip(position) {
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip({
'placement': position,
'animation': false
});
});
}
function hidePreloader() {
$('#loader-wrapper').fadeOut('slow');
}
function createPageColorPicker() {
var colorPicker = $('.color-picker');
chart = anychart.stock();
var strokeWidth;
var STROKE_WIDTH = 1;
colorPicker.colorpickerplus();
colorPicker.on('changeColor', function (e, color) {
var annotation = chart.annotations().getSelectedAnnotation();
if (annotation) {
switch ($(this).data('color')) {
case 'fill':
annotation.fill(color);
break;
case 'stroke':
strokeWidth = annotation.stroke().thickness || STROKE_WIDTH;
strokeDash = annotation.stroke().dash || '';
var settings = {
thickness: strokeWidth,
color: color,
dash: strokeDash
};
annotation.stroke(settings);
annotation.hoverStroke(settings);
annotation.selectStroke(settings);
}
}
if (color == null) {
$('.color-fill-icon', $(this)).addClass('colorpicker-color');
} else {
$('.color-fill-icon', $(this)).removeClass('colorpicker-color');
$('.color-fill-icon', $(this)).css('background-color', color);
}
});
}
function removeSelectedAnnotation() {
var annotation = chart.annotations().getSelectedAnnotation();
if (annotation) chart.annotations().removeAnnotation(annotation);
return !!annotation;
}
function removeAllAnnotation() {
chart.annotations().removeAllAnnotations();
}
function onAnnotationDrawingFinish() {
setToolbarButtonActive(null);
}
function onAnnotationSelect(evt) {
var annotation = evt.annotation;
var colorFill;
var colorStroke;
var strokeWidth;
var strokeDash;
var strokeType;
var markerSize;
var STROKE_WIDTH = 1;
// val 6 in select = 'solid'
var STROKE_TYPE = '6';
var $strokeSettings = $('#select-stroke-settings');
var $markerSize = $('#select-marker-size');
var $markerSizeBtn = $('.select-marker-size');
var $colorPickerFill = $('.color-picker[data-color="fill"]');
var $colorPickerStroke = $('.color-picker[data-color="stroke"]');
if (annotation.fill !== undefined) {
$colorPickerFill.removeAttr('disabled');
colorFill = annotation.fill();
} else {
$colorPickerFill.attr('disabled', 'disabled');
}
if (typeof annotation.stroke() === 'function') {
colorStroke = $colorPickerStroke.find('.color-fill-icon').css('background-color');
colorFill = $colorPickerFill.find('.color-fill-icon').css('background-color');
if (colorFill.indexOf('a') === -1) {
colorFill = colorFill.replace('rgb', 'rgba').replace(')', ', 0.5)');
}
if ($strokeSettings.val()) {
switch ($strokeSettings.val()[0]) {
case '6':
case '7':
case '8':
strokeType = $strokeSettings.val()[0];
strokeWidth = $strokeSettings.val()[1] || STROKE_WIDTH;
break;
default:
strokeWidth = $strokeSettings.val()[0];
strokeType = $strokeSettings.val()[1];
break;
}
} else {
strokeWidth = STROKE_WIDTH;
strokeType = STROKE_TYPE;
}
} else {
colorStroke = annotation.stroke().color;
strokeWidth = annotation.stroke().thickness;
strokeDash = annotation.stroke().dash;
}
switch (strokeType) {
case '6':
strokeType = null;
break;
case '7':
strokeType = '1 1';
break;
case '8':
strokeType = '10 5';
break;
}
if (strokeType === undefined) {
strokeType = strokeDash;
}
if (annotation.type === 'marker') {
markerSize = annotation.size();
if ($('.choose-marker').hasClass('open')) {
$markerSize.val($markerSize.val()).selectpicker('refresh');
annotation.size($markerSize.val());
$markerSizeBtn.removeAttr('disabled')
} else {
$markerSize.removeAttr('disabled').val(markerSize).selectpicker('refresh');
annotation.size(markerSize);
$markerSizeBtn.removeAttr('disabled')
}
$markerSizeBtn.removeAttr('disabled');
} else {
$markerSizeBtn.attr('disabled', 'disabled');
}
var settings = {
thickness: strokeWidth,
color: colorStroke,
dash: strokeType
};
annotation.stroke(settings);
annotation.hoverStroke(settings);
annotation.selectStroke(settings);
if (annotation.fill !== undefined) {
annotation.fill(colorFill);
}
switch (strokeType) {
case '1 1':
strokeDash = 7;
break;
case '10 5':
strokeDash = 8;
break;
default:
strokeDash = 6;
break;
}
$colorPickerFill.find('.color-fill-icon').css('background-color', colorFill);
$colorPickerStroke.find('.color-fill-icon').css('background-color', colorStroke);
$strokeSettings.val([strokeWidth, strokeDash]).selectpicker('refresh');
}
function contextMenuItemsFormatter(items) {
// insert context menu item on 0 position
alert(items);
items.splice(0, 0, {
text: "Remove selected annotation",
action: removeSelectedAnnotation
});
// insert context menu item on 1 position
items.splice(1, 0, {
text: "Remove all annotations",
action: removeAllAnnotation
});
// insert context menu separator
items.splice(2, 0, undefined);
return items;
}
function setToolbarButtonActive(type, markerType) {
var $buttons = $('.btn[data-annotation-type]');
$buttons.removeClass('active');
$buttons.blur();
if (type) {
var selector = '.btn[data-annotation-type="' + type + '"]';
if (markerType) selector += '[data-marker-type="' + markerType + '"]';
$(selector).addClass('active');
}
}
function updatePropertiesBySelectedAnnotation(strokeWidth, strokeType) {
var strokeColor;
var annotation = chart.annotations().getSelectedAnnotation();
if (annotation == null) return;
if (typeof annotation.stroke() === 'function') {
strokeColor = annotation.color();
} else {
strokeColor = annotation.stroke().color;
}
switch (strokeType) {
case '6':
strokeType = null;
break;
case '7':
strokeType = '1 1';
break;
case '8':
strokeType = '10 5';
break;
}
var settings = {
thickness: strokeWidth,
color: strokeColor,
dash: strokeType
};
annotation.stroke(settings);
annotation.hoverStroke(settings);
annotation.selectStroke(settings);
}
!function () {
function e() {
$("#chart-container").height($(window).height() - f.outerHeight() - 10)
}
var $html = $('html');
initTooltip('bottom');
$('#select-stroke-settings').val([1, 6]).selectpicker('refresh');
function t(t, a) {
var i = o.find("option:selected").text().trim(),
n = r.val();
x = anychart.data.table();
var l, s = x.mapAs({
value: 1,
volume: 1,
open: 1,
high: 2,
low: 3,
close: 4
});
// m = anychart.stock();
//For Drawing tool on Chart.
chart = anychart.stock();
//-------------------------------
var d = chart.plot(0);
if (x.addData(u.data[i.toLowerCase()]), a) {
var c, p, f = [];
l = d[u.chartType](s), l.name(i.toUpperCase()), d.yScale(u.scale);
for (var h in u.indicators) c = h, u.indicators.hasOwnProperty(h) && (f = u.indicators[h].settings, f[0] = s), ~c.toLowerCase().indexOf("stochastic") && (c = "stochastic"), u.indicators.hasOwnProperty(h) && (p = chart.plot(u.indicators[h].plotIndex), p[c].apply(p, f), p.yAxis(1).orientation("right"))
}
else l = d[n](s),
l.name(i.toUpperCase());
l.stroke("2px #64b5f6"),
d.yAxis(1).orientation("right"),
chart.padding(10, 50, 20, 50),
chart.scroller().line(s),
chart.selectRange("2004-11-14", "2007-11-15"),
chart.container(t),
///// Adding additional lines
chart.contextMenu().itemsFormatter(contextMenuItemsFormatter);
// use annotation events to update application UI elements
chart.listen("annotationDrawingFinish", onAnnotationDrawingFinish);
chart.listen("annotationSelect", onAnnotationSelect);
chart.listen("annotationUnSelect", function () {
$('.color-picker[data-color="fill"]').removeAttr('disabled');
$('.select-marker-size').removeAttr('disabled');
$('.drawing-tools-solo').find('.bootstrap-select').each(function () {
$(this).removeClass('open');
})
});
chart.listen('chartDraw', function () {
hidePreloader();
});
///////////
chart.draw(),
anychart.ui.rangePicker().render(chart),
anychart.ui.rangeSelector().render(chart),
chart.listen("chartDraw",
function () {
e(), setTimeout(function () {
v.hide()
}, 100)
})
////Drawing Activity
//alert("first");
//alert("1");
createPageColorPicker();
chart.contextMenu().itemsFormatter(contextMenuItemsFormatter);
chart.listen("annotationDrawingFinish", onAnnotationDrawingFinish);
chart.listen("annotationSelect", onAnnotationSelect);
chart.listen("annotationUnSelect", function () {
$('.color-picker[data-color="fill"]').removeAttr('disabled');
$('.select-marker-size').removeAttr('disabled');
$('.drawing-tools-solo').find('.bootstrap-select').each(function () {
$(this).removeClass('open');
})
});
}
function a() {
chart && (chart.dispose(), chart = null)
}
function i() {
var e, t, a = g.defaultSettings[g.name],
i = 0;
$("#indicatorSettingsModalTitle").text(g.defaultSettings[g.name].overview.title), h.empty(), h.append('<div class="row"></div>');
var n = h.find(".row");
for (var o in a)
if (a.hasOwnProperty(o) && "overview" !== o && "plotIndex" !== o)
if ("string" == typeof a[o]) {
for (n.append(w),
e = $("#indicatorFormGroup"),
e.find("select").attr("id", o), e.find("label").attr("for", o).text(getInputLabelText(o)), i = 0;
i < g.seriesType.length; i++)
t = $("<option></option>"),
t.val(g.seriesType[i].toLowerCase()),
t.text(getInputLabelText(g.seriesType[i])),
e.find("select").append(t);
e.removeAttr("id")
}
else if ("number" == typeof a[o])
n.append(y),
e = $("#indicatorFormGroup"),
e.find("input").attr("id", o),
e.removeAttr("id").find("label").attr("for", o).text(getInputLabelText(o));
else if ("object" == typeof a[o]) {
for (n.append(w), e = $("#indicatorFormGroup"),
e.find("select").attr("id", o),
e.find("label").attr("for", o).text(getInputLabelText(o)),
i = 0; i < a[o].length; i++)
t = $("<option></option>"),
t.val(a[o][i].toLowerCase()),
t.text(a[o][i]),
e.find("select").append(t);
e.removeAttr("id")
}
setColClass(h),
h.find($("[class*='col-sm-']")).last().after('<div class="col-xs-12" id="overviewText"></div>'),
h.find("#overviewText").append(g.defaultSettings[g.name].overview.description)
}
function n() {
var e = g.defaultSettings[g.name];
for (var t in e) e.hasOwnProperty(t) && "overview" !== t && "plotIndex" !== t && $("#" + t).val(e[t])
}
var o = $("#chartDataSelect"),
r = $("#seriesTypeSelect"),
l = $("#scaleTypeSelect"),
s = $("#indicatorTypeSelect"),
d = $("#indicatorSettingsModal"),
c = $("#resetButton"),
p = $("#addIndicatorButton"),
f = $("#indicatorNavPanel"),
h = $("#indicatorForm"),
v = $("#loader"),
u = {};
u.data = {},
u.chartType = r.val(),
u.scale = l.val(),
u.indicators = {};
var chart, x, g = {
name: "",
plotIndex: 0,
defaultSettings: {},
seriesType: ["area", "column", "jumpLine", "line", "marker", "spline", "splineArea", "stepArea", "stepLine", "stick"]
},
y = '<div class="col-sm-4"><div class="form-group" id="indicatorFormGroup"><label for="" class="control-label"></label><input type="number" class="form-control" id=""></div></div>',
w = '<div class="col-sm-4"><div class="form-group" id="indicatorFormGroup"><label for="" class="control-label"></label><select class="form-control select show-tick" id=""></select></div></div>',
b = {
createChart: t,
removeChart: a
};
"file:" === window.location.protocol && (v.hide(), $(".wrapper").hide(), $("#warning").modal({
backdrop: "static",
keyboard: !1
})), $.get("indicators.xml", function (e) {
$(e).find("indicator").each(function (e, t) {
var a, i = $(this).attr("type"),
n = $("<option></option>");
n.attr({
value: i,
"data-abbr": $(this).find("abbreviation").text(),
"data-full-text": $(this).find("title").text()
}).text($(this).find("title").text()),
$(this).find('[name="plotIndex"]').length && n.attr("data-plot-index", $(this).find('[name="plotIndex"]').attr("value")),
s.append(n),
g.defaultSettings[i] = {},
$(t).find("defaults").children().each(function () {
var e = $(this).attr("name"),
t = $(this).attr("value");
switch ($(this).attr("type")) {
case "number":
t = +t;
break;
case "array":
t = JSON.parse(t);
}
g.defaultSettings[i][e] = t
}), a = $(t).find("description").text(), g.defaultSettings[i].overview = {}, g.defaultSettings[i].overview.title = $(t).find("title").text(), g.defaultSettings[i].overview.description = a
});
var t = s.find("option").sort(function (e, t) {
return e.value.toUpperCase().localeCompare(t.value.toUpperCase())
});
s.append(t), s.selectpicker()
}),
$(window).on("resize", e),
anychart.onDocumentReady(function () {
anychart.data.loadJsonFile(o.find("option:selected").data().json, function (e) {
u.data[o.find("option:selected").text().toLowerCase().trim()] = e, b.createChart("chart-container")
});
o.on("change", function () {
var selectedData = o.find("option:selected");
if (selectedData['0'].hasAttribute('data-csv')) {
//if selected data is CSV
var e = $(this).find("option:selected").text().toLowerCase().trim();
~Object.keys(u.data).indexOf(e) ? (x.addData(u.data[e]), chart.plot().getSeries(0).name(e.toUpperCase())) :
//get .csv file
anychart.data.loadCsvFile($(this).find("option:selected").data().csv, function (t) {
//set data
u.data[e] = t, x.addData(t, {ignoreFirstRow: true, columnsSeparator: ","}), chart.plot().getSeries(0).name(e.toUpperCase());
})
} else {
//if selected data is JSON
var e = $(this).find("option:selected").text().toLowerCase().trim();
~Object.keys(u.data).indexOf(e) ? (x.addData(u.data[e]), chart.plot().getSeries(0).name(e.toUpperCase())) :
anychart.data.loadJsonFile($(this).find("option:selected").data().json, function (t) {
u.data[e] = t, x.addData(t), chart.plot().getSeries(0).name(e.toUpperCase())
})
}
});
r.on("change", function () {
var e = $(this).val();
chart.plot().getSeries(0).seriesType(e),
u.chartType = e
}),
s.on("change", function () {
if ($(this).val() && 1 === $(this).val().length && updateTextForIndicatorTypeSelect(s), null === $(this).val() || $(this).val().length < Object.keys(u.indicators).length) {
if (b.removeChart(), null !== $(this).val())
for (var e in u.indicators) ~$(this).val().indexOf(e) || delete u.indicators[e];
else u.indicators = {};
return void b.createChart("chart-container", !0)
}
for (var t = 0; t < $(this).val().length; t++)
if (!~Object.keys(u.indicators).indexOf($(this).val()[t])) {
g.name = $(this).val()[t];
break
}
g.plotIndex = $(this).find('option[value="' + g.name + '"]').data().plotIndex, 0 !== g.plotIndex && (g.plotIndex = chart.getPlotsCount()), i(), n(), d.modal("show"), f.find(".select.open").removeClass("open")
}),
l.on("change", function () {
b.removeChart(), u.scale = $(this).val(), b.createChart("chart-container", !0)
}),
d.on("hidden.bs.modal", function () {
for (var e, t = 0; t < s.val().length; t++)
if (!~Object.keys(u.indicators).indexOf(s.val()[t])) {
e = s.val()[t];
break
}
if (!e) return updateTextForIndicatorTypeSelect(s), !1;
var a = s.find('[value="' + e + '"]').index();
s.find('[value="' + e + '"]').removeAttr("selected"), s.prev(".dropdown-menu").find('li[data-original-index="' + a + '"]').removeClass("selected"), updateTextForIndicatorTypeSelect(s)
}),
d.on("show.bs.modal", function () {
h.find(".select").selectpicker()
}),
c.on("click", function (e) {
e.preventDefault(), b.removeChart(), u.indicators = {}, u.scale = "linear", u.chartType = "line", o.val(1).selectpicker("refresh"), r.val("candlestick").selectpicker("refresh"), s.val("").selectpicker("refresh"), l.val("linear").selectpicker("refresh"), b.createChart("chart-container")
}),
p.on("click", function () {
var e = x.mapAs({
value: 1,
volume: 1,
open: 1,
high: 2,
low: 3,
close: 4
}),
t = g.defaultSettings[g.name],
a = [e],
i = g.name;
~i.toLowerCase().indexOf("stochastic") && (i = "stochastic");
for (key in t)
if ("overview" !== key && "plotIndex" !== key) {
var n = $("#" + key).val();
n = "true" == n || "false" == n ? "true" == n : n, a.push(n)
}
u.indicators[g.name] = {}, u.indicators[g.name].settings = a, u.indicators[g.name].plotIndex = g.plotIndex;
var o = chart.plot(g.plotIndex);
o[i].apply(o, a), o.yAxis(1).orientation("right"), d.modal("hide")
})
//alert("dsd");
//alert("2");
//////////Drawing on chart initialisation
$('select.choose-drawing-tools').on('change', changeAnnotations);
$('select.choose-marker').on('change', changeAnnotations);
$('[data-annotation-type]').on('click', changeAnnotations);
//----------------------------
function changeAnnotations() {
var $that = $(this);
//alert($that);
// alert(chart.plot(0));
setTimeout(function () {
var $target = $that;
var active = $target.hasClass('active');
var $markerSize = $('#select-marker-size');
var markerSize = $markerSize.val();
//alert($target);
if (active) {
chart.annotations().cancelDrawing();
setToolbarButtonActive(null);
} else {
var type = $target.data().annotationType || $target.find('option:selected').data().annotationType;
//alert(type);
if (!$target.data().annotationType) {
var markerType = $target.find('option:selected').data().markerType;
//alert(markerType);
}
setToolbarButtonActive(type, markerType);
if (type) {
if (!$target.data().annotationType) {
var markerAnchor = $target.find('option:selected').data().markerAnchor;
}
var drawingSettings = {
type: type,
size: markerSize,
color: annotationsColor,
markerType: markerType,
anchor: markerAnchor
};
chart.annotations().startDrawing(drawingSettings);
}
}
//alert(chart.plot(0));
var annotation = chart.annotations().getSelectedAnnotation();
//alert(annotation.fill);
//alert(chart.annotations().getSelectedAnnotation());
if (annotation.fill === undefined) {
$('.color-picker[data-color="fill"]').attr('disabled', 'disabled');
} else {
$('.color-picker[data-color="fill"]').removeAttr('disabled');
}
$target.val('');
}
, 1);
}
$('.btn[data-action-type]').click(function (evt) {
var annotation = chart.annotations().getSelectedAnnotation();
var $target = $(evt.currentTarget);
$target.blur();
var type = $target.attr('data-action-type');
switch (type) {
case 'removeAllAnnotations':
//removeAllAnnotation();
chart.annotations().removeAllAnnotations();
break;
case 'removeSelectedAnnotation':
//removeSelectedAnnotation();
if (annotation) chart.annotations().removeAnnotation(annotation);
break;
case 'unSelectedAnnotation':
chart.annotations().unselect(annotation).cancelDrawing();
setToolbarButtonActive(null);
break;
}
});
// alert("debug");
$('#select-stroke-settings').on('change', function () {
var strokeWidth;
var strokeType;
var STROKE_WIDTH = 1;
if ($(this).val()) {
switch ($(this).val()[0]) {
case '6':
case '7':
case '8':
strokeType = $(this).val()[0];
strokeWidth = $(this).val()[1] || STROKE_WIDTH;
break;
default:
strokeType = $(this).val()[1];
strokeWidth = $(this).val()[0];
break;
}
updatePropertiesBySelectedAnnotation(strokeWidth, strokeType);
}
});
$('#select-marker-size').on('change', function () {
var annotation = chart.annotations().getSelectedAnnotation();
if (annotation == null) return;
if (annotation.type === 'marker') {
annotation.size($(this).val());
}
});
$('html').keyup(function (e) {
if (e.keyCode == 8 || e.keyCode == 46) {
//removeSelectedAnnotation();
var annotation = chart.annotations().getSelectedAnnotation();
if (annotation) chart.annotations().removeAnnotation(annotation);
}
})
});
}();
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Technical Indicators</title>
<!-- Normalize CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- AnyChart UI -->
<link rel="stylesheet" href="https://cdn.anychart.com/css/latest/anychart-ui.min.css">
<link rel="stylesheet" href="https://cdn.anychart.com/fonts/2.7.2/anychart.css">
<!-- Latest compiled and minified CSS Bootstrap Select -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/css/bootstrap-select.min.css">
<!-- css -->
<link rel="stylesheet" href="css/app.css">
<!-- Include all your css files or styles here as needed -->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<![endif]-->
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<!-- ColorPicker -->
<link href="css/vendor/bootstrap-colorpicker.min.css" rel="stylesheet">
<link href="css/vendor/bootstrap-colorpicker-plus.min.css" rel="stylesheet">
<!--style-->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- anychart loader -->
<div id="loader" class="anychart-loader">
<div class="rotating-cover">
<div class="rotating-plane">
<div class="chart-row"><span class="chart-col green"></span> <span class="chart-col orange"></span> <span class="chart-col red"></span>
</div>
</div>
</div>
</div>
<!-- modal alert -->
<div class="modal fade" id="warning" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Attention</h4>
</div>
<div class="modal-body">
<div class="alert alert-danger"><strong>XHR Fail: </strong>This Sample will properly work only if upload it to a server and access via http or https. Please see <a href="https://github.com/anychart-solutions/technical-indicators" target="_blank">https://github.com/anychart-solutions/technical-indicators</a> to learn more.</div>
</div>
</div>
</div>
</div>
<!-- modal indicator settings -->
<div class="modal fade" id="indicatorSettingsModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title" id="indicatorSettingsModalTitle">Indicator Settings</h4>
</div>
<div class="modal-body">
<form id="indicatorForm" class="form"></form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" id="addIndicatorButton">Add Indicator</button>
</div>
</div>
</div>
</div>
<div class="toolbar" style="padding-left:15px;font-size:15px;margin-top:5px">
<div class="btn-group-container">
<div class="btn-group">
<button type="button" class="btn btn-default color-picker" data-color="fill" data-toggle="tooltip"
title="Сhoose drawing fill color"><span
class="color-fill-icon dropdown-color-fill-icon" style="background-color:#e06666;"></span>&nbsp;<b
class="caret"></b>
</button>
<button type="button" class="btn btn-default color-picker" data-color="stroke" data-toggle="tooltip"
title="Сhoose drawing stroke color"><span
class="color-fill-icon dropdown-color-fill-icon" style="background-color:#e06666;"></span>&nbsp;<b
class="caret"></b>
</button>
<select class="selectpicker show-menu-arrow" id="select-stroke-settings"
title="Stroke settings"
data-style="btn-lg" data-width="121" multiple>
<optgroup label="Stroke width" data-max-options="1">
<option data-settings="width" value="1">1 px</option>
<option data-settings="width" value="2">2 px</option>
<option data-settings="width" value="3">3 px</option>
<option data-settings="width" value="4">4 px</option>
<option data-settings="width" value="5">5 px</option>
</optgroup>
<optgroup label="Stroke dash" data-max-options="1">
<option value="6" data-settings="type">solid</option>
<option value="7" data-settings="type">dotted</option>
<option value="8" data-settings="type">dashed</option>
</optgroup>
</select>
</div>
<div class="btn-group">
<button type="button" data-action-type="unSelectedAnnotation" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Cursor">
<i class="ac ac-mouse-pointer" aria-hidden="true"></i>
</button>
</div>
</div>
<div class="select-container">
<select class="selectpicker show-menu-arrow choose-drawing-tools"
title="Drawing tools"
data-style="btn-lg" data-width="133" data-max-options="1">
<optgroup label="Lines, Trend lines and Rays:">
<option data-icon="ac ac-line" data-annotation-type="line">Line Segment</option>
<option data-icon="ac ac-horizontal-line" data-annotation-type="horizontalLine">Horizontal Line</option>
<option data-icon="ac ac-vertical-line" data-annotation-type="verticalLine">Vertical Line</option>
<option data-icon="ac ac-infinite-line" data-annotation-type="infiniteLine">Infinite Line</option>
<option data-icon="ac ac-ray" data-annotation-type="ray">Ray</option>
</optgroup>
<optgroup label="Geometric shapes:">
<option data-icon="ac ac-triangle" data-annotation-type="triangle">Triangle</option>
<option data-icon="ac ac-rectangle" data-annotation-type="rectangle">Rectangle</option>
<option data-icon="ac ac-ellipse" data-annotation-type="ellipse">Ellipse</option>
</optgroup>
<optgroup label="Other tools:">
<option data-icon="ac ac-trend-channel" data-annotation-type="trendChannel">Trend Channel</option>
<option data-icon="ac ac-andrews-pitchfork" data-annotation-type="andrewsPitchfork">Andrew's Pitchfork</option>
</optgroup>
<optgroup label="Fibonacci tools:">
<option data-icon="ac ac-fibonacci-fan" data-annotation-type="fibonacciFan">Fibonacci Fan</option>
<option data-icon="ac ac-fibonacci-arc" data-annotation-type="fibonacciArc">Fibonacci Arc</option>
<option data-icon="ac ac-fibonacci-retracement" data-annotation-type="fibonacciRetracement">Fibonacci Retracement</option>
<option data-icon="ac ac-fibonacci-timezones" data-annotation-type="fibonacciTimezones">Fibonacci Time Zones</option>
</optgroup>
</select>
</div>
<div class="btn-group hidden-xs">
<button data-annotation-type="line" type="button" class="btn btn-default" aria-label="Center Align"
data-toggle="tooltip" title="Line Segment">
<i class="ac ac-line" aria-hidden="true"></i>
</button>
<button data-annotation-type="horizontalLine" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Horizontal Line">
<i class="ac ac-horizontal-line" aria-hidden="true"></i>
</button>
<button data-annotation-type="verticalLine" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Vertical Line">
<i class="ac ac-vertical-line" aria-hidden="true"></i>
</button>
<button data-annotation-type="infiniteLine" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Infinite Line">
<i class="ac ac-infinite-line" aria-hidden="true"></i>
</button>
<button data-annotation-type="ray" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Ray">
<i class="ac ac-ray" aria-hidden="true"></i>
</button>
</div>
<div class="btn-group hidden-xs">
<button data-annotation-type="triangle" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Triangle">
<i class="ac ac-triangle" aria-hidden="true"></i>
</button>
<button data-annotation-type="rectangle" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Rectangle">
<i class="ac ac-rectangle" aria-hidden="true"></i>
</button>
<button data-annotation-type="ellipse" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Ellipse">
<i class="ac ac-ellipse" aria-hidden="true"></i>
</button>
</div>
<div class="btn-group hidden-xs">
<button data-annotation-type="trendChannel" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Trend Channel">
<i class="ac ac-trend-channel" aria-hidden="true"></i>
</button>
<button data-annotation-type="andrewsPitchfork" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Andrew's Pitchfork">
<i class="ac ac-andrews-pitchfork" aria-hidden="true"></i>
</button>
</div>
<div class="btn-group hidden-xs">
<button data-annotation-type="fibonacciFan" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Fibonacci Fan">
<i class="ac ac-fibonacci-fan" aria-hidden="true"></i>
</button>
<button data-annotation-type="fibonacciArc" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Fibonacci Arc">
<i class="ac ac-fibonacci-arc" aria-hidden="true"></i>
</button>
<button data-annotation-type="fibonacciRetracement" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Fibonacci Retracement">
<i class="ac ac-fibonacci-retracement" aria-hidden="true"></i>
</button>
<button data-annotation-type="fibonacciTimezones" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Fibonacci Time Zones">
<i class="ac ac-fibonacci-timezones" aria-hidden="true"></i>
</button>
</div>
<div class="btn-group-container">
<div class="btn-group">
<select class="selectpicker show-menu-arrow select choose-marker" id="select-marker-type"
title="Marker"
data-style="btn-lg" data-width="90" data-max-options="1">
<option data-icon="ac ac-arrow-up-square" data-annotation-type="marker" data-marker-type="arrowUp"
data-marker-anchor="top">Up Arrow
</option>
<option data-icon="ac ac-arrow-down-square" data-annotation-type="marker"
data-marker-type="arrowDown" data-marker-anchor="bottom">Down Arrow
</option>
<option data-icon="ac ac-arrow-left-square" data-annotation-type="marker"
data-marker-type="arrowLeft" data-marker-anchor="left">Left Arrow
</option>
<option data-icon="ac ac-arrow-right-square" data-annotation-type="marker"
data-marker-type="arrowRight" data-marker-anchor="right">Right Arrow
</option>
<option data-icon="ac ac-head-arrow" data-annotation-type="marker" data-marker-type="arrowHead"
data-marker-anchor="right">Head Arrow
</option>
<option data-icon="ac ac-cross" data-annotation-type="marker" data-marker-type="cross"
data-marker-anchor="center">Cross
</option>
<option data-icon="ac ac-diagonal-cros" data-annotation-type="marker" data-marker-type="diagonalCross"
data-marker-anchor="center">Diagonal cross
</option>
<option data-icon="ac ac-diamond" data-annotation-type="marker" data-marker-type="diamond"
data-marker-anchor="center">Diamond
</option>
<option data-icon="ac ac-pentagon" data-annotation-type="marker" data-marker-type="pentagon"
data-marker-anchor="center">Pentagon
</option>
<option data-icon="ac ac-square" data-annotation-type="marker" data-marker-type="square"
data-marker-anchor="center">Square
</option>
<option data-icon="ac ac-star-1" data-annotation-type="marker" data-marker-type="star10"
data-marker-anchor="center">Star 1
</option>
<option data-icon="ac ac-star-2" data-annotation-type="marker" data-marker-type="star4"
data-marker-anchor="center">Star 2
</option>
<option data-icon="ac ac-star-3" data-annotation-type="marker" data-marker-type="star5"
data-marker-anchor="center">Star 3
</option>
<option data-icon="ac ac-star-4" data-annotation-type="marker" data-marker-type="star6"
data-marker-anchor="center">Star 4
</option>
<option data-icon="ac ac-star-5" data-annotation-type="marker" data-marker-type="star7"
data-marker-anchor="center">Star 5
</option>
<option data-icon="ac ac-trapezium" data-annotation-type="marker" data-marker-type="trapezium"
data-marker-anchor="center">Trapezium
</option>
<option data-icon="ac ac-triangle-up" data-annotation-type="marker" data-marker-type="triangleUp"
data-marker-anchor="top">Triangle Up
</option>
<option data-icon="ac ac-triangle-down" data-annotation-type="marker" data-marker-type="triangleDown"
data-marker-anchor="bottom">Triangle Down
</option>
<option data-icon="ac ac-triangle-left" data-annotation-type="marker" data-marker-type="triangleLeft"
data-marker-anchor="left">Triangle Left
</option>
<option data-icon="ac ac-triangle-right" data-annotation-type="marker" data-marker-type="triangleRight"
data-marker-anchor="right">Triangle Right
</option>
</select>
<select class="selectpicker show-menu-arrow select select-marker-size" id="select-marker-size"
title="Marker size"
data-style="btn-lg" data-width="80" data-max-options="1">
<option data-settings="width" value="5">5 px</option>
<option data-settings="width" value="10">10 px</option>
<option data-settings="width" value="15">15 px</option>
<option data-settings="width" value="20" selected>20 px</option>
<option data-settings="width" value="25">25 px</option>
</select>
</div>
</div>
<div class="btn-group-container">
<div class="btn-group">
<button data-action-type="removeSelectedAnnotation" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Delete selected drawing">
<i class="ac ac-remove-thin" aria-hidden="true"></i>
</button>
<button data-action-type="removeAllAnnotations" type="button" class="btn btn-default"
aria-label="Center Align" data-toggle="tooltip" title="Delete all drawings">Remove All
</button>
</div>
</div>
</div>
<div class="wrapper">
<ul class="list list-unstyled list-nav" id="indicatorNavPanel">
<li>
<select name="" id="chartDataSelect" class="select selectpicker show-tick" title="Select Data Chart">
<option value="1" selected="selected" data-json="./data/msft.json">MSFT</option>
<option value="2" data-json="./data/orcl.json">ORCL</option>
<option value="3" data-json="./data/csco.json">CSCO</option>
<option value="4" data-json="./data/ibm.json">IBM</option>
<option value="5" data-csv="./data/ACCedited.csv">ACC</option>
</select>
</li>
<li>
<select name="" id="seriesTypeSelect" class="select selectpicker show-tick">
<option value="area">Area Chart</option>
<option value="candlestick" selected="selected">Candlestick Chart</option>
<option value="column">Column Chart</option>
<option value="jumpLine">Jump Line Chart</option>
<option value="line">Line Chart</option>
<option value="marker">Marker Chart</option>
<option value="ohlc">OHLC Chart</option>
<option value="rangeArea">Range Area Chart</option>
<option value="rangeColumn">Range Column Chart</option>
<option value="rangeSplineArea">Range Spline Area Chart</option>
<option value="rangeStepArea">Range Step Area Chart</option>
<option value="spline">Spline Chart</option>
<option value="splineArea">Spline Area Chart</option>
<option value="stepArea">Step Area Chart</option>
<option value="stepLine">Step Line Chart</option>
<option value="stick">Stick Chart</option>
</select>
</li>
<li>
<select name="" class="select selectpicker show-tick" id="scaleTypeSelect" title="Scale">
<option value="linear" selected="selected">Linear</option>
<option value="log">Logarithmic</option>
</select>
</li>
<li>
<select class="select show-tick" multiple="multiple" name="" data-width="350" id="indicatorTypeSelect" title="Add Indicator"></select>
</li>
<li><a class="btn btn-default" href="" id="resetButton">Reset</a>
</li>
</ul>
<div id="chart-container"></div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="js/vendor/bootstrap-colorpicker.min.js"></script>
<script src="js/vendor/bootstrap-colorpicker-plus.js"></script>
<!-- Latest compiled and minified JavaScript Bootstrap Select -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/js/bootstrap-select.min.js"></script>
<script src="https://cdn.anychart.com/js/latest/anychart-bundle.min.js"></script>
<!-- Data adapter -->
<script src="http://cdn.anychart.com/js/latest/data-adapter.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment