kLine

来自于:simpleway立即使用

概述

kLine简介

kLine 是一个用于显示股票K线的组件,可以自定义k线颜色,支持动态添加K线数据源。

模块接口

open

显示K线模块

open({params})

params

x:

  • 类型:整形
  • 描述:(可选项)数字类型;模块左上角的 x 坐标(相对于所属的 Window 或 Frame);默认:0。

y:

  • 类型:整形
  • 描述:(可选项)数字类型;模块左上角的 y 坐标(相对于所属的 Window 或 Frame);默认:0。

w:

  • 类型:整形
  • 描述:(可选项)数字类型;模块的宽度;默认:所属的 Window 或 Frame 的宽度。

h:

  • 类型:整形
  • 描述:(可选项)数字类型;模块的高度;默认:所属的 Window 或 Frame 的高度。

option:

  • 类型:JSON 对象
  • 内部字段:
{
    decimalplace: 2,   //(可选项)数字保留几位小数
    borderColor: "#c0c0c0",   //(可选项)边框颜色
    bgColor : "#ffffff",   //(可选项)底色
    rangeColor : "#888888",   //(可选项)量程刻度颜色
    timeRangeColor : "#010101",   //(可选项)时间刻度颜色
    volAreaWeight : 0.15,   //(可选项)vol区域占比重,如果为0,则不显示vol区域
    macdAreaWeight : 0,   //(可选项)macd区域占比重,如果为0,则不显示macd区域
    colorForKlineUp : "#ee524e",   //(可选项)k线涨的颜色
    colorForKlineDown : "#49bd7d",   //(可选项)k线跌的颜色
    selectedItemBgColor : "#1a000000",   //(可选项)选中k线的底色,la是透明度
    isMinute : false,   //(可选项)当前是否是分时的模式
    minuteLineColor : "#35c8b1",   //(可选项)分时线的颜色
    minuteFillColor : "#dfefed",   //(可选项)分时线的填充色
    tipText : ["时间","开","高","低","收","涨跌额","涨跌幅","成交量"],   //选中k线时,对应的标签框的文字
    tipBgColor : "#cb000000",   //(可选项)选中k线时,对应的标签框的底色,cb是透明度
    tipBorderColor : "#bcdef1",   //(可选项)选中k线时,对应的标签框的边框色
    tipTextColor : "#bcdef1",   //(可选项)选中k线时,对应的标签框的文字颜色
    macdValueColor : "#0f8988",   //(可选项)显示当前macd值的文字颜色
    difColor : "#49bd7d",   //(可选项)显示当前dif值的文字颜色
    deaColor : "#cf16d2",   //(可选项)显示当前dea值的文字颜色
    macdUpColor : "#ee524e",   //(可选项)macd柱子大于0时的颜色
    macdDownColor : "#49bd7d",   //(可选项)macd柱子小于0时的颜色
    drawDynamicValue : false,   //(可选项)是否显示currentPrice  stopProfit  stopLoss等标签
    stopProfitLossOnTopDown : false,   //(可选项)stopProfit  stopLoss分别分布上下两边,只在drawDynamicValue、isMintue同时为true时起作用
    timeDifference : 0,   //(可选项)时差,时间值要加几分钟显示
    maItems :[5 ,10 ,30],   //(可选项)ma的定义项
    maColors :["#35c8b1", "#e7b574", "#cf16d2"],   //(可选项)ma的定义项对应的颜色
    volMaItems :[5 ,10],   //(可选项)vol ma的定义项
    volMaColors :["#35c8b1", "#e7b574"],   //(可选项)vol ma的定义项对应的颜色
    ma60Color :"#cf16d2",   //(可选项)ma60的颜色
    volTextColor :"#3283c5",   //(可选项)显示当前vol值的文字颜色
    macdConfig :[12,26,9],   //(可选项)macd的定义项
    timeFormat : "MM-dd hh:mm",   //(可选项)时间格式化方式
    currentPriceDescText : "现价",   //(可选项)currentPrice的文字表述,如:现价
    currentPrice : "",   //(可选项)currentPrice的值,如"418.35"
    currentPriceBgColor : "#4186c9",   //(可选项)currentPrice的底色
    currentPriceTextColor : "#ffffff",   //(可选项)currentPrice的文字颜色
    stopProfitDescText : "止盈",   //(可选项)stopProfit的文字表述,如:止盈
    stopProfit : "",   //(可选项)stopProfit的值
    stopProfitTextColor : "#ffffff",   //(可选项)stopProfit的文字颜色
    stopLossDescText : "止损",   //(可选项)stopLoss的文字表述,如:止损
    stopLoss : "",   //(可选项)stopLoss的值
    stopLossTextColor : "#ffffff",   //(可选项)stopLoss的文字颜色
}

示例代码

           var myTipText = [];
           myTipText[0] = "时间";
           myTipText[1] = "开";
           myTipText[2] = "高";
           myTipText[3] = "低";
           myTipText[4] = "收";
           myTipText[5] = "涨跌额";
           myTipText[6] = "涨跌幅";
           myTipText[7] = "成交量";

          var klineareaEle = document.querySelector("#klinearea");

           var module = api.require('kLine');
           module.open({
               x:0,
               y:0,
               option: {
                   tipText: myTipText,
                   isMinute: false,
                   macdAreaWeight:0.15,
                   volAreaWeight:0.15,
                   drawDynamicValue: true,
                   stopProfitLossOnTopDown:false,
                   currentPriceDescText: "现价",
                   currentPrice: "419.57",
                   stopProfitDescText: "止盈价",
                   stopProfit: "455.23",

                   stopLoss: "430.23",
                   stopLossDescText: "止损价",
               },
           });

           var datas = [{ "open": 418.51, "close": 419.57, "high": 419.57, "low": 418.46, "vol": 8369.2090534990839, "val": 3505077.2667275481, "times": 1533103200000 }, { "open": 416.87, "close": 418.52, "high": 418.9, "low": 415.54, "vol": 58606.517458060189, "val": 24460795.947411776, "times": 1533099600000 }, { "open": 417.92, "close": 416.87, "high": 419.63, "low": 416.01, "vol": 28638.619129601662, "val": 11969192.380628875, "times": 1533096000000 }, { "open": 417.08, "close": 417.94, "high": 418.98, "low": 416.07, "vol": 49071.472226410639, "val": 20492807.97780646, "times": 1533092400000 }, { "open": 415.49, "close": 417.06, "high": 418.11, "low": 411.71, "vol": 37971.236675530774, "val": 15753530.308866542, "times": 1533088800000 }, { "open": 432.11, "close": 415.5, "high": 432.74, "low": 415.5, "vol": 47364.944760170765, "val": 20211243.170410253, "times": 1533085200000 }, { "open": 432.37, "close": 432.11, "high": 434.67, "low": 431.41, "vol": 30516.030626665786, "val": 13212509.957335684, "times": 1533081600000 }, { "open": 430.64, "close": 432.34, "high": 434.55, "low": 427.68, "vol": 38298.416868867607, "val": 16515359.073141795, "times": 1533078000000 }, { "open": 431.77, "close": 430.64, "high": 432.68, "low": 430.36, "vol": 24403.443760044229, "val": 10529032.738700558, "times": 1533074400000 }, { "open": 432.45, "close": 431.77, "high": 433.24, "low": 431.46, "vol": 15248.067522504174, "val": 6589229.3092181645, "times": 1533070800000 }, { "open": 435.07, "close": 432.45, "high": 435.07, "low": 431.23, "vol": 23983.131679237722, "val": 10403873.036601951, "times": 1533067200000 }, { "open": 433.16, "close": 435.07, "high": 435.56, "low": 432.58, "vol": 14797.690592114377, "val": 6423218.2168586841, "times": 1533063600000 }, { "open": 433.25, "close": 433.16, "high": 434.89, "low": 431.43, "vol": 23177.17913893245, "val": 10026261.252959363, "times": 1533060000000 }, { "open": 432.91, "close": 433.25, "high": 436.31, "low": 431.99, "vol": 30780.580509948959, "val": 13347273.393087452, "times": 1533056400000 }, { "open": 430.37, "close": 432.99, "high": 433.0, "low": 429.36, "vol": 32554.903228018506, "val": 14049846.419836465, "times": 1533052800000 }, { "open": 430.87, "close": 430.38, "high": 431.5, "low": 429.24, "vol": 63663.512395347272, "val": 27411646.872351795, "times": 1533049200000 }, { "open": 430.95, "close": 430.84, "high": 433.51, "low": 428.01, "vol": 44289.493008131445, "val": 19100007.28782386, "times": 1533045600000 }, { "open": 433.52, "close": 431.04, "high": 436.57, "low": 430.01, "vol": 157759.05577655043, "val": 68348166.82858406, "times": 1533042000000 }, { "open": 438.38, "close": 433.52, "high": 438.53, "low": 431.11, "vol": 43330.283962554269, "val": 18836177.484242987, "times": 1533038400000 }, { "open": 433.22, "close": 438.38, "high": 440.67, "low": 432.0, "vol": 55502.695174822788, "val": 24226653.027984004, "times": 1533034800000 }, { "open": 445.0, "close": 433.38, "high": 445.81, "low": 433.38, "vol": 53852.045523693683, "val": 23719584.793154437, "times": 1533031200000 }, { "open": 446.24, "close": 444.99, "high": 448.0, "low": 444.0, "vol": 64226.772845435604, "val": 28632969.183816157, "times": 1533027600000 }, { "open": 449.72, "close": 446.18, "high": 449.86, "low": 443.99, "vol": 71595.373710214772, "val": 32011958.885036223, "times": 1533024000000 }, { "open": 450.61, "close": 449.73, "high": 451.53, "low": 449.36, "vol": 41143.472358278479, "val": 18525134.630177241, "times": 1533020400000 }, { "open": 451.69, "close": 450.61, "high": 452.23, "low": 450.61, "vol": 35689.405449624479, "val": 16113228.747842813, "times": 1533016800000 }, { "open": 451.21, "close": 451.68, "high": 451.97, "low": 450.35, "vol": 25138.588395738527, "val": 11343233.022908762, "times": 1533013200000 }, { "open": 451.0, "close": 451.21, "high": 451.43, "low": 448.97, "vol": 70314.246526368472, "val": 31690548.288920116, "times": 1533009600000 }, { "open": 452.49, "close": 451.0, "high": 452.81, "low": 450.85, "vol": 57801.147713315841, "val": 26108639.667460531, "times": 1533006000000 }, { "open": 453.87, "close": 452.49, "high": 454.26, "low": 452.49, "vol": 27152.059147980963, "val": 12314875.411255697, "times": 1533002400000 }, { "open": 455.16, "close": 453.87, "high": 456.0, "low": 453.19, "vol": 28604.751122114514, "val": 12993130.881691054, "times": 1532998800000 }, { "open": 456.67, "close": 455.35, "high": 457.38, "low": 454.59, "vol": 17688.548554756911, "val": 8069648.4585829619, "times": 1532995200000 }, { "open": 455.6, "close": 456.67, "high": 458.32, "low": 455.36, "vol": 20653.736237949714, "val": 9424182.5451025534, "times": 1532991600000 }, { "open": 453.71, "close": 455.54, "high": 456.7, "low": 453.65, "vol": 20498.061656176735, "val": 9328729.6023509949, "times": 1532988000000 }, { "open": 454.44, "close": 453.71, "high": 455.0, "low": 452.27, "vol": 15257.691667009552, "val": 6919597.5557784075, "times": 1532984400000 }, { "open": 454.2, "close": 454.44, "high": 456.3, "low": 451.86, "vol": 20756.924363822745, "val": 9418066.4409540836, "times": 1532980800000 }, { "open": 450.72, "close": 454.05, "high": 455.45, "low": 449.87, "vol": 39068.677011023341, "val": 17704809.713415381, "times": 1532977200000 }, { "open": 448.17, "close": 450.72, "high": 450.73, "low": 446.45, "vol": 60687.053112435715, "val": 27214075.678581025, "times": 1532973600000 }, { "open": 454.85, "close": 448.27, "high": 454.92, "low": 446.92, "vol": 59157.849638092412, "val": 26721976.491319615, "times": 1532970000000 }, { "open": 456.2, "close": 454.85, "high": 456.6, "low": 453.46, "vol": 251242.908688366, "val": 114501441.07504322, "times": 1532966400000 }, { "open": 462.3, "close": 456.2, "high": 462.71, "low": 455.7, "vol": 86268.721887207255, "val": 39675864.926614158, "times": 1532962800000 }, { "open": 459.1, "close": 462.35, "high": 463.0, "low": 459.01, "vol": 34522.141021797455, "val": 15864628.238890046, "times": 1532959200000 }, { "open": 460.33, "close": 459.1, "high": 460.42, "low": 459.01, "vol": 108958.61335868391, "val": 50115633.658789709, "times": 1532955600000 }, { "open": 461.59, "close": 460.33, "high": 461.99, "low": 460.01, "vol": 163721.00861040174, "val": 75392231.945309475, "times": 1532952000000 }, { "open": 461.33, "close": 461.6, "high": 461.78, "low": 460.31, "vol": 57430.886869876886, "val": 26471578.637738917, "times": 1532948400000 }, { "open": 461.14, "close": 461.33, "high": 462.0, "low": 460.77, "vol": 128269.37783068801, "val": 59174013.454519048, "times": 1532944800000 }, { "open": 463.18, "close": 461.03, "high": 463.44, "low": 460.66, "vol": 70512.135589768819, "val": 32590303.430512439, "times": 1532941200000 }, { "open": 464.29, "close": 463.16, "high": 465.03, "low": 462.51, "vol": 52897.579218822611, "val": 24500948.820440523, "times": 1532937600000 }, { "open": 463.12, "close": 464.29, "high": 464.98, "low": 462.26, "vol": 69216.056987725053, "val": 32053983.549501557, "times": 1532934000000 }, { "open": 464.26, "close": 463.13, "high": 464.68, "low": 462.48, "vol": 36997.967351975145, "val": 17154279.656634998, "times": 1532930400000 }, { "open": 464.83, "close": 464.26, "high": 464.91, "low": 463.76, "vol": 106385.67335424892, "val": 49437973.426057816, "times": 1532926800000 }, { "open": 464.67, "close": 464.83, "high": 465.54, "low": 463.45, "vol": 22295.082141287341, "val": 10353131.653767942, "times": 1532923200000 }, { "open": 466.16, "close": 464.67, "high": 467.43, "low": 463.89, "vol": 24992.644101650712, "val": 11637021.987253927, "times": 1532919600000 }, { "open": 466.98, "close": 466.15, "high": 467.13, "low": 465.41, "vol": 23112.374540443765, "val": 10774086.110104084, "times": 1532916000000 }, { "open": 463.28, "close": 466.98, "high": 469.32, "low": 462.0, "vol": 33418.618350238357, "val": 15563596.946475502, "times": 1532912400000 }, { "open": 466.43, "close": 463.28, "high": 467.07, "low": 460.11, "vol": 25623.766025925936, "val": 11854469.912825583, "times": 1532908800000 }, { "open": 465.79, "close": 466.46, "high": 469.79, "low": 465.54, "vol": 20995.324744131241, "val": 9813877.0682090782, "times": 1532905200000 }, { "open": 465.38, "close": 465.79, "high": 465.79, "low": 464.36, "vol": 11105.765640793283, "val": 5165078.8843826354, "times": 1532901600000 }, { "open": 465.51, "close": 465.38, "high": 466.41, "low": 465.01, "vol": 16522.134358846273, "val": 7691858.4033725578, "times": 1532898000000 }, { "open": 466.67, "close": 465.51, "high": 467.54, "low": 465.11, "vol": 17434.111007173655, "val": 8126607.7335544433, "times": 1532894400000 }, { "open": 466.08, "close": 466.67, "high": 468.0, "low": 465.37, "vol": 35587.578546595054, "val": 16590808.649344122, "times": 1532890800000 }, { "open": 465.38, "close": 466.08, "high": 466.5, "low": 465.33, "vol": 90027.745648300581, "val": 41952856.949864037, "times": 1532887200000 }, { "open": 464.21, "close": 465.38, "high": 465.56, "low": 464.12, "vol": 27068.568615116255, "val": 12588873.51512645, "times": 1532883600000 }, { "open": 467.44, "close": 464.21, "high": 467.53, "low": 464.14, "vol": 28954.559292184389, "val": 13470726.215575434, "times": 1532880000000 }, { "open": 466.45, "close": 467.44, "high": 467.79, "low": 465.91, "vol": 27645.048402627941, "val": 12907215.406883696, "times": 1532876400000 }, { "open": 464.06, "close": 466.45, "high": 467.62, "low": 464.05, "vol": 38868.753354565735, "val": 18102044.615925141, "times": 1532872800000 }, { "open": 465.35, "close": 464.06, "high": 466.55, "low": 463.86, "vol": 86810.4927528525, "val": 40330235.93070361, "times": 1532869200000 }, { "open": 464.84, "close": 465.35, "high": 467.33, "low": 463.28, "vol": 85051.6938059519, "val": 39540694.573700123, "times": 1532865600000 }, { "open": 464.25, "close": 464.81, "high": 465.15, "low": 461.66, "vol": 57407.323743908739, "val": 26585407.718235124, "times": 1532862000000 }, { "open": 464.55, "close": 464.25, "high": 465.29, "low": 463.44, "vol": 26414.530597024535, "val": 12268964.569267372, "times": 1532858400000 }, { "open": 464.0, "close": 464.57, "high": 465.57, "low": 463.78, "vol": 38449.566063409075, "val": 17863362.134199124, "times": 1532854800000 }, { "open": 464.65, "close": 464.0, "high": 465.04, "low": 463.56, "vol": 34274.630634518166, "val": 15907235.655597402, "times": 1532851200000 }, { "open": 465.39, "close": 464.65, "high": 465.88, "low": 464.59, "vol": 125516.8561577942, "val": 58438214.103278965, "times": 1532847600000 }, { "open": 466.4, "close": 465.39, "high": 466.71, "low": 465.39, "vol": 48408.111384677148, "val": 22549005.825552918, "times": 1532844000000 }, { "open": 465.23, "close": 466.43, "high": 467.19, "low": 464.71, "vol": 40388.0862933005, "val": 18821165.650294427, "times": 1532840400000 }, { "open": 466.55, "close": 465.23, "high": 466.91, "low": 465.01, "vol": 31667.155024475847, "val": 14749575.316882804, "times": 1532836800000 }, { "open": 468.02, "close": 466.56, "high": 468.41, "low": 465.55, "vol": 41281.549135710593, "val": 19292494.21642432, "times": 1532833200000 }, { "open": 468.92, "close": 468.02, "high": 469.95, "low": 467.6, "vol": 30867.691791458194, "val": 14473283.814198406, "times": 1532829600000 }, { "open": 468.35, "close": 468.94, "high": 469.13, "low": 467.1, "vol": 32216.556693655453, "val": 15084512.480909219, "times": 1532826000000 }, { "open": 468.85, "close": 468.35, "high": 471.9, "low": 468.33, "vol": 43474.391096042709, "val": 20438795.218848761, "times": 1532822400000 }, { "open": 466.78, "close": 468.9, "high": 469.27, "low": 466.09, "vol": 29231.378780289382, "val": 13647735.569771944, "times": 1532818800000 }, { "open": 464.43, "close": 466.8, "high": 468.22, "low": 464.42, "vol": 14400.477280011626, "val": 6718833.9457909372, "times": 1532815200000 }, { "open": 464.19, "close": 464.43, "high": 464.97, "low": 464.05, "vol": 14093.62384620945, "val": 6547464.4205809413, "times": 1532811600000 }, { "open": 465.48, "close": 464.29, "high": 466.03, "low": 464.19, "vol": 7991.8109313012337, "val": 3719687.8046629778, "times": 1532808000000 }, { "open": 465.8, "close": 465.48, "high": 466.35, "low": 465.14, "vol": 14268.488762545911, "val": 6646676.9885865171, "times": 1532804400000 }, { "open": 465.46, "close": 465.8, "high": 466.19, "low": 464.56, "vol": 16967.429116108149, "val": 7894713.07865931, "times": 1532800800000 }, { "open": 465.74, "close": 465.46, "high": 466.55, "low": 464.48, "vol": 20723.727939536628, "val": 9643520.9278928582, "times": 1532797200000 }, { "open": 463.3, "close": 465.74, "high": 466.3, "low": 463.29, "vol": 21893.023537560548, "val": 10183311.801022682, "times": 1532793600000 }, { "open": 464.43, "close": 463.28, "high": 464.9, "low": 461.03, "vol": 29904.773380850856, "val": 13845569.522476908, "times": 1532790000000 }, { "open": 465.59, "close": 464.49, "high": 465.67, "low": 462.44, "vol": 37429.295454096915, "val": 17385862.898649875, "times": 1532786400000 }, { "open": 467.62, "close": 465.6, "high": 467.99, "low": 465.42, "vol": 31925.170618193744, "val": 14902292.5093264, "times": 1532782800000 }, { "open": 467.88, "close": 467.62, "high": 468.64, "low": 467.23, "vol": 17412.537161012544, "val": 8146541.0242477711, "times": 1532779200000 }, { "open": 469.01, "close": 467.91, "high": 469.04, "low": 466.68, "vol": 50842.813446661647, "val": 23790180.139180064, "times": 1532775600000 }, { "open": 470.13, "close": 469.01, "high": 470.65, "low": 468.26, "vol": 92623.627134287744, "val": 43506209.1178064, "times": 1532772000000 }, { "open": 471.05, "close": 470.13, "high": 471.58, "low": 468.0, "vol": 53632.184515975088, "val": 25195113.406005483, "times": 1532768400000 }, { "open": 470.4, "close": 471.05, "high": 472.01, "low": 470.31, "vol": 20020.346066852737, "val": 9431783.8647596277, "times": 1532764800000 }, { "open": 470.86, "close": 470.4, "high": 470.99, "low": 469.97, "vol": 20171.452192355628, "val": 9493906.0589513984, "times": 1532761200000 }, { "open": 469.41, "close": 470.85, "high": 471.2, "low": 468.57, "vol": 33274.576651255229, "val": 15633452.245887322, "times": 1532757600000 }, { "open": 469.75, "close": 469.41, "high": 471.01, "low": 468.54, "vol": 39806.416035520218, "val": 18704216.8860385, "times": 1532754000000 }, { "open": 469.11, "close": 469.75, "high": 470.3, "low": 468.44, "vol": 41972.202946096433, "val": 19703261.99502112, "times": 1532750400000 }, { "open": 469.45, "close": 469.12, "high": 469.62, "low": 467.52, "vol": 43886.926414202921, "val": 20559885.799927149, "times": 1532746800000 }, { "open": 469.25, "close": 469.46, "high": 469.94, "low": 468.11, "vol": 39011.394404759929, "val": 18293805.065539915, "times": 1532743200000 }, { "open": 469.7, "close": 469.25, "high": 470.15, "low": 469.06, "vol": 35347.42453884313, "val": 16597146.690903185, "times": 1532739600000 }, { "open": 470.28, "close": 469.7, "high": 471.74, "low": 469.18, "vol": 24007.06591670369, "val": 11286301.426667543, "times": 1532736000000 }, { "open": 472.44, "close": 470.28, "high": 473.58, "low": 467.33, "vol": 27289.635419084818, "val": 12832090.092567043, "times": 1532732400000 }, { "open": 473.4, "close": 472.43, "high": 473.5, "low": 470.43, "vol": 16048.323488823404, "val": 7573004.4053719789, "times": 1532728800000 }, { "open": 468.13, "close": 473.4, "high": 473.87, "low": 467.91, "vol": 21613.798984323563, "val": 10192192.011428412, "times": 1532725200000 }, { "open": 467.29, "close": 468.04, "high": 469.15, "low": 467.06, "vol": 20392.799868722515, "val": 9541902.5450218972, "times": 1532721600000 }, { "open": 470.2, "close": 467.33, "high": 470.53, "low": 467.01, "vol": 18858.614936224349, "val": 8842092.5280757621, "times": 1532718000000 }, { "open": 467.25, "close": 470.2, "high": 470.31, "low": 467.1, "vol": 17432.05997216775, "val": 8172808.0727259833, "times": 1532714400000 }, { "open": 467.42, "close": 467.27, "high": 468.11, "low": 465.66, "vol": 23930.55677122367, "val": 11179626.792064153, "times": 1532710800000 }, { "open": 466.67, "close": 467.42, "high": 469.41, "low": 466.62, "vol": 33839.637832954526, "val": 15826057.28427911, "times": 1532707200000 }, { "open": 457.49, "close": 466.67, "high": 469.02, "low": 457.17, "vol": 43718.875089312038, "val": 20345361.492160108, "times": 1532703600000 }, { "open": 461.17, "close": 457.48, "high": 461.56, "low": 457.38, "vol": 33260.310556452852, "val": 15301708.162997395, "times": 1532700000000 }, { "open": 459.57, "close": 461.17, "high": 463.04, "low": 456.96, "vol": 29279.949406665655, "val": 13480680.026416082, "times": 1532696400000 }, { "open": 462.88, "close": 459.57, "high": 463.34, "low": 458.01, "vol": 24673.671437659286, "val": 11372144.063391989, "times": 1532692800000 }, { "open": 464.39, "close": 462.88, "high": 464.41, "low": 460.57, "vol": 23151.635469801971, "val": 10699804.9951448, "times": 1532689200000 }, { "open": 465.1, "close": 464.39, "high": 466.04, "low": 463.08, "vol": 25053.629835418167, "val": 11627820.397244319, "times": 1532685600000 }, { "open": 464.99, "close": 465.1, "high": 466.16, "low": 464.24, "vol": 73709.63294493845, "val": 34274538.721975192, "times": 1532682000000 }, { "open": 460.97, "close": 465.01, "high": 467.14, "low": 460.97, "vol": 34915.259866733992, "val": 16243093.264739433, "times": 1532678400000 }, { "open": 463.72, "close": 460.97, "high": 463.74, "low": 458.53, "vol": 54359.583218470449, "val": 25044522.974242, "times": 1532674800000 }, { "open": 464.54, "close": 463.72, "high": 464.99, "low": 463.04, "vol": 21469.559369827159, "val": 9963487.9772759061, "times": 1532671200000 }, { "open": 465.45, "close": 464.54, "high": 465.47, "low": 464.2, "vol": 31010.451676531669, "val": 14411701.377042579, "times": 1532667600000 }, { "open": 463.67, "close": 465.45, "high": 465.73, "low": 463.08, "vol": 31385.317092955505, "val": 14583499.760188298, "times": 1532664000000 }, { "open": 463.82, "close": 463.67, "high": 465.47, "low": 463.39, "vol": 44106.376598250419, "val": 20491969.158395402, "times": 1532660400000 }, { "open": 463.2, "close": 463.82, "high": 465.61, "low": 463.1, "vol": 24147.133448521752, "val": 11217222.834641388, "times": 1532656800000 }, { "open": 463.83, "close": 463.2, "high": 464.4, "low": 461.9, "vol": 44647.752235434811, "val": 20691212.707093995, "times": 1532653200000 }, { "open": 462.87, "close": 463.86, "high": 464.72, "low": 462.85, "vol": 16164.944628400885, "val": 7497392.3070129557, "times": 1532649600000 }, { "open": 462.67, "close": 462.87, "high": 465.99, "low": 460.03, "vol": 28081.142606895686, "val": 13015712.997441703, "times": 1532646000000 }, { "open": 466.78, "close": 462.68, "high": 469.01, "low": 462.65, "vol": 15897.485809167518, "val": 7402512.272568929, "times": 1532642400000 }, { "open": 472.0, "close": 466.58, "high": 472.03, "low": 462.0, "vol": 48536.433300356432, "val": 22646874.920074094, "times": 1532638800000 }, { "open": 478.34, "close": 472.0, "high": 479.42, "low": 472.0, "vol": 18324.377050910258, "val": 8741263.4358048718, "times": 1532635200000 }, { "open": 477.84, "close": 478.34, "high": 479.54, "low": 477.3, "vol": 65291.840434077516, "val": 31202194.235956904, "times": 1532631600000 }, { "open": 478.15, "close": 477.84, "high": 479.4, "low": 477.59, "vol": 81838.577143792849, "val": 39111302.247334927, "times": 1532628000000 }, { "open": 476.39, "close": 478.23, "high": 478.44, "low": 475.86, "vol": 20077.068233942722, "val": 9579502.1114490256, "times": 1532624400000 }, { "open": 475.6, "close": 476.34, "high": 476.71, "low": 474.02, "vol": 21133.926000313561, "val": 10041449.999876225, "times": 1532620800000 }, { "open": 478.02, "close": 475.6, "high": 478.02, "low": 474.84, "vol": 24126.439360438293, "val": 11489630.884997698, "times": 1532617200000 }, { "open": 476.61, "close": 478.02, "high": 478.16, "low": 474.0, "vol": 33265.593559818633, "val": 15822635.395117404, "times": 1532613600000 }, { "open": 478.25, "close": 476.61, "high": 478.42, "low": 475.66, "vol": 32186.950105198917, "val": 15351160.420445045, "times": 1532610000000 }, { "open": 477.71, "close": 478.25, "high": 478.5, "low": 474.0, "vol": 28479.20042327018, "val": 13577099.496283798, "times": 1532606400000 }, { "open": 482.48, "close": 477.71, "high": 482.69, "low": 476.5, "vol": 43073.009426724544, "val": 20660947.99026826, "times": 1532602800000 }, { "open": 481.88, "close": 482.48, "high": 484.04, "low": 481.8, "vol": 29652.842045516387, "val": 14310893.430463774, "times": 1532599200000 }, { "open": 481.49, "close": 481.88, "high": 483.12, "low": 481.3, "vol": 43350.134249294286, "val": 20894186.805523433, "times": 1532595600000 }, { "open": 480.9, "close": 481.5, "high": 484.01, "low": 480.7, "vol": 31341.778087530343, "val": 15106537.979705261, "times": 1532592000000 }, { "open": 483.38, "close": 480.91, "high": 484.83, "low": 478.87, "vol": 44517.654361434172, "val": 21433543.864998665, "times": 1532588400000 }, { "open": 477.05, "close": 483.45, "high": 484.99, "low": 476.74, "vol": 60585.424790200319, "val": 29031910.446047153, "times": 1532584800000 }, { "open": 477.25, "close": 477.05, "high": 477.84, "low": 476.3, "vol": 29905.288534860836, "val": 14268286.697011935, "times": 1532581200000 }, { "open": 476.0, "close": 477.25, "high": 477.72, "low": 476.0, "vol": 93004.489709234724, "val": 44308816.919178277, "times": 1532577600000 }, { "open": 475.22, "close": 476.02, "high": 476.54, "low": 474.5, "vol": 22327.86672845716, "val": 10617873.089866564, "times": 1532574000000 }, { "open": 476.19, "close": 475.22, "high": 476.2, "low": 474.26, "vol": 35574.087875645171, "val": 16906978.440973286, "times": 1532570400000 }, { "open": 475.53, "close": 476.19, "high": 476.98, "low": 474.51, "vol": 30145.019252311078, "val": 14331795.536816204, "times": 1532566800000 }, { "open": 472.02, "close": 475.53, "high": 476.8, "low": 471.96, "vol": 25325.370126208858, "val": 12031945.369578579, "times": 1532563200000 }, { "open": 475.21, "close": 472.02, "high": 477.32, "low": 471.04, "vol": 26006.709108402403, "val": 12339099.305248454, "times": 1532559600000 }, { "open": 476.74, "close": 475.2, "high": 478.58, "low": 474.77, "vol": 24989.226115835696, "val": 11898799.507943518, "times": 1532556000000 }, { "open": 475.88, "close": 476.75, "high": 477.72, "low": 474.66, "vol": 16216.388558164523, "val": 7720033.0173372431, "times": 1532552400000 }, { "open": 474.09, "close": 475.88, "high": 476.56, "low": 471.87, "vol": 18160.756083296608, "val": 8597892.3024808634, "times": 1532548800000 }, { "open": 469.46, "close": 474.09, "high": 474.54, "low": 469.46, "vol": 22706.515851829659, "val": 10713008.722961258, "times": 1532545200000 }, { "open": 470.62, "close": 469.46, "high": 471.9, "low": 468.76, "vol": 36056.454878712713, "val": 16967237.347827993, "times": 1532541600000 }, { "open": 471.69, "close": 470.62, "high": 472.75, "low": 469.5, "vol": 30960.028494309379, "val": 14575882.936959758, "times": 1532538000000 }, { "open": 467.86, "close": 471.69, "high": 474.06, "low": 466.53, "vol": 20540.749413705616, "val": 9672513.34455404, "times": 1532534400000 }, { "open": 470.82, "close": 467.87, "high": 471.0, "low": 464.4, "vol": 68571.862862559952, "val": 31990401.891279794, "times": 1532530800000 }, { "open": 471.06, "close": 470.82, "high": 472.01, "low": 468.58, "vol": 35488.79502137439, "val": 16682315.041151918, "times": 1532527200000 }, { "open": 471.79, "close": 471.07, "high": 472.54, "low": 468.57, "vol": 44415.433430750374, "val": 20930610.346494067, "times": 1532523600000 }, { "open": 469.57, "close": 471.8, "high": 472.08, "low": 469.46, "vol": 42368.877599529238, "val": 19943096.1294633, "times": 1532520000000 }, { "open": 471.56, "close": 469.54, "high": 472.25, "low": 469.34, "vol": 46096.120604403106, "val": 21705812.939687803, "times": 1532516400000 }, { "open": 472.73, "close": 471.56, "high": 472.73, "low": 467.0, "vol": 132092.00363239041, "val": 61977666.884178154, "times": 1532512800000 }, { "open": 475.47, "close": 472.74, "high": 475.47, "low": 472.06, "vol": 324016.78326451266, "val": 153223318.43095204, "times": 1532509200000 }, { "open": 477.44, "close": 475.47, "high": 477.45, "low": 473.06, "vol": 45110.156899678092, "val": 21440233.486377332, "times": 1532505600000 }, { "open": 479.37, "close": 477.44, "high": 482.0, "low": 476.95, "vol": 30214.697140476528, "val": 14483986.660486236, "times": 1532502000000 }, { "open": 484.35, "close": 479.36, "high": 484.35, "low": 477.61, "vol": 54677.793737548411, "val": 26275471.097370747, "times": 1532498400000 }, { "open": 483.96, "close": 484.37, "high": 485.31, "low": 483.01, "vol": 48939.78237719246, "val": 23681090.168397818, "times": 1532494800000 }, { "open": 479.9, "close": 484.05, "high": 484.45, "low": 478.3, "vol": 39138.153680502837, "val": 18846129.595810723, "times": 1532491200000 }, { "open": 477.82, "close": 479.9, "high": 480.9, "low": 475.28, "vol": 72448.937452067708, "val": 34542405.6464232, "times": 1532487600000 }, { "open": 482.15, "close": 477.8, "high": 482.19, "low": 477.14, "vol": 60186.248730063446, "val": 28831493.965473134, "times": 1532484000000 }, { "open": 479.45, "close": 482.15, "high": 483.04, "low": 478.5, "vol": 79099.84440823918, "val": 38004316.72641103, "times": 1532480400000 }, { "open": 479.04, "close": 479.46, "high": 484.99, "low": 478.12, "vol": 67404.029733142743, "val": 32489098.043779258, "times": 1532476800000 }, { "open": 476.9, "close": 479.08, "high": 480.83, "low": 474.0, "vol": 58208.549859386439, "val": 27820707.622730993, "times": 1532473200000 }, { "open": 475.67, "close": 476.9, "high": 478.62, "low": 474.98, "vol": 117907.0658522689, "val": 56189378.480451711, "times": 1532469600000 }, { "open": 473.52, "close": 475.67, "high": 475.98, "low": 472.47, "vol": 138177.07561253975, "val": 65380865.268321842, "times": 1532466000000 }, { "open": 475.92, "close": 473.52, "high": 475.98, "low": 472.51, "vol": 44945.533047151941, "val": 21307633.752153788, "times": 1532462400000 }, { "open": 476.6, "close": 475.92, "high": 478.25, "low": 475.7, "vol": 347583.13999805809, "val": 165496011.4595249, "times": 1532458800000 }, { "open": 475.09, "close": 476.39, "high": 478.0, "low": 473.7, "vol": 28415.607172106636, "val": 13516178.062688196, "times": 1532455200000 }, { "open": 472.74, "close": 475.09, "high": 477.84, "low": 472.67, "vol": 47746.787886284088, "val": 22686127.789631516, "times": 1532451600000 }, { "open": 475.16, "close": 472.69, "high": 475.68, "low": 471.2, "vol": 40132.388144701617, "val": 18977302.756405, "times": 1532448000000 }, { "open": 473.51, "close": 475.23, "high": 475.4, "low": 471.01, "vol": 41724.70246622058, "val": 19753946.977307525, "times": 1532444400000 }, { "open": 479.79, "close": 473.56, "high": 485.26, "low": 470.87, "vol": 45950.634591352129, "val": 21899537.952353645, "times": 1532440800000 }, { "open": 472.35, "close": 479.8, "high": 481.98, "low": 471.19, "vol": 44847.13745620133, "val": 21353736.180877849, "times": 1532437200000 }, { "open": 475.54, "close": 472.36, "high": 478.12, "low": 469.65, "vol": 36194.537902071737, "val": 17156406.197480574, "times": 1532433600000 }, { "open": 473.29, "close": 475.46, "high": 476.68, "low": 472.11, "vol": 46617.158745137596, "val": 22125864.642189525, "times": 1532430000000 }, { "open": 470.8, "close": 473.21, "high": 474.02, "low": 469.64, "vol": 30753.224752071539, "val": 14503410.150638536, "times": 1532426400000 }, { "open": 468.08, "close": 470.88, "high": 472.29, "low": 467.78, "vol": 56853.815471880676, "val": 26766654.044465773, "times": 1532422800000 }, { "open": 472.36, "close": 468.07, "high": 474.17, "low": 466.47, "vol": 61520.696469438619, "val": 28905699.568057526, "times": 1532419200000 }, { "open": 464.94, "close": 472.36, "high": 477.36, "low": 464.78, "vol": 71312.571833902912, "val": 33632209.346774742, "times": 1532415600000 }, { "open": 463.65, "close": 464.94, "high": 469.5, "low": 463.47, "vol": 59595.312867498338, "val": 27807073.748069827, "times": 1532412000000 }, { "open": 452.14, "close": 463.65, "high": 463.66, "low": 450.81, "vol": 42571.740300559948, "val": 19292021.477499448, "times": 1532408400000 }, { "open": 451.53, "close": 452.06, "high": 455.0, "low": 451.53, "vol": 36532.979659617624, "val": 16563403.631703926, "times": 1532404800000 }, { "open": 452.29, "close": 451.51, "high": 453.5, "low": 450.75, "vol": 33909.320601576852, "val": 15337845.257113768, "times": 1532401200000 }, { "open": 450.45, "close": 452.25, "high": 454.17, "low": 450.43, "vol": 41290.474524364843, "val": 18668105.467500433, "times": 1532397600000 }, { "open": 450.2, "close": 450.37, "high": 453.03, "low": 450.12, "vol": 27364.744252567521, "val": 12352475.801471064, "times": 1532394000000 }, { "open": 450.35, "close": 450.2, "high": 451.08, "low": 448.81, "vol": 34769.864425562191, "val": 15647778.229370965, "times": 1532390400000 }, { "open": 450.5, "close": 450.35, "high": 450.62, "low": 447.49, "vol": 26114.096454401479, "val": 11744178.768569363, "times": 1532386800000 }, { "open": 452.02, "close": 450.55, "high": 453.31, "low": 450.43, "vol": 39937.883006580349, "val": 18059510.072931211, "times": 1532383200000 }, { "open": 448.39, "close": 452.03, "high": 453.38, "low": 447.55, "vol": 15625.948935918323, "val": 7036262.5275447238, "times": 1532379600000 }, { "open": 451.69, "close": 448.39, "high": 452.86, "low": 448.01, "vol": 49082.903371713648, "val": 22114280.514706995, "times": 1532376000000 }, { "open": 454.86, "close": 451.69, "high": 456.38, "low": 451.06, "vol": 71357.3377768923, "val": 32312939.718937643, "times": 1532372400000 }, { "open": 452.93, "close": 454.86, "high": 458.5, "low": 451.0, "vol": 34449.465397169806, "val": 15659089.286817245, "times": 1532368800000 }, { "open": 456.23, "close": 452.93, "high": 456.6, "low": 452.93, "vol": 173031.39533133197, "val": 78727820.367372185, "times": 1532365200000 }, { "open": 463.26, "close": 456.24, "high": 463.66, "low": 456.08, "vol": 53377.364283924479, "val": 24542378.641590983, "times": 1532361600000 }, { "open": 461.87, "close": 463.27, "high": 464.04, "low": 461.22, "vol": 29879.021090648908, "val": 13826256.130842671, "times": 1532358000000 }, { "open": 462.9, "close": 461.87, "high": 463.23, "low": 460.77, "vol": 32042.745733927382, "val": 14800670.775941875, "times": 1532354400000 }, { "open": 461.51, "close": 462.9, "high": 463.56, "low": 460.97, "vol": 36850.023504554076, "val": 17035431.503667764, "times": 1532350800000 }, { "open": 462.45, "close": 461.51, "high": 463.28, "low": 460.99, "vol": 30500.243517003681, "val": 14090901.087078536, "times": 1532347200000 }, { "open": 462.94, "close": 462.45, "high": 463.85, "low": 461.32, "vol": 38072.1060461782, "val": 17605698.017941236, "times": 1532343600000 }, { "open": 464.36, "close": 462.94, "high": 465.0, "low": 462.17, "vol": 49176.368828039725, "val": 22832247.548817024, "times": 1532340000000 }, { "open": 463.58, "close": 464.44, "high": 464.69, "low": 460.69, "vol": 59933.058665533317, "val": 27719493.409341171, "times": 1532336400000 }, { "open": 465.95, "close": 463.58, "high": 466.25, "low": 459.18, "vol": 38133.91860626, "val": 17644127.0139354, "times": 1532332800000 }, { "open": 467.46, "close": 465.96, "high": 468.69, "low": 464.58, "vol": 43441.5338893624, "val": 20277822.9526365, "times": 1532329200000 }, { "open": 466.58, "close": 467.45, "high": 468.97, "low": 465.07, "vol": 112239.511351039, "val": 52346216.3405711, "times": 1532325600000 }, { "open": 468.23, "close": 466.58, "high": 468.23, "low": 465.5, "vol": 33878.4441995215, "val": 15811054.7915071, "times": 1532322000000 }, { "open": 465.69, "close": 468.23, "high": 470.15, "low": 465.63, "vol": 53636.7932969159, "val": 25076371.6662991, "times": 1532318400000 }, { "open": 466.37, "close": 465.69, "high": 467.52, "low": 464.76, "vol": 26547.1391624887, "val": 12375102.1695126, "times": 1532314800000 }, { "open": 462.8, "close": 466.37, "high": 468.5, "low": 461.56, "vol": 39733.2792770486, "val": 18502269.3149312, "times": 1532311200000 }, { "open": 460.04, "close": 462.8, "high": 462.97, "low": 458.5, "vol": 29144.5613906805, "val": 13425174.2820953, "times": 1532307600000 }, { "open": 457.78, "close": 460.02, "high": 460.55, "low": 455.51, "vol": 23165.8510896499, "val": 10612902.9111361, "times": 1532304000000 }, { "open": 457.89, "close": 457.8, "high": 458.9, "low": 456.9, "vol": 41405.7486504434, "val": 18964629.7409832, "times": 1532300400000 }, { "open": 456.1, "close": 457.89, "high": 459.02, "low": 454.54, "vol": 27535.3013286482, "val": 12587468.9661668, "times": 1532296800000 }, { "open": 464.62, "close": 456.01, "high": 467.04, "low": 455.0, "vol": 57596.1153604993, "val": 26359558.6806557, "times": 1532293200000 }, { "open": 464.18, "close": 464.62, "high": 466.0, "low": 463.76, "vol": 23229.5465776215, "val": 10797839.5299791, "times": 1532289600000 }, { "open": 464.26, "close": 464.17, "high": 465.29, "low": 462.84, "vol": 15950.8040959325, "val": 7403272.79131515, "times": 1532286000000 }, { "open": 464.19, "close": 464.24, "high": 465.85, "low": 464.01, "vol": 29737.2038588617, "val": 13820080.9929044, "times": 1532282400000 }, { "open": 466.91, "close": 464.19, "high": 467.56, "low": 461.18, "vol": 40329.6975486597, "val": 18713418.9141616, "times": 1532278800000 }, { "open": 468.97, "close": 466.88, "high": 470.17, "low": 465.34, "vol": 32915.019184702, "val": 15415656.9128121, "times": 1532275200000 }, { "open": 467.09, "close": 468.96, "high": 472.3, "low": 467.02, "vol": 34732.8363639051, "val": 16289171.8608996, "times": 1532271600000 }, { "open": 466.93, "close": 467.09, "high": 470.93, "low": 466.08, "vol": 34919.8749241802, "val": 16355413.8524174, "times": 1532268000000 }, { "open": 464.45, "close": 466.93, "high": 468.09, "low": 463.72, "vol": 25324.9218246622, "val": 11789669.2673744, "times": 1532264400000 }, { "open": 464.06, "close": 464.5, "high": 464.89, "low": 463.14, "vol": 24004.6344406792, "val": 11136892.3121116, "times": 1532260800000 }, { "open": 464.22, "close": 464.06, "high": 464.98, "low": 462.96, "vol": 32056.6256032986, "val": 14876563.2408873, "times": 1532257200000 }, { "open": 462.56, "close": 464.23, "high": 465.23, "low": 462.35, "vol": 27431.1512831029, "val": 12725917.817278, "times": 1532253600000 }, { "open": 463.92, "close": 462.53, "high": 463.92, "low": 461.76, "vol": 24547.385882426, "val": 11354511.0357282, "times": 1532250000000 }, { "open": 461.01, "close": 463.92, "high": 464.92, "low": 461.0, "vol": 35061.647778865, "val": 16253052.8990802, "times": 1532246400000 }, { "open": 461.34, "close": 461.01, "high": 461.73, "low": 459.77, "vol": 19105.3972610003, "val": 8805174.84012687, "times": 1532242800000 }, { "open": 463.8, "close": 461.27, "high": 463.81, "low": 459.76, "vol": 45180.9257550614, "val": 20846205.9544096, "times": 1532239200000 }, { "open": 460.7, "close": 463.8, "high": 464.41, "low": 460.64, "vol": 26472.2137291677, "val": 12224218.1720958, "times": 1532235600000 }, { "open": 461.51, "close": 460.7, "high": 462.35, "low": 459.91, "vol": 25975.7109661307, "val": 11980729.4558099, "times": 1532232000000 }, { "open": 462.1, "close": 461.55, "high": 462.37, "low": 458.88, "vol": 18208.4521007225, "val": 8394838.73718988, "times": 1532228400000 }, { "open": 467.05, "close": 462.1, "high": 467.06, "low": 461.63, "vol": 27906.8034639299, "val": 12960650.4432403, "times": 1532224800000 }, { "open": 465.2, "close": 467.05, "high": 467.12, "low": 463.65, "vol": 17814.0310413936, "val": 8284734.79462254, "times": 1532221200000 }, { "open": 460.55, "close": 465.2, "high": 465.43, "low": 457.17, "vol": 50958.1970166231, "val": 23474005.8434662, "times": 1532217600000 }, { "open": 464.18, "close": 460.55, "high": 464.18, "low": 460.5, "vol": 27493.0772241718, "val": 12703629.0475161, "times": 1532214000000 }, { "open": 464.64, "close": 464.18, "high": 465.54, "low": 463.53, "vol": 18626.391954681, "val": 8650535.38939962, "times": 1532210400000 }, { "open": 465.51, "close": 464.64, "high": 467.99, "low": 464.0, "vol": 15513.0841717468, "val": 7223691.72823045, "times": 1532206800000 }, { "open": 466.04, "close": 466.91, "high": 468.8, "low": 465.95, "vol": 9547.2833615926, "val": 4459839.38142665, "times": 1532203200000 }, { "open": 466.75, "close": 466.04, "high": 467.24, "low": 462.46, "vol": 25848.9007102951, "val": 12054667.7030727, "times": 1532199600000 }, { "open": 464.48, "close": 466.75, "high": 467.23, "low": 464.27, "vol": 19929.8229269182, "val": 9285825.25226027, "times": 1532196000000 }, { "open": 462.99, "close": 464.48, "high": 464.85, "low": 462.1, "vol": 35030.4658735042, "val": 16233355.623556, "times": 1532192400000 }, { "open": 466.09, "close": 462.99, "high": 469.0, "low": 462.11, "vol": 46686.1576541705, "val": 21668549.8132646, "times": 1532188800000 }, { "open": 461.86, "close": 466.09, "high": 467.18, "low": 461.86, "vol": 42179.3467572139, "val": 19642937.5284909, "times": 1532185200000 }, { "open": 458.34, "close": 461.86, "high": 463.5, "low": 458.0, "vol": 25709.1933112171, "val": 11874364.988535, "times": 1532181600000 }, { "open": 458.23, "close": 458.35, "high": 461.11, "low": 458.22, "vol": 32045.8235665397, "val": 14747587.6346323, "times": 1532178000000 }, { "open": 457.45, "close": 458.23, "high": 461.41, "low": 455.93, "vol": 34701.1701514398, "val": 15902142.0934711, "times": 1532174400000 }, { "open": 453.05, "close": 457.45, "high": 457.99, "low": 451.17, "vol": 29731.6830207808, "val": 13497169.6103733, "times": 1532170800000 }, { "open": 462.42, "close": 453.05, "high": 463.11, "low": 452.54, "vol": 39569.3995582136, "val": 18116453.6399729, "times": 1532167200000 }, { "open": 460.05, "close": 462.42, "high": 463.63, "low": 459.6, "vol": 38517.0434792631, "val": 17761175.8820421, "times": 1532163600000 }, { "open": 460.25, "close": 460.05, "high": 460.59, "low": 459.21, "vol": 42555.045489264, "val": 19577616.9018419, "times": 1532160000000 }, { "open": 464.24, "close": 460.24, "high": 464.41, "low": 460.11, "vol": 31632.4062601423, "val": 14633115.9153444, "times": 1532156400000 }, { "open": 460.24, "close": 464.4, "high": 464.71, "low": 458.61, "vol": 37619.3239816185, "val": 17356151.1145694, "times": 1532152800000 }, { "open": 457.84, "close": 460.24, "high": 461.0, "low": 457.29, "vol": 21412.0684378929, "val": 9839301.97306634, "times": 1532149200000 }, { "open": 454.76, "close": 457.74, "high": 458.01, "low": 452.76, "vol": 33091.991323046, "val": 15030998.0443801, "times": 1532145600000 }, { "open": 451.86, "close": 454.76, "high": 458.0, "low": 451.86, "vol": 16448.5897654305, "val": 7469546.6676008, "times": 1532142000000 }, { "open": 449.93, "close": 451.84, "high": 454.98, "low": 449.49, "vol": 24103.9524647116, "val": 10907025.9916224, "times": 1532138400000 }, { "open": 443.46, "close": 449.93, "high": 450.0, "low": 443.4, "vol": 31679.8739308241, "val": 14158854.0944536, "times": 1532134800000 }, { "open": 449.24, "close": 443.43, "high": 449.29, "low": 442.13, "vol": 76885.3053346595, "val": 34330507.8017782, "times": 1532131200000 }, { "open": 450.14, "close": 449.24, "high": 450.18, "low": 447.9, "vol": 26301.6595067525, "val": 11803465.0387087, "times": 1532127600000 }, { "open": 443.33, "close": 450.14, "high": 450.63, "low": 440.99, "vol": 19442.489920971, "val": 8662683.0712376, "times": 1532124000000 }, { "open": 444.99, "close": 443.33, "high": 446.09, "low": 443.01, "vol": 11422.4387762126, "val": 5084454.10072555, "times": 1532120400000 }, { "open": 445.78, "close": 445.0, "high": 447.65, "low": 443.57, "vol": 40717.9199542246, "val": 18140315.0425817, "times": 1532116800000 }, { "open": 452.87, "close": 445.78, "high": 452.93, "low": 444.82, "vol": 45504.6259768083, "val": 20347297.4183675, "times": 1532113200000 }, { "open": 450.03, "close": 452.87, "high": 453.72, "low": 448.28, "vol": 36807.773832572, "val": 16597870.1580182, "times": 1532109600000 }, { "open": 458.64, "close": 450.03, "high": 459.9, "low": 450.02, "vol": 99445.422563812, "val": 45117292.2454859, "times": 1532106000000 }, { "open": 458.46, "close": 458.66, "high": 472.01, "low": 458.2, "vol": 39400.8521378882, "val": 18245394.2223311, "times": 1532102400000 }, { "open": 463.72, "close": 458.42, "high": 465.8, "low": 457.6, "vol": 29053.5524392036, "val": 13423061.348299, "times": 1532098800000 }, { "open": 463.63, "close": 463.72, "high": 466.02, "low": 462.2, "vol": 29409.4097089897, "val": 13660113.8351511, "times": 1532095200000 }, { "open": 463.59, "close": 463.63, "high": 464.6, "low": 462.6, "vol": 15502.2771614115, "val": 7184689.29144999, "times": 1532091600000 }, { "open": 465.64, "close": 463.59, "high": 466.51, "low": 461.92, "vol": 20711.0684030697, "val": 9598490.60615335, "times": 1532088000000 }, { "open": 463.88, "close": 465.64, "high": 466.01, "low": 463.1, "vol": 18092.0598435274, "val": 8395483.54190385, "times": 1532084400000 }, { "open": 462.41, "close": 463.88, "high": 464.33, "low": 462.06, "vol": 25409.956122578, "val": 11772595.4839969, "times": 1532080800000 }, { "open": 465.48, "close": 462.49, "high": 466.22, "low": 462.17, "vol": 51098.1516502086, "val": 23711166.0247321, "times": 1532077200000 }, { "open": 459.49, "close": 465.39, "high": 469.34, "low": 459.26, "vol": 25975.8771479977, "val": 12057705.4095313, "times": 1532073600000 }, { "open": 455.93, "close": 459.37, "high": 459.59, "low": 455.0, "vol": 24391.6230007599, "val": 11148754.4006045, "times": 1532070000000 }, { "open": 460.24, "close": 455.97, "high": 460.24, "low": 453.02, "vol": 32820.5197392553, "val": 15004212.8739137, "times": 1532066400000 }, { "open": 463.55, "close": 460.25, "high": 463.81, "low": 459.53, "vol": 21398.0144841472, "val": 9882004.25763457, "times": 1532062800000 }, { "open": 466.45, "close": 463.55, "high": 466.5, "low": 463.21, "vol": 46034.007550219, "val": 21395636.176795, "times": 1532059200000 }, { "open": 467.51, "close": 466.45, "high": 467.78, "low": 465.45, "vol": 45301.8866841736, "val": 21157506.2827589, "times": 1532055600000 }, { "open": 465.01, "close": 467.51, "high": 468.21, "low": 464.01, "vol": 17607.9700399192, "val": 8211169.51328492, "times": 1532052000000 }, { "open": 460.4, "close": 465.01, "high": 465.09, "low": 459.11, "vol": 16567.0521491034, "val": 7645885.67580203, "times": 1532048400000 }, { "open": 469.12, "close": 460.4, "high": 469.28, "low": 460.2, "vol": 60722.7812529009, "val": 28051243.6228532, "times": 1532044800000 }, { "open": 469.29, "close": 469.13, "high": 471.1, "low": 467.01, "vol": 14131.4728784912, "val": 6627752.96045368, "times": 1532041200000 }, { "open": 467.73, "close": 469.29, "high": 477.35, "low": 467.24, "vol": 33753.301280461, "val": 15892569.2203848, "times": 1532037600000 }, { "open": 466.83, "close": 467.73, "high": 470.28, "low": 466.82, "vol": 16503.0790662044, "val": 7740728.31386154, "times": 1532034000000 }, { "open": 467.77, "close": 466.83, "high": 468.46, "low": 466.39, "vol": 53133.6149973896, "val": 24838778.4813663, "times": 1532030400000 }, { "open": 468.51, "close": 467.77, "high": 471.58, "low": 467.71, "vol": 31207.9265079932, "val": 14660257.3808074, "times": 1532026800000 }, { "open": 467.97, "close": 468.51, "high": 470.0, "low": 466.67, "vol": 27157.7767786937, "val": 12728267.7951459, "times": 1532023200000 }, { "open": 463.99, "close": 467.97, "high": 468.69, "low": 463.47, "vol": 37799.2248722865, "val": 17649791.1809406, "times": 1532019600000 }, { "open": 469.01, "close": 463.99, "high": 469.28, "low": 462.46, "vol": 46349.5391842946, "val": 21549334.3255574, "times": 1532016000000 }, { "open": 474.76, "close": 469.01, "high": 475.97, "low": 465.99, "vol": 59220.6800495189, "val": 27834538.8309944, "times": 1532012400000 }, { "open": 480.61, "close": 474.77, "high": 480.86, "low": 472.73, "vol": 36044.2644713769, "val": 17153461.692624, "times": 1532008800000 }, { "open": 482.1, "close": 480.52, "high": 483.5, "low": 476.72, "vol": 39421.7618353349, "val": 18979281.913593, "times": 1532005200000 }, { "open": 480.44, "close": 482.11, "high": 483.77, "low": 480.16, "vol": 30274.8326636966, "val": 14582134.552243, "times": 1532001600000 }, { "open": 477.35, "close": 480.44, "high": 480.86, "low": 477.08, "vol": 26497.4131120174, "val": 12672574.1413105, "times": 1531998000000 }, { "open": 479.53, "close": 477.35, "high": 480.43, "low": 477.31, "vol": 34803.2984025889, "val": 16661120.3117889, "times": 1531994400000 }, { "open": 476.37, "close": 479.53, "high": 479.85, "low": 476.22, "vol": 44196.7892711561, "val": 21114962.1041204, "times": 1531990800000 }, { "open": 476.61, "close": 476.37, "high": 477.12, "low": 475.73, "vol": 19033.8751177496, "val": 9070502.2271242, "times": 1531987200000 }, { "open": 477.2, "close": 476.61, "high": 477.89, "low": 476.34, "vol": 31881.7577612463, "val": 15204657.6610813, "times": 1531983600000 }, { "open": 475.2, "close": 477.17, "high": 478.64, "low": 475.2, "vol": 46140.3177712742, "val": 22018708.1260024, "times": 1531980000000 }, { "open": 474.64, "close": 475.2, "high": 475.53, "low": 473.85, "vol": 89524.8250354993, "val": 42496227.0198085, "times": 1531976400000 }, { "open": 474.36, "close": 474.64, "high": 475.99, "low": 474.02, "vol": 37558.7763082758, "val": 17849664.5057787, "times": 1531972800000 }, { "open": 474.94, "close": 474.36, "high": 476.78, "low": 474.3, "vol": 32488.5211770571, "val": 15442015.2822737, "times": 1531969200000 }, { "open": 471.75, "close": 474.94, "high": 476.04, "low": 470.65, "vol": 99536.2879559986, "val": 46982034.4060608, "times": 1531965600000 }, { "open": 475.37, "close": 471.75, "high": 475.49, "low": 469.4, "vol": 120225.833153845, "val": 56773240.0547376, "times": 1531962000000 }, { "open": 479.58, "close": 475.38, "high": 479.58, "low": 472.62, "vol": 33480.838630671, "val": 15934197.9519318, "times": 1531958400000 }, { "open": 480.76, "close": 479.58, "high": 481.77, "low": 477.58, "vol": 25765.6433254737, "val": 12359868.9713804, "times": 1531954800000 }, { "open": 475.27, "close": 480.79, "high": 482.02, "low": 472.03, "vol": 30147.6872617818, "val": 14381314.6357361, "times": 1531951200000 }, { "open": 473.5, "close": 475.27, "high": 476.1, "low": 471.83, "vol": 36942.3815259499, "val": 17524570.203379, "times": 1531947600000 }, { "open": 483.77, "close": 473.49, "high": 484.05, "low": 469.75, "vol": 80873.9516064381, "val": 38516203.7418531, "times": 1531944000000 }, { "open": 490.27, "close": 483.61, "high": 490.27, "low": 482.54, "vol": 71553.9872933175, "val": 34820570.5399152, "times": 1531940400000 }, { "open": 495.75, "close": 490.27, "high": 500.01, "low": 488.94, "vol": 31045.7776086784, "val": 15313144.172264, "times": 1531936800000 }, { "open": 492.35, "close": 495.97, "high": 496.15, "low": 491.54, "vol": 72214.0398932711, "val": 35590596.66544, "times": 1531933200000 }, { "open": 494.26, "close": 492.35, "high": 496.43, "low": 491.85, "vol": 342323.383631014, "val": 168799374.370884, "times": 1531929600000 }, { "open": 494.54, "close": 494.26, "high": 494.61, "low": 490.01, "vol": 68991.4409836818, "val": 33932398.8244913, "times": 1531926000000 }, { "open": 494.93, "close": 494.54, "high": 498.23, "low": 493.6, "vol": 26852.9353413645, "val": 13299286.5272246, "times": 1531922400000 }, { "open": 498.0, "close": 494.92, "high": 498.77, "low": 491.82, "vol": 67110.4488388382, "val": 33181546.4053137, "times": 1531918800000 }, { "open": 498.28, "close": 498.0, "high": 500.58, "low": 497.02, "vol": 40330.3823787945, "val": 20114867.7019372, "times": 1531915200000 }, { "open": 498.23, "close": 498.27, "high": 499.02, "low": 496.71, "vol": 28127.923447834, "val": 14010006.1667025, "times": 1531911600000 }, { "open": 498.29, "close": 498.24, "high": 499.89, "low": 496.06, "vol": 41348.3806867796, "val": 20601047.9856257, "times": 1531908000000 }, { "open": 497.87, "close": 498.29, "high": 499.32, "low": 495.98, "vol": 83021.296228224, "val": 41318485.8056233, "times": 1531904400000 }, { "open": 504.04, "close": 498.0, "high": 504.04, "low": 494.8, "vol": 64196.797582038, "val": 32036995.1290879, "times": 1531900800000 }, { "open": 503.31, "close": 504.04, "high": 504.24, "low": 500.34, "vol": 40364.2096698923, "val": 20272085.5764343, "times": 1531897200000 }, { "open": 504.0, "close": 503.31, "high": 504.86, "low": 502.83, "vol": 87215.6986909352, "val": 43923178.6870172, "times": 1531893600000 }, { "open": 502.85, "close": 503.79, "high": 504.9, "low": 501.0, "vol": 96960.4911136834, "val": 48732244.2109261, "times": 1531890000000 }, { "open": 505.15, "close": 502.85, "high": 506.15, "low": 502.0, "vol": 47606.5042711962, "val": 23965846.9787293, "times": 1531886400000 }, { "open": 507.7, "close": 505.05, "high": 514.79, "low": 500.0, "vol": 74656.4026846819, "val": 38082966.5065541, "times": 1531882800000 }, { "open": 503.61, "close": 507.66, "high": 510.01, "low": 503.61, "vol": 17211.4032066621, "val": 8719190.37831119, "times": 1531879200000 }];
           module.setDatas({
               datas : datas
           });

可用性

iOS系统,Android系统

可提供的1.0.0及更高版本

setOption

设置option

setOption({params})

params

option:

  • 类型:JSON 对象
  • 描述:内部字段定义,参考open的option参数描述

示例代码

var module = api.require('kLine');
module.setOption({
    option:{
        decimalplace: 2,   //(可选项)数字保留几位小数
        borderColor: "#c0c0c0",   //(可选项)边框颜色
        bgColor : "#ffffff",   //(可选项)底色
        rangeColor : "#888888",   //(可选项)量程刻度颜色
        timeRangeColor : "#010101",   //(可选项)时间刻度颜色
        volAreaWeight : 0.15,   //(可选项)vol区域占比重,如果为0,则不显示vol区域
        macdAreaWeight : 0,   //(可选项)macd区域占比重,如果为0,则不显示macd区域
        colorForKlineUp : "#ee524e",   //(可选项)k线涨的颜色
        colorForKlineDown : "#49bd7d",   //(可选项)k线跌的颜色
        selectedItemBgColor : "#1a000000",   //(可选项)选中k线的底色,la是透明度
        isMinute : false,   //(可选项)当前是否是分时的模式
        minuteLineColor : "#35c8b1",   //(可选项)分时线的颜色
        minuteFillColor : "#dfefed",   //(可选项)分时线的填充色
        tipText : ["时间","开","高","低","收","涨跌额","涨跌幅","成交量"],   //选中k线时,对应的标签框的文字
        tipBgColor : "#cb000000",   //(可选项)选中k线时,对应的标签框的底色,cb是透明度
        tipBorderColor : "#bcdef1",   //(可选项)选中k线时,对应的标签框的边框色
        tipTextColor : "#bcdef1",   //(可选项)选中k线时,对应的标签框的文字颜色
        macdValueColor : "#0f8988",   //(可选项)显示当前macd值的文字颜色
        difColor : "#49bd7d",   //(可选项)显示当前dif值的文字颜色
        deaColor : "#cf16d2",   //(可选项)显示当前dea值的文字颜色
        macdUpColor : "#ee524e",   //(可选项)macd柱子大于0时的颜色
        macdDownColor : "#49bd7d",   //(可选项)macd柱子小于0时的颜色
        drawDynamicValue : false,   //(可选项)是否显示currentPrice  stopProfit  stopLoss等标签
        stopProfitLossOnTopDown : false,   //(可选项)stopProfit  stopLoss分别分布上下两边,只在drawDynamicValue、isMintue同时为true时起作用
        timeDifference : 0,   //(可选项)时差,时间值要加几分钟显示
        maItems :[5 ,10 ,30],   //(可选项)ma的定义项
        maColors :["#35c8b1", "#e7b574", "#cf16d2"],   //(可选项)ma的定义项对应的颜色
        volMaItems :[5 ,10],   //(可选项)vol ma的定义项
        volMaColors :["#35c8b1", "#e7b574"],   //(可选项)vol ma的定义项对应的颜色
        ma60Color :"#cf16d2",   //(可选项)ma60的颜色
        volTextColor :"#3283c5",   //(可选项)显示当前vol值的文字颜色
        macdConfig :[12,26,9],   //(可选项)macd的定义项
        timeFormat : "MM-dd hh:mm",   //(可选项)时间格式化方式
        currentPriceDescText : "现价",   //(可选项)currentPrice的文字表述,如:现价
        currentPrice : "",   //(可选项)currentPrice的值,如"418.35"
        currentPriceBgColor : "#4186c9",   //(可选项)currentPrice的底色
        currentPriceTextColor : "#ffffff",   //(可选项)currentPrice的文字颜色
        stopProfitDescText : "止盈",   //(可选项)stopProfit的文字表述,如:止盈
        stopProfit : "",   //(可选项)stopProfit的值
        stopProfitTextColor : "#ffffff",   //(可选项)stopProfit的文字颜色
        stopLossDescText : "止损",   //(可选项)stopLoss的文字表述,如:止损
        stopLoss : "",   //(可选项)stopLoss的值
        stopLossTextColor : "#ffffff",   //(可选项)stopLoss的文字颜色
    }
});

可用性

iOS系统,Android系统

可提供的1.0.0及更高版本

setDatas

设置k线数据源

setDatas({params})

params

datas:

  • 类型:数组
  • 描述:k线数据数组,时间新的数据必须是排在前面。
  • 数组的内部字段:
{
    open:0,//开盘价
    close:0,//收盘价
    high:0,//最高价
    low:0,//最低价
    times:0,//对应的时间点timestamp,数组里面,所有项的times字段应该是从大到小排列的
    vol:0,//成交量
}

示例代码

            var module = api.require('kLine');

           var datas = [{ "open": 418.51, "close": 419.57, "high": 419.57, "low": 418.46, "vol": 8369.2090534990839, "val": 3505077.2667275481, "times": 1533103200000 }, { "open": 416.87, "close": 418.52, "high": 418.9, "low": 415.54, "vol": 58606.517458060189, "val": 24460795.947411776, "times": 1533099600000 }, { "open": 417.92, "close": 416.87, "high": 419.63, "low": 416.01, "vol": 28638.619129601662, "val": 11969192.380628875, "times": 1533096000000 }, { "open": 417.08, "close": 417.94, "high": 418.98, "low": 416.07, "vol": 49071.472226410639, "val": 20492807.97780646, "times": 1533092400000 }, { "open": 415.49, "close": 417.06, "high": 418.11, "low": 411.71, "vol": 37971.236675530774, "val": 15753530.308866542, "times": 1533088800000 }, { "open": 432.11, "close": 415.5, "high": 432.74, "low": 415.5, "vol": 47364.944760170765, "val": 20211243.170410253, "times": 1533085200000 }, { "open": 432.37, "close": 432.11, "high": 434.67, "low": 431.41, "vol": 30516.030626665786, "val": 13212509.957335684, "times": 1533081600000 }, { "open": 430.64, "close": 432.34, "high": 434.55, "low": 427.68, "vol": 38298.416868867607, "val": 16515359.073141795, "times": 1533078000000 }, { "open": 431.77, "close": 430.64, "high": 432.68, "low": 430.36, "vol": 24403.443760044229, "val": 10529032.738700558, "times": 1533074400000 }, { "open": 432.45, "close": 431.77, "high": 433.24, "low": 431.46, "vol": 15248.067522504174, "val": 6589229.3092181645, "times": 1533070800000 }, { "open": 435.07, "close": 432.45, "high": 435.07, "low": 431.23, "vol": 23983.131679237722, "val": 10403873.036601951, "times": 1533067200000 }, { "open": 433.16, "close": 435.07, "high": 435.56, "low": 432.58, "vol": 14797.690592114377, "val": 6423218.2168586841, "times": 1533063600000 }, { "open": 433.25, "close": 433.16, "high": 434.89, "low": 431.43, "vol": 23177.17913893245, "val": 10026261.252959363, "times": 1533060000000 }, { "open": 432.91, "close": 433.25, "high": 436.31, "low": 431.99, "vol": 30780.580509948959, "val": 13347273.393087452, "times": 1533056400000 }, { "open": 430.37, "close": 432.99, "high": 433.0, "low": 429.36, "vol": 32554.903228018506, "val": 14049846.419836465, "times": 1533052800000 }, { "open": 430.87, "close": 430.38, "high": 431.5, "low": 429.24, "vol": 63663.512395347272, "val": 27411646.872351795, "times": 1533049200000 }, { "open": 430.95, "close": 430.84, "high": 433.51, "low": 428.01, "vol": 44289.493008131445, "val": 19100007.28782386, "times": 1533045600000 }, { "open": 433.52, "close": 431.04, "high": 436.57, "low": 430.01, "vol": 157759.05577655043, "val": 68348166.82858406, "times": 1533042000000 }, { "open": 438.38, "close": 433.52, "high": 438.53, "low": 431.11, "vol": 43330.283962554269, "val": 18836177.484242987, "times": 1533038400000 }, { "open": 433.22, "close": 438.38, "high": 440.67, "low": 432.0, "vol": 55502.695174822788, "val": 24226653.027984004, "times": 1533034800000 }, { "open": 445.0, "close": 433.38, "high": 445.81, "low": 433.38, "vol": 53852.045523693683, "val": 23719584.793154437, "times": 1533031200000 }, { "open": 446.24, "close": 444.99, "high": 448.0, "low": 444.0, "vol": 64226.772845435604, "val": 28632969.183816157, "times": 1533027600000 }, { "open": 449.72, "close": 446.18, "high": 449.86, "low": 443.99, "vol": 71595.373710214772, "val": 32011958.885036223, "times": 1533024000000 }, { "open": 450.61, "close": 449.73, "high": 451.53, "low": 449.36, "vol": 41143.472358278479, "val": 18525134.630177241, "times": 1533020400000 }, { "open": 451.69, "close": 450.61, "high": 452.23, "low": 450.61, "vol": 35689.405449624479, "val": 16113228.747842813, "times": 1533016800000 }, { "open": 451.21, "close": 451.68, "high": 451.97, "low": 450.35, "vol": 25138.588395738527, "val": 11343233.022908762, "times": 1533013200000 }, { "open": 451.0, "close": 451.21, "high": 451.43, "low": 448.97, "vol": 70314.246526368472, "val": 31690548.288920116, "times": 1533009600000 }, { "open": 452.49, "close": 451.0, "high": 452.81, "low": 450.85, "vol": 57801.147713315841, "val": 26108639.667460531, "times": 1533006000000 }, { "open": 453.87, "close": 452.49, "high": 454.26, "low": 452.49, "vol": 27152.059147980963, "val": 12314875.411255697, "times": 1533002400000 }, { "open": 455.16, "close": 453.87, "high": 456.0, "low": 453.19, "vol": 28604.751122114514, "val": 12993130.881691054, "times": 1532998800000 }, { "open": 456.67, "close": 455.35, "high": 457.38, "low": 454.59, "vol": 17688.548554756911, "val": 8069648.4585829619, "times": 1532995200000 }, { "open": 455.6, "close": 456.67, "high": 458.32, "low": 455.36, "vol": 20653.736237949714, "val": 9424182.5451025534, "times": 1532991600000 }, { "open": 453.71, "close": 455.54, "high": 456.7, "low": 453.65, "vol": 20498.061656176735, "val": 9328729.6023509949, "times": 1532988000000 }, { "open": 454.44, "close": 453.71, "high": 455.0, "low": 452.27, "vol": 15257.691667009552, "val": 6919597.5557784075, "times": 1532984400000 }, { "open": 454.2, "close": 454.44, "high": 456.3, "low": 451.86, "vol": 20756.924363822745, "val": 9418066.4409540836, "times": 1532980800000 }, { "open": 450.72, "close": 454.05, "high": 455.45, "low": 449.87, "vol": 39068.677011023341, "val": 17704809.713415381, "times": 1532977200000 }, { "open": 448.17, "close": 450.72, "high": 450.73, "low": 446.45, "vol": 60687.053112435715, "val": 27214075.678581025, "times": 1532973600000 }, { "open": 454.85, "close": 448.27, "high": 454.92, "low": 446.92, "vol": 59157.849638092412, "val": 26721976.491319615, "times": 1532970000000 }, { "open": 456.2, "close": 454.85, "high": 456.6, "low": 453.46, "vol": 251242.908688366, "val": 114501441.07504322, "times": 1532966400000 }, { "open": 462.3, "close": 456.2, "high": 462.71, "low": 455.7, "vol": 86268.721887207255, "val": 39675864.926614158, "times": 1532962800000 }, { "open": 459.1, "close": 462.35, "high": 463.0, "low": 459.01, "vol": 34522.141021797455, "val": 15864628.238890046, "times": 1532959200000 }, { "open": 460.33, "close": 459.1, "high": 460.42, "low": 459.01, "vol": 108958.61335868391, "val": 50115633.658789709, "times": 1532955600000 }, { "open": 461.59, "close": 460.33, "high": 461.99, "low": 460.01, "vol": 163721.00861040174, "val": 75392231.945309475, "times": 1532952000000 }, { "open": 461.33, "close": 461.6, "high": 461.78, "low": 460.31, "vol": 57430.886869876886, "val": 26471578.637738917, "times": 1532948400000 }, { "open": 461.14, "close": 461.33, "high": 462.0, "low": 460.77, "vol": 128269.37783068801, "val": 59174013.454519048, "times": 1532944800000 }, { "open": 463.18, "close": 461.03, "high": 463.44, "low": 460.66, "vol": 70512.135589768819, "val": 32590303.430512439, "times": 1532941200000 }, { "open": 464.29, "close": 463.16, "high": 465.03, "low": 462.51, "vol": 52897.579218822611, "val": 24500948.820440523, "times": 1532937600000 }, { "open": 463.12, "close": 464.29, "high": 464.98, "low": 462.26, "vol": 69216.056987725053, "val": 32053983.549501557, "times": 1532934000000 }, { "open": 464.26, "close": 463.13, "high": 464.68, "low": 462.48, "vol": 36997.967351975145, "val": 17154279.656634998, "times": 1532930400000 }, { "open": 464.83, "close": 464.26, "high": 464.91, "low": 463.76, "vol": 106385.67335424892, "val": 49437973.426057816, "times": 1532926800000 }, { "open": 464.67, "close": 464.83, "high": 465.54, "low": 463.45, "vol": 22295.082141287341, "val": 10353131.653767942, "times": 1532923200000 }, { "open": 466.16, "close": 464.67, "high": 467.43, "low": 463.89, "vol": 24992.644101650712, "val": 11637021.987253927, "times": 1532919600000 }, { "open": 466.98, "close": 466.15, "high": 467.13, "low": 465.41, "vol": 23112.374540443765, "val": 10774086.110104084, "times": 1532916000000 }, { "open": 463.28, "close": 466.98, "high": 469.32, "low": 462.0, "vol": 33418.618350238357, "val": 15563596.946475502, "times": 1532912400000 }, { "open": 466.43, "close": 463.28, "high": 467.07, "low": 460.11, "vol": 25623.766025925936, "val": 11854469.912825583, "times": 1532908800000 }, { "open": 465.79, "close": 466.46, "high": 469.79, "low": 465.54, "vol": 20995.324744131241, "val": 9813877.0682090782, "times": 1532905200000 }, { "open": 465.38, "close": 465.79, "high": 465.79, "low": 464.36, "vol": 11105.765640793283, "val": 5165078.8843826354, "times": 1532901600000 }, { "open": 465.51, "close": 465.38, "high": 466.41, "low": 465.01, "vol": 16522.134358846273, "val": 7691858.4033725578, "times": 1532898000000 }, { "open": 466.67, "close": 465.51, "high": 467.54, "low": 465.11, "vol": 17434.111007173655, "val": 8126607.7335544433, "times": 1532894400000 }, { "open": 466.08, "close": 466.67, "high": 468.0, "low": 465.37, "vol": 35587.578546595054, "val": 16590808.649344122, "times": 1532890800000 }, { "open": 465.38, "close": 466.08, "high": 466.5, "low": 465.33, "vol": 90027.745648300581, "val": 41952856.949864037, "times": 1532887200000 }, { "open": 464.21, "close": 465.38, "high": 465.56, "low": 464.12, "vol": 27068.568615116255, "val": 12588873.51512645, "times": 1532883600000 }, { "open": 467.44, "close": 464.21, "high": 467.53, "low": 464.14, "vol": 28954.559292184389, "val": 13470726.215575434, "times": 1532880000000 }, { "open": 466.45, "close": 467.44, "high": 467.79, "low": 465.91, "vol": 27645.048402627941, "val": 12907215.406883696, "times": 1532876400000 }, { "open": 464.06, "close": 466.45, "high": 467.62, "low": 464.05, "vol": 38868.753354565735, "val": 18102044.615925141, "times": 1532872800000 }, { "open": 465.35, "close": 464.06, "high": 466.55, "low": 463.86, "vol": 86810.4927528525, "val": 40330235.93070361, "times": 1532869200000 }, { "open": 464.84, "close": 465.35, "high": 467.33, "low": 463.28, "vol": 85051.6938059519, "val": 39540694.573700123, "times": 1532865600000 }, { "open": 464.25, "close": 464.81, "high": 465.15, "low": 461.66, "vol": 57407.323743908739, "val": 26585407.718235124, "times": 1532862000000 }, { "open": 464.55, "close": 464.25, "high": 465.29, "low": 463.44, "vol": 26414.530597024535, "val": 12268964.569267372, "times": 1532858400000 }, { "open": 464.0, "close": 464.57, "high": 465.57, "low": 463.78, "vol": 38449.566063409075, "val": 17863362.134199124, "times": 1532854800000 }, { "open": 464.65, "close": 464.0, "high": 465.04, "low": 463.56, "vol": 34274.630634518166, "val": 15907235.655597402, "times": 1532851200000 }, { "open": 465.39, "close": 464.65, "high": 465.88, "low": 464.59, "vol": 125516.8561577942, "val": 58438214.103278965, "times": 1532847600000 }, { "open": 466.4, "close": 465.39, "high": 466.71, "low": 465.39, "vol": 48408.111384677148, "val": 22549005.825552918, "times": 1532844000000 }, { "open": 465.23, "close": 466.43, "high": 467.19, "low": 464.71, "vol": 40388.0862933005, "val": 18821165.650294427, "times": 1532840400000 }, { "open": 466.55, "close": 465.23, "high": 466.91, "low": 465.01, "vol": 31667.155024475847, "val": 14749575.316882804, "times": 1532836800000 }, { "open": 468.02, "close": 466.56, "high": 468.41, "low": 465.55, "vol": 41281.549135710593, "val": 19292494.21642432, "times": 1532833200000 }, { "open": 468.92, "close": 468.02, "high": 469.95, "low": 467.6, "vol": 30867.691791458194, "val": 14473283.814198406, "times": 1532829600000 }, { "open": 468.35, "close": 468.94, "high": 469.13, "low": 467.1, "vol": 32216.556693655453, "val": 15084512.480909219, "times": 1532826000000 }, { "open": 468.85, "close": 468.35, "high": 471.9, "low": 468.33, "vol": 43474.391096042709, "val": 20438795.218848761, "times": 1532822400000 }, { "open": 466.78, "close": 468.9, "high": 469.27, "low": 466.09, "vol": 29231.378780289382, "val": 13647735.569771944, "times": 1532818800000 }, { "open": 464.43, "close": 466.8, "high": 468.22, "low": 464.42, "vol": 14400.477280011626, "val": 6718833.9457909372, "times": 1532815200000 }, { "open": 464.19, "close": 464.43, "high": 464.97, "low": 464.05, "vol": 14093.62384620945, "val": 6547464.4205809413, "times": 1532811600000 }, { "open": 465.48, "close": 464.29, "high": 466.03, "low": 464.19, "vol": 7991.8109313012337, "val": 3719687.8046629778, "times": 1532808000000 }, { "open": 465.8, "close": 465.48, "high": 466.35, "low": 465.14, "vol": 14268.488762545911, "val": 6646676.9885865171, "times": 1532804400000 }, { "open": 465.46, "close": 465.8, "high": 466.19, "low": 464.56, "vol": 16967.429116108149, "val": 7894713.07865931, "times": 1532800800000 }, { "open": 465.74, "close": 465.46, "high": 466.55, "low": 464.48, "vol": 20723.727939536628, "val": 9643520.9278928582, "times": 1532797200000 }, { "open": 463.3, "close": 465.74, "high": 466.3, "low": 463.29, "vol": 21893.023537560548, "val": 10183311.801022682, "times": 1532793600000 }, { "open": 464.43, "close": 463.28, "high": 464.9, "low": 461.03, "vol": 29904.773380850856, "val": 13845569.522476908, "times": 1532790000000 }, { "open": 465.59, "close": 464.49, "high": 465.67, "low": 462.44, "vol": 37429.295454096915, "val": 17385862.898649875, "times": 1532786400000 }, { "open": 467.62, "close": 465.6, "high": 467.99, "low": 465.42, "vol": 31925.170618193744, "val": 14902292.5093264, "times": 1532782800000 }, { "open": 467.88, "close": 467.62, "high": 468.64, "low": 467.23, "vol": 17412.537161012544, "val": 8146541.0242477711, "times": 1532779200000 }, { "open": 469.01, "close": 467.91, "high": 469.04, "low": 466.68, "vol": 50842.813446661647, "val": 23790180.139180064, "times": 1532775600000 }, { "open": 470.13, "close": 469.01, "high": 470.65, "low": 468.26, "vol": 92623.627134287744, "val": 43506209.1178064, "times": 1532772000000 }, { "open": 471.05, "close": 470.13, "high": 471.58, "low": 468.0, "vol": 53632.184515975088, "val": 25195113.406005483, "times": 1532768400000 }, { "open": 470.4, "close": 471.05, "high": 472.01, "low": 470.31, "vol": 20020.346066852737, "val": 9431783.8647596277, "times": 1532764800000 }, { "open": 470.86, "close": 470.4, "high": 470.99, "low": 469.97, "vol": 20171.452192355628, "val": 9493906.0589513984, "times": 1532761200000 }, { "open": 469.41, "close": 470.85, "high": 471.2, "low": 468.57, "vol": 33274.576651255229, "val": 15633452.245887322, "times": 1532757600000 }, { "open": 469.75, "close": 469.41, "high": 471.01, "low": 468.54, "vol": 39806.416035520218, "val": 18704216.8860385, "times": 1532754000000 }, { "open": 469.11, "close": 469.75, "high": 470.3, "low": 468.44, "vol": 41972.202946096433, "val": 19703261.99502112, "times": 1532750400000 }, { "open": 469.45, "close": 469.12, "high": 469.62, "low": 467.52, "vol": 43886.926414202921, "val": 20559885.799927149, "times": 1532746800000 }, { "open": 469.25, "close": 469.46, "high": 469.94, "low": 468.11, "vol": 39011.394404759929, "val": 18293805.065539915, "times": 1532743200000 }, { "open": 469.7, "close": 469.25, "high": 470.15, "low": 469.06, "vol": 35347.42453884313, "val": 16597146.690903185, "times": 1532739600000 }, { "open": 470.28, "close": 469.7, "high": 471.74, "low": 469.18, "vol": 24007.06591670369, "val": 11286301.426667543, "times": 1532736000000 }, { "open": 472.44, "close": 470.28, "high": 473.58, "low": 467.33, "vol": 27289.635419084818, "val": 12832090.092567043, "times": 1532732400000 }, { "open": 473.4, "close": 472.43, "high": 473.5, "low": 470.43, "vol": 16048.323488823404, "val": 7573004.4053719789, "times": 1532728800000 }, { "open": 468.13, "close": 473.4, "high": 473.87, "low": 467.91, "vol": 21613.798984323563, "val": 10192192.011428412, "times": 1532725200000 }, { "open": 467.29, "close": 468.04, "high": 469.15, "low": 467.06, "vol": 20392.799868722515, "val": 9541902.5450218972, "times": 1532721600000 }, { "open": 470.2, "close": 467.33, "high": 470.53, "low": 467.01, "vol": 18858.614936224349, "val": 8842092.5280757621, "times": 1532718000000 }, { "open": 467.25, "close": 470.2, "high": 470.31, "low": 467.1, "vol": 17432.05997216775, "val": 8172808.0727259833, "times": 1532714400000 }, { "open": 467.42, "close": 467.27, "high": 468.11, "low": 465.66, "vol": 23930.55677122367, "val": 11179626.792064153, "times": 1532710800000 }, { "open": 466.67, "close": 467.42, "high": 469.41, "low": 466.62, "vol": 33839.637832954526, "val": 15826057.28427911, "times": 1532707200000 }, { "open": 457.49, "close": 466.67, "high": 469.02, "low": 457.17, "vol": 43718.875089312038, "val": 20345361.492160108, "times": 1532703600000 }, { "open": 461.17, "close": 457.48, "high": 461.56, "low": 457.38, "vol": 33260.310556452852, "val": 15301708.162997395, "times": 1532700000000 }, { "open": 459.57, "close": 461.17, "high": 463.04, "low": 456.96, "vol": 29279.949406665655, "val": 13480680.026416082, "times": 1532696400000 }, { "open": 462.88, "close": 459.57, "high": 463.34, "low": 458.01, "vol": 24673.671437659286, "val": 11372144.063391989, "times": 1532692800000 }, { "open": 464.39, "close": 462.88, "high": 464.41, "low": 460.57, "vol": 23151.635469801971, "val": 10699804.9951448, "times": 1532689200000 }, { "open": 465.1, "close": 464.39, "high": 466.04, "low": 463.08, "vol": 25053.629835418167, "val": 11627820.397244319, "times": 1532685600000 }, { "open": 464.99, "close": 465.1, "high": 466.16, "low": 464.24, "vol": 73709.63294493845, "val": 34274538.721975192, "times": 1532682000000 }, { "open": 460.97, "close": 465.01, "high": 467.14, "low": 460.97, "vol": 34915.259866733992, "val": 16243093.264739433, "times": 1532678400000 }, { "open": 463.72, "close": 460.97, "high": 463.74, "low": 458.53, "vol": 54359.583218470449, "val": 25044522.974242, "times": 1532674800000 }, { "open": 464.54, "close": 463.72, "high": 464.99, "low": 463.04, "vol": 21469.559369827159, "val": 9963487.9772759061, "times": 1532671200000 }, { "open": 465.45, "close": 464.54, "high": 465.47, "low": 464.2, "vol": 31010.451676531669, "val": 14411701.377042579, "times": 1532667600000 }, { "open": 463.67, "close": 465.45, "high": 465.73, "low": 463.08, "vol": 31385.317092955505, "val": 14583499.760188298, "times": 1532664000000 }, { "open": 463.82, "close": 463.67, "high": 465.47, "low": 463.39, "vol": 44106.376598250419, "val": 20491969.158395402, "times": 1532660400000 }, { "open": 463.2, "close": 463.82, "high": 465.61, "low": 463.1, "vol": 24147.133448521752, "val": 11217222.834641388, "times": 1532656800000 }, { "open": 463.83, "close": 463.2, "high": 464.4, "low": 461.9, "vol": 44647.752235434811, "val": 20691212.707093995, "times": 1532653200000 }, { "open": 462.87, "close": 463.86, "high": 464.72, "low": 462.85, "vol": 16164.944628400885, "val": 7497392.3070129557, "times": 1532649600000 }, { "open": 462.67, "close": 462.87, "high": 465.99, "low": 460.03, "vol": 28081.142606895686, "val": 13015712.997441703, "times": 1532646000000 }, { "open": 466.78, "close": 462.68, "high": 469.01, "low": 462.65, "vol": 15897.485809167518, "val": 7402512.272568929, "times": 1532642400000 }, { "open": 472.0, "close": 466.58, "high": 472.03, "low": 462.0, "vol": 48536.433300356432, "val": 22646874.920074094, "times": 1532638800000 }, { "open": 478.34, "close": 472.0, "high": 479.42, "low": 472.0, "vol": 18324.377050910258, "val": 8741263.4358048718, "times": 1532635200000 }, { "open": 477.84, "close": 478.34, "high": 479.54, "low": 477.3, "vol": 65291.840434077516, "val": 31202194.235956904, "times": 1532631600000 }, { "open": 478.15, "close": 477.84, "high": 479.4, "low": 477.59, "vol": 81838.577143792849, "val": 39111302.247334927, "times": 1532628000000 }, { "open": 476.39, "close": 478.23, "high": 478.44, "low": 475.86, "vol": 20077.068233942722, "val": 9579502.1114490256, "times": 1532624400000 }, { "open": 475.6, "close": 476.34, "high": 476.71, "low": 474.02, "vol": 21133.926000313561, "val": 10041449.999876225, "times": 1532620800000 }, { "open": 478.02, "close": 475.6, "high": 478.02, "low": 474.84, "vol": 24126.439360438293, "val": 11489630.884997698, "times": 1532617200000 }, { "open": 476.61, "close": 478.02, "high": 478.16, "low": 474.0, "vol": 33265.593559818633, "val": 15822635.395117404, "times": 1532613600000 }, { "open": 478.25, "close": 476.61, "high": 478.42, "low": 475.66, "vol": 32186.950105198917, "val": 15351160.420445045, "times": 1532610000000 }, { "open": 477.71, "close": 478.25, "high": 478.5, "low": 474.0, "vol": 28479.20042327018, "val": 13577099.496283798, "times": 1532606400000 }, { "open": 482.48, "close": 477.71, "high": 482.69, "low": 476.5, "vol": 43073.009426724544, "val": 20660947.99026826, "times": 1532602800000 }, { "open": 481.88, "close": 482.48, "high": 484.04, "low": 481.8, "vol": 29652.842045516387, "val": 14310893.430463774, "times": 1532599200000 }, { "open": 481.49, "close": 481.88, "high": 483.12, "low": 481.3, "vol": 43350.134249294286, "val": 20894186.805523433, "times": 1532595600000 }, { "open": 480.9, "close": 481.5, "high": 484.01, "low": 480.7, "vol": 31341.778087530343, "val": 15106537.979705261, "times": 1532592000000 }, { "open": 483.38, "close": 480.91, "high": 484.83, "low": 478.87, "vol": 44517.654361434172, "val": 21433543.864998665, "times": 1532588400000 }, { "open": 477.05, "close": 483.45, "high": 484.99, "low": 476.74, "vol": 60585.424790200319, "val": 29031910.446047153, "times": 1532584800000 }, { "open": 477.25, "close": 477.05, "high": 477.84, "low": 476.3, "vol": 29905.288534860836, "val": 14268286.697011935, "times": 1532581200000 }, { "open": 476.0, "close": 477.25, "high": 477.72, "low": 476.0, "vol": 93004.489709234724, "val": 44308816.919178277, "times": 1532577600000 }, { "open": 475.22, "close": 476.02, "high": 476.54, "low": 474.5, "vol": 22327.86672845716, "val": 10617873.089866564, "times": 1532574000000 }, { "open": 476.19, "close": 475.22, "high": 476.2, "low": 474.26, "vol": 35574.087875645171, "val": 16906978.440973286, "times": 1532570400000 }, { "open": 475.53, "close": 476.19, "high": 476.98, "low": 474.51, "vol": 30145.019252311078, "val": 14331795.536816204, "times": 1532566800000 }, { "open": 472.02, "close": 475.53, "high": 476.8, "low": 471.96, "vol": 25325.370126208858, "val": 12031945.369578579, "times": 1532563200000 }, { "open": 475.21, "close": 472.02, "high": 477.32, "low": 471.04, "vol": 26006.709108402403, "val": 12339099.305248454, "times": 1532559600000 }, { "open": 476.74, "close": 475.2, "high": 478.58, "low": 474.77, "vol": 24989.226115835696, "val": 11898799.507943518, "times": 1532556000000 }, { "open": 475.88, "close": 476.75, "high": 477.72, "low": 474.66, "vol": 16216.388558164523, "val": 7720033.0173372431, "times": 1532552400000 }, { "open": 474.09, "close": 475.88, "high": 476.56, "low": 471.87, "vol": 18160.756083296608, "val": 8597892.3024808634, "times": 1532548800000 }, { "open": 469.46, "close": 474.09, "high": 474.54, "low": 469.46, "vol": 22706.515851829659, "val": 10713008.722961258, "times": 1532545200000 }, { "open": 470.62, "close": 469.46, "high": 471.9, "low": 468.76, "vol": 36056.454878712713, "val": 16967237.347827993, "times": 1532541600000 }, { "open": 471.69, "close": 470.62, "high": 472.75, "low": 469.5, "vol": 30960.028494309379, "val": 14575882.936959758, "times": 1532538000000 }, { "open": 467.86, "close": 471.69, "high": 474.06, "low": 466.53, "vol": 20540.749413705616, "val": 9672513.34455404, "times": 1532534400000 }, { "open": 470.82, "close": 467.87, "high": 471.0, "low": 464.4, "vol": 68571.862862559952, "val": 31990401.891279794, "times": 1532530800000 }, { "open": 471.06, "close": 470.82, "high": 472.01, "low": 468.58, "vol": 35488.79502137439, "val": 16682315.041151918, "times": 1532527200000 }, { "open": 471.79, "close": 471.07, "high": 472.54, "low": 468.57, "vol": 44415.433430750374, "val": 20930610.346494067, "times": 1532523600000 }, { "open": 469.57, "close": 471.8, "high": 472.08, "low": 469.46, "vol": 42368.877599529238, "val": 19943096.1294633, "times": 1532520000000 }, { "open": 471.56, "close": 469.54, "high": 472.25, "low": 469.34, "vol": 46096.120604403106, "val": 21705812.939687803, "times": 1532516400000 }, { "open": 472.73, "close": 471.56, "high": 472.73, "low": 467.0, "vol": 132092.00363239041, "val": 61977666.884178154, "times": 1532512800000 }, { "open": 475.47, "close": 472.74, "high": 475.47, "low": 472.06, "vol": 324016.78326451266, "val": 153223318.43095204, "times": 1532509200000 }, { "open": 477.44, "close": 475.47, "high": 477.45, "low": 473.06, "vol": 45110.156899678092, "val": 21440233.486377332, "times": 1532505600000 }, { "open": 479.37, "close": 477.44, "high": 482.0, "low": 476.95, "vol": 30214.697140476528, "val": 14483986.660486236, "times": 1532502000000 }, { "open": 484.35, "close": 479.36, "high": 484.35, "low": 477.61, "vol": 54677.793737548411, "val": 26275471.097370747, "times": 1532498400000 }, { "open": 483.96, "close": 484.37, "high": 485.31, "low": 483.01, "vol": 48939.78237719246, "val": 23681090.168397818, "times": 1532494800000 }, { "open": 479.9, "close": 484.05, "high": 484.45, "low": 478.3, "vol": 39138.153680502837, "val": 18846129.595810723, "times": 1532491200000 }, { "open": 477.82, "close": 479.9, "high": 480.9, "low": 475.28, "vol": 72448.937452067708, "val": 34542405.6464232, "times": 1532487600000 }, { "open": 482.15, "close": 477.8, "high": 482.19, "low": 477.14, "vol": 60186.248730063446, "val": 28831493.965473134, "times": 1532484000000 }, { "open": 479.45, "close": 482.15, "high": 483.04, "low": 478.5, "vol": 79099.84440823918, "val": 38004316.72641103, "times": 1532480400000 }, { "open": 479.04, "close": 479.46, "high": 484.99, "low": 478.12, "vol": 67404.029733142743, "val": 32489098.043779258, "times": 1532476800000 }, { "open": 476.9, "close": 479.08, "high": 480.83, "low": 474.0, "vol": 58208.549859386439, "val": 27820707.622730993, "times": 1532473200000 }, { "open": 475.67, "close": 476.9, "high": 478.62, "low": 474.98, "vol": 117907.0658522689, "val": 56189378.480451711, "times": 1532469600000 }, { "open": 473.52, "close": 475.67, "high": 475.98, "low": 472.47, "vol": 138177.07561253975, "val": 65380865.268321842, "times": 1532466000000 }, { "open": 475.92, "close": 473.52, "high": 475.98, "low": 472.51, "vol": 44945.533047151941, "val": 21307633.752153788, "times": 1532462400000 }, { "open": 476.6, "close": 475.92, "high": 478.25, "low": 475.7, "vol": 347583.13999805809, "val": 165496011.4595249, "times": 1532458800000 }, { "open": 475.09, "close": 476.39, "high": 478.0, "low": 473.7, "vol": 28415.607172106636, "val": 13516178.062688196, "times": 1532455200000 }, { "open": 472.74, "close": 475.09, "high": 477.84, "low": 472.67, "vol": 47746.787886284088, "val": 22686127.789631516, "times": 1532451600000 }, { "open": 475.16, "close": 472.69, "high": 475.68, "low": 471.2, "vol": 40132.388144701617, "val": 18977302.756405, "times": 1532448000000 }, { "open": 473.51, "close": 475.23, "high": 475.4, "low": 471.01, "vol": 41724.70246622058, "val": 19753946.977307525, "times": 1532444400000 }, { "open": 479.79, "close": 473.56, "high": 485.26, "low": 470.87, "vol": 45950.634591352129, "val": 21899537.952353645, "times": 1532440800000 }, { "open": 472.35, "close": 479.8, "high": 481.98, "low": 471.19, "vol": 44847.13745620133, "val": 21353736.180877849, "times": 1532437200000 }, { "open": 475.54, "close": 472.36, "high": 478.12, "low": 469.65, "vol": 36194.537902071737, "val": 17156406.197480574, "times": 1532433600000 }, { "open": 473.29, "close": 475.46, "high": 476.68, "low": 472.11, "vol": 46617.158745137596, "val": 22125864.642189525, "times": 1532430000000 }, { "open": 470.8, "close": 473.21, "high": 474.02, "low": 469.64, "vol": 30753.224752071539, "val": 14503410.150638536, "times": 1532426400000 }, { "open": 468.08, "close": 470.88, "high": 472.29, "low": 467.78, "vol": 56853.815471880676, "val": 26766654.044465773, "times": 1532422800000 }, { "open": 472.36, "close": 468.07, "high": 474.17, "low": 466.47, "vol": 61520.696469438619, "val": 28905699.568057526, "times": 1532419200000 }, { "open": 464.94, "close": 472.36, "high": 477.36, "low": 464.78, "vol": 71312.571833902912, "val": 33632209.346774742, "times": 1532415600000 }, { "open": 463.65, "close": 464.94, "high": 469.5, "low": 463.47, "vol": 59595.312867498338, "val": 27807073.748069827, "times": 1532412000000 }, { "open": 452.14, "close": 463.65, "high": 463.66, "low": 450.81, "vol": 42571.740300559948, "val": 19292021.477499448, "times": 1532408400000 }, { "open": 451.53, "close": 452.06, "high": 455.0, "low": 451.53, "vol": 36532.979659617624, "val": 16563403.631703926, "times": 1532404800000 }, { "open": 452.29, "close": 451.51, "high": 453.5, "low": 450.75, "vol": 33909.320601576852, "val": 15337845.257113768, "times": 1532401200000 }, { "open": 450.45, "close": 452.25, "high": 454.17, "low": 450.43, "vol": 41290.474524364843, "val": 18668105.467500433, "times": 1532397600000 }, { "open": 450.2, "close": 450.37, "high": 453.03, "low": 450.12, "vol": 27364.744252567521, "val": 12352475.801471064, "times": 1532394000000 }, { "open": 450.35, "close": 450.2, "high": 451.08, "low": 448.81, "vol": 34769.864425562191, "val": 15647778.229370965, "times": 1532390400000 }, { "open": 450.5, "close": 450.35, "high": 450.62, "low": 447.49, "vol": 26114.096454401479, "val": 11744178.768569363, "times": 1532386800000 }, { "open": 452.02, "close": 450.55, "high": 453.31, "low": 450.43, "vol": 39937.883006580349, "val": 18059510.072931211, "times": 1532383200000 }, { "open": 448.39, "close": 452.03, "high": 453.38, "low": 447.55, "vol": 15625.948935918323, "val": 7036262.5275447238, "times": 1532379600000 }, { "open": 451.69, "close": 448.39, "high": 452.86, "low": 448.01, "vol": 49082.903371713648, "val": 22114280.514706995, "times": 1532376000000 }, { "open": 454.86, "close": 451.69, "high": 456.38, "low": 451.06, "vol": 71357.3377768923, "val": 32312939.718937643, "times": 1532372400000 }, { "open": 452.93, "close": 454.86, "high": 458.5, "low": 451.0, "vol": 34449.465397169806, "val": 15659089.286817245, "times": 1532368800000 }, { "open": 456.23, "close": 452.93, "high": 456.6, "low": 452.93, "vol": 173031.39533133197, "val": 78727820.367372185, "times": 1532365200000 }, { "open": 463.26, "close": 456.24, "high": 463.66, "low": 456.08, "vol": 53377.364283924479, "val": 24542378.641590983, "times": 1532361600000 }, { "open": 461.87, "close": 463.27, "high": 464.04, "low": 461.22, "vol": 29879.021090648908, "val": 13826256.130842671, "times": 1532358000000 }, { "open": 462.9, "close": 461.87, "high": 463.23, "low": 460.77, "vol": 32042.745733927382, "val": 14800670.775941875, "times": 1532354400000 }, { "open": 461.51, "close": 462.9, "high": 463.56, "low": 460.97, "vol": 36850.023504554076, "val": 17035431.503667764, "times": 1532350800000 }, { "open": 462.45, "close": 461.51, "high": 463.28, "low": 460.99, "vol": 30500.243517003681, "val": 14090901.087078536, "times": 1532347200000 }, { "open": 462.94, "close": 462.45, "high": 463.85, "low": 461.32, "vol": 38072.1060461782, "val": 17605698.017941236, "times": 1532343600000 }, { "open": 464.36, "close": 462.94, "high": 465.0, "low": 462.17, "vol": 49176.368828039725, "val": 22832247.548817024, "times": 1532340000000 }, { "open": 463.58, "close": 464.44, "high": 464.69, "low": 460.69, "vol": 59933.058665533317, "val": 27719493.409341171, "times": 1532336400000 }, { "open": 465.95, "close": 463.58, "high": 466.25, "low": 459.18, "vol": 38133.91860626, "val": 17644127.0139354, "times": 1532332800000 }, { "open": 467.46, "close": 465.96, "high": 468.69, "low": 464.58, "vol": 43441.5338893624, "val": 20277822.9526365, "times": 1532329200000 }, { "open": 466.58, "close": 467.45, "high": 468.97, "low": 465.07, "vol": 112239.511351039, "val": 52346216.3405711, "times": 1532325600000 }, { "open": 468.23, "close": 466.58, "high": 468.23, "low": 465.5, "vol": 33878.4441995215, "val": 15811054.7915071, "times": 1532322000000 }, { "open": 465.69, "close": 468.23, "high": 470.15, "low": 465.63, "vol": 53636.7932969159, "val": 25076371.6662991, "times": 1532318400000 }, { "open": 466.37, "close": 465.69, "high": 467.52, "low": 464.76, "vol": 26547.1391624887, "val": 12375102.1695126, "times": 1532314800000 }, { "open": 462.8, "close": 466.37, "high": 468.5, "low": 461.56, "vol": 39733.2792770486, "val": 18502269.3149312, "times": 1532311200000 }, { "open": 460.04, "close": 462.8, "high": 462.97, "low": 458.5, "vol": 29144.5613906805, "val": 13425174.2820953, "times": 1532307600000 }, { "open": 457.78, "close": 460.02, "high": 460.55, "low": 455.51, "vol": 23165.8510896499, "val": 10612902.9111361, "times": 1532304000000 }, { "open": 457.89, "close": 457.8, "high": 458.9, "low": 456.9, "vol": 41405.7486504434, "val": 18964629.7409832, "times": 1532300400000 }, { "open": 456.1, "close": 457.89, "high": 459.02, "low": 454.54, "vol": 27535.3013286482, "val": 12587468.9661668, "times": 1532296800000 }, { "open": 464.62, "close": 456.01, "high": 467.04, "low": 455.0, "vol": 57596.1153604993, "val": 26359558.6806557, "times": 1532293200000 }, { "open": 464.18, "close": 464.62, "high": 466.0, "low": 463.76, "vol": 23229.5465776215, "val": 10797839.5299791, "times": 1532289600000 }, { "open": 464.26, "close": 464.17, "high": 465.29, "low": 462.84, "vol": 15950.8040959325, "val": 7403272.79131515, "times": 1532286000000 }, { "open": 464.19, "close": 464.24, "high": 465.85, "low": 464.01, "vol": 29737.2038588617, "val": 13820080.9929044, "times": 1532282400000 }, { "open": 466.91, "close": 464.19, "high": 467.56, "low": 461.18, "vol": 40329.6975486597, "val": 18713418.9141616, "times": 1532278800000 }, { "open": 468.97, "close": 466.88, "high": 470.17, "low": 465.34, "vol": 32915.019184702, "val": 15415656.9128121, "times": 1532275200000 }, { "open": 467.09, "close": 468.96, "high": 472.3, "low": 467.02, "vol": 34732.8363639051, "val": 16289171.8608996, "times": 1532271600000 }, { "open": 466.93, "close": 467.09, "high": 470.93, "low": 466.08, "vol": 34919.8749241802, "val": 16355413.8524174, "times": 1532268000000 }, { "open": 464.45, "close": 466.93, "high": 468.09, "low": 463.72, "vol": 25324.9218246622, "val": 11789669.2673744, "times": 1532264400000 }, { "open": 464.06, "close": 464.5, "high": 464.89, "low": 463.14, "vol": 24004.6344406792, "val": 11136892.3121116, "times": 1532260800000 }, { "open": 464.22, "close": 464.06, "high": 464.98, "low": 462.96, "vol": 32056.6256032986, "val": 14876563.2408873, "times": 1532257200000 }, { "open": 462.56, "close": 464.23, "high": 465.23, "low": 462.35, "vol": 27431.1512831029, "val": 12725917.817278, "times": 1532253600000 }, { "open": 463.92, "close": 462.53, "high": 463.92, "low": 461.76, "vol": 24547.385882426, "val": 11354511.0357282, "times": 1532250000000 }, { "open": 461.01, "close": 463.92, "high": 464.92, "low": 461.0, "vol": 35061.647778865, "val": 16253052.8990802, "times": 1532246400000 }, { "open": 461.34, "close": 461.01, "high": 461.73, "low": 459.77, "vol": 19105.3972610003, "val": 8805174.84012687, "times": 1532242800000 }, { "open": 463.8, "close": 461.27, "high": 463.81, "low": 459.76, "vol": 45180.9257550614, "val": 20846205.9544096, "times": 1532239200000 }, { "open": 460.7, "close": 463.8, "high": 464.41, "low": 460.64, "vol": 26472.2137291677, "val": 12224218.1720958, "times": 1532235600000 }, { "open": 461.51, "close": 460.7, "high": 462.35, "low": 459.91, "vol": 25975.7109661307, "val": 11980729.4558099, "times": 1532232000000 }, { "open": 462.1, "close": 461.55, "high": 462.37, "low": 458.88, "vol": 18208.4521007225, "val": 8394838.73718988, "times": 1532228400000 }, { "open": 467.05, "close": 462.1, "high": 467.06, "low": 461.63, "vol": 27906.8034639299, "val": 12960650.4432403, "times": 1532224800000 }, { "open": 465.2, "close": 467.05, "high": 467.12, "low": 463.65, "vol": 17814.0310413936, "val": 8284734.79462254, "times": 1532221200000 }, { "open": 460.55, "close": 465.2, "high": 465.43, "low": 457.17, "vol": 50958.1970166231, "val": 23474005.8434662, "times": 1532217600000 }, { "open": 464.18, "close": 460.55, "high": 464.18, "low": 460.5, "vol": 27493.0772241718, "val": 12703629.0475161, "times": 1532214000000 }, { "open": 464.64, "close": 464.18, "high": 465.54, "low": 463.53, "vol": 18626.391954681, "val": 8650535.38939962, "times": 1532210400000 }, { "open": 465.51, "close": 464.64, "high": 467.99, "low": 464.0, "vol": 15513.0841717468, "val": 7223691.72823045, "times": 1532206800000 }, { "open": 466.04, "close": 466.91, "high": 468.8, "low": 465.95, "vol": 9547.2833615926, "val": 4459839.38142665, "times": 1532203200000 }, { "open": 466.75, "close": 466.04, "high": 467.24, "low": 462.46, "vol": 25848.9007102951, "val": 12054667.7030727, "times": 1532199600000 }, { "open": 464.48, "close": 466.75, "high": 467.23, "low": 464.27, "vol": 19929.8229269182, "val": 9285825.25226027, "times": 1532196000000 }, { "open": 462.99, "close": 464.48, "high": 464.85, "low": 462.1, "vol": 35030.4658735042, "val": 16233355.623556, "times": 1532192400000 }, { "open": 466.09, "close": 462.99, "high": 469.0, "low": 462.11, "vol": 46686.1576541705, "val": 21668549.8132646, "times": 1532188800000 }, { "open": 461.86, "close": 466.09, "high": 467.18, "low": 461.86, "vol": 42179.3467572139, "val": 19642937.5284909, "times": 1532185200000 }, { "open": 458.34, "close": 461.86, "high": 463.5, "low": 458.0, "vol": 25709.1933112171, "val": 11874364.988535, "times": 1532181600000 }, { "open": 458.23, "close": 458.35, "high": 461.11, "low": 458.22, "vol": 32045.8235665397, "val": 14747587.6346323, "times": 1532178000000 }, { "open": 457.45, "close": 458.23, "high": 461.41, "low": 455.93, "vol": 34701.1701514398, "val": 15902142.0934711, "times": 1532174400000 }, { "open": 453.05, "close": 457.45, "high": 457.99, "low": 451.17, "vol": 29731.6830207808, "val": 13497169.6103733, "times": 1532170800000 }, { "open": 462.42, "close": 453.05, "high": 463.11, "low": 452.54, "vol": 39569.3995582136, "val": 18116453.6399729, "times": 1532167200000 }, { "open": 460.05, "close": 462.42, "high": 463.63, "low": 459.6, "vol": 38517.0434792631, "val": 17761175.8820421, "times": 1532163600000 }, { "open": 460.25, "close": 460.05, "high": 460.59, "low": 459.21, "vol": 42555.045489264, "val": 19577616.9018419, "times": 1532160000000 }, { "open": 464.24, "close": 460.24, "high": 464.41, "low": 460.11, "vol": 31632.4062601423, "val": 14633115.9153444, "times": 1532156400000 }, { "open": 460.24, "close": 464.4, "high": 464.71, "low": 458.61, "vol": 37619.3239816185, "val": 17356151.1145694, "times": 1532152800000 }, { "open": 457.84, "close": 460.24, "high": 461.0, "low": 457.29, "vol": 21412.0684378929, "val": 9839301.97306634, "times": 1532149200000 }, { "open": 454.76, "close": 457.74, "high": 458.01, "low": 452.76, "vol": 33091.991323046, "val": 15030998.0443801, "times": 1532145600000 }, { "open": 451.86, "close": 454.76, "high": 458.0, "low": 451.86, "vol": 16448.5897654305, "val": 7469546.6676008, "times": 1532142000000 }, { "open": 449.93, "close": 451.84, "high": 454.98, "low": 449.49, "vol": 24103.9524647116, "val": 10907025.9916224, "times": 1532138400000 }, { "open": 443.46, "close": 449.93, "high": 450.0, "low": 443.4, "vol": 31679.8739308241, "val": 14158854.0944536, "times": 1532134800000 }, { "open": 449.24, "close": 443.43, "high": 449.29, "low": 442.13, "vol": 76885.3053346595, "val": 34330507.8017782, "times": 1532131200000 }, { "open": 450.14, "close": 449.24, "high": 450.18, "low": 447.9, "vol": 26301.6595067525, "val": 11803465.0387087, "times": 1532127600000 }, { "open": 443.33, "close": 450.14, "high": 450.63, "low": 440.99, "vol": 19442.489920971, "val": 8662683.0712376, "times": 1532124000000 }, { "open": 444.99, "close": 443.33, "high": 446.09, "low": 443.01, "vol": 11422.4387762126, "val": 5084454.10072555, "times": 1532120400000 }, { "open": 445.78, "close": 445.0, "high": 447.65, "low": 443.57, "vol": 40717.9199542246, "val": 18140315.0425817, "times": 1532116800000 }, { "open": 452.87, "close": 445.78, "high": 452.93, "low": 444.82, "vol": 45504.6259768083, "val": 20347297.4183675, "times": 1532113200000 }, { "open": 450.03, "close": 452.87, "high": 453.72, "low": 448.28, "vol": 36807.773832572, "val": 16597870.1580182, "times": 1532109600000 }, { "open": 458.64, "close": 450.03, "high": 459.9, "low": 450.02, "vol": 99445.422563812, "val": 45117292.2454859, "times": 1532106000000 }, { "open": 458.46, "close": 458.66, "high": 472.01, "low": 458.2, "vol": 39400.8521378882, "val": 18245394.2223311, "times": 1532102400000 }, { "open": 463.72, "close": 458.42, "high": 465.8, "low": 457.6, "vol": 29053.5524392036, "val": 13423061.348299, "times": 1532098800000 }, { "open": 463.63, "close": 463.72, "high": 466.02, "low": 462.2, "vol": 29409.4097089897, "val": 13660113.8351511, "times": 1532095200000 }, { "open": 463.59, "close": 463.63, "high": 464.6, "low": 462.6, "vol": 15502.2771614115, "val": 7184689.29144999, "times": 1532091600000 }, { "open": 465.64, "close": 463.59, "high": 466.51, "low": 461.92, "vol": 20711.0684030697, "val": 9598490.60615335, "times": 1532088000000 }, { "open": 463.88, "close": 465.64, "high": 466.01, "low": 463.1, "vol": 18092.0598435274, "val": 8395483.54190385, "times": 1532084400000 }, { "open": 462.41, "close": 463.88, "high": 464.33, "low": 462.06, "vol": 25409.956122578, "val": 11772595.4839969, "times": 1532080800000 }, { "open": 465.48, "close": 462.49, "high": 466.22, "low": 462.17, "vol": 51098.1516502086, "val": 23711166.0247321, "times": 1532077200000 }, { "open": 459.49, "close": 465.39, "high": 469.34, "low": 459.26, "vol": 25975.8771479977, "val": 12057705.4095313, "times": 1532073600000 }, { "open": 455.93, "close": 459.37, "high": 459.59, "low": 455.0, "vol": 24391.6230007599, "val": 11148754.4006045, "times": 1532070000000 }, { "open": 460.24, "close": 455.97, "high": 460.24, "low": 453.02, "vol": 32820.5197392553, "val": 15004212.8739137, "times": 1532066400000 }, { "open": 463.55, "close": 460.25, "high": 463.81, "low": 459.53, "vol": 21398.0144841472, "val": 9882004.25763457, "times": 1532062800000 }, { "open": 466.45, "close": 463.55, "high": 466.5, "low": 463.21, "vol": 46034.007550219, "val": 21395636.176795, "times": 1532059200000 }, { "open": 467.51, "close": 466.45, "high": 467.78, "low": 465.45, "vol": 45301.8866841736, "val": 21157506.2827589, "times": 1532055600000 }, { "open": 465.01, "close": 467.51, "high": 468.21, "low": 464.01, "vol": 17607.9700399192, "val": 8211169.51328492, "times": 1532052000000 }, { "open": 460.4, "close": 465.01, "high": 465.09, "low": 459.11, "vol": 16567.0521491034, "val": 7645885.67580203, "times": 1532048400000 }, { "open": 469.12, "close": 460.4, "high": 469.28, "low": 460.2, "vol": 60722.7812529009, "val": 28051243.6228532, "times": 1532044800000 }, { "open": 469.29, "close": 469.13, "high": 471.1, "low": 467.01, "vol": 14131.4728784912, "val": 6627752.96045368, "times": 1532041200000 }, { "open": 467.73, "close": 469.29, "high": 477.35, "low": 467.24, "vol": 33753.301280461, "val": 15892569.2203848, "times": 1532037600000 }, { "open": 466.83, "close": 467.73, "high": 470.28, "low": 466.82, "vol": 16503.0790662044, "val": 7740728.31386154, "times": 1532034000000 }, { "open": 467.77, "close": 466.83, "high": 468.46, "low": 466.39, "vol": 53133.6149973896, "val": 24838778.4813663, "times": 1532030400000 }, { "open": 468.51, "close": 467.77, "high": 471.58, "low": 467.71, "vol": 31207.9265079932, "val": 14660257.3808074, "times": 1532026800000 }, { "open": 467.97, "close": 468.51, "high": 470.0, "low": 466.67, "vol": 27157.7767786937, "val": 12728267.7951459, "times": 1532023200000 }, { "open": 463.99, "close": 467.97, "high": 468.69, "low": 463.47, "vol": 37799.2248722865, "val": 17649791.1809406, "times": 1532019600000 }, { "open": 469.01, "close": 463.99, "high": 469.28, "low": 462.46, "vol": 46349.5391842946, "val": 21549334.3255574, "times": 1532016000000 }, { "open": 474.76, "close": 469.01, "high": 475.97, "low": 465.99, "vol": 59220.6800495189, "val": 27834538.8309944, "times": 1532012400000 }, { "open": 480.61, "close": 474.77, "high": 480.86, "low": 472.73, "vol": 36044.2644713769, "val": 17153461.692624, "times": 1532008800000 }, { "open": 482.1, "close": 480.52, "high": 483.5, "low": 476.72, "vol": 39421.7618353349, "val": 18979281.913593, "times": 1532005200000 }, { "open": 480.44, "close": 482.11, "high": 483.77, "low": 480.16, "vol": 30274.8326636966, "val": 14582134.552243, "times": 1532001600000 }, { "open": 477.35, "close": 480.44, "high": 480.86, "low": 477.08, "vol": 26497.4131120174, "val": 12672574.1413105, "times": 1531998000000 }, { "open": 479.53, "close": 477.35, "high": 480.43, "low": 477.31, "vol": 34803.2984025889, "val": 16661120.3117889, "times": 1531994400000 }, { "open": 476.37, "close": 479.53, "high": 479.85, "low": 476.22, "vol": 44196.7892711561, "val": 21114962.1041204, "times": 1531990800000 }, { "open": 476.61, "close": 476.37, "high": 477.12, "low": 475.73, "vol": 19033.8751177496, "val": 9070502.2271242, "times": 1531987200000 }, { "open": 477.2, "close": 476.61, "high": 477.89, "low": 476.34, "vol": 31881.7577612463, "val": 15204657.6610813, "times": 1531983600000 }, { "open": 475.2, "close": 477.17, "high": 478.64, "low": 475.2, "vol": 46140.3177712742, "val": 22018708.1260024, "times": 1531980000000 }, { "open": 474.64, "close": 475.2, "high": 475.53, "low": 473.85, "vol": 89524.8250354993, "val": 42496227.0198085, "times": 1531976400000 }, { "open": 474.36, "close": 474.64, "high": 475.99, "low": 474.02, "vol": 37558.7763082758, "val": 17849664.5057787, "times": 1531972800000 }, { "open": 474.94, "close": 474.36, "high": 476.78, "low": 474.3, "vol": 32488.5211770571, "val": 15442015.2822737, "times": 1531969200000 }, { "open": 471.75, "close": 474.94, "high": 476.04, "low": 470.65, "vol": 99536.2879559986, "val": 46982034.4060608, "times": 1531965600000 }, { "open": 475.37, "close": 471.75, "high": 475.49, "low": 469.4, "vol": 120225.833153845, "val": 56773240.0547376, "times": 1531962000000 }, { "open": 479.58, "close": 475.38, "high": 479.58, "low": 472.62, "vol": 33480.838630671, "val": 15934197.9519318, "times": 1531958400000 }, { "open": 480.76, "close": 479.58, "high": 481.77, "low": 477.58, "vol": 25765.6433254737, "val": 12359868.9713804, "times": 1531954800000 }, { "open": 475.27, "close": 480.79, "high": 482.02, "low": 472.03, "vol": 30147.6872617818, "val": 14381314.6357361, "times": 1531951200000 }, { "open": 473.5, "close": 475.27, "high": 476.1, "low": 471.83, "vol": 36942.3815259499, "val": 17524570.203379, "times": 1531947600000 }, { "open": 483.77, "close": 473.49, "high": 484.05, "low": 469.75, "vol": 80873.9516064381, "val": 38516203.7418531, "times": 1531944000000 }, { "open": 490.27, "close": 483.61, "high": 490.27, "low": 482.54, "vol": 71553.9872933175, "val": 34820570.5399152, "times": 1531940400000 }, { "open": 495.75, "close": 490.27, "high": 500.01, "low": 488.94, "vol": 31045.7776086784, "val": 15313144.172264, "times": 1531936800000 }, { "open": 492.35, "close": 495.97, "high": 496.15, "low": 491.54, "vol": 72214.0398932711, "val": 35590596.66544, "times": 1531933200000 }, { "open": 494.26, "close": 492.35, "high": 496.43, "low": 491.85, "vol": 342323.383631014, "val": 168799374.370884, "times": 1531929600000 }, { "open": 494.54, "close": 494.26, "high": 494.61, "low": 490.01, "vol": 68991.4409836818, "val": 33932398.8244913, "times": 1531926000000 }, { "open": 494.93, "close": 494.54, "high": 498.23, "low": 493.6, "vol": 26852.9353413645, "val": 13299286.5272246, "times": 1531922400000 }, { "open": 498.0, "close": 494.92, "high": 498.77, "low": 491.82, "vol": 67110.4488388382, "val": 33181546.4053137, "times": 1531918800000 }, { "open": 498.28, "close": 498.0, "high": 500.58, "low": 497.02, "vol": 40330.3823787945, "val": 20114867.7019372, "times": 1531915200000 }, { "open": 498.23, "close": 498.27, "high": 499.02, "low": 496.71, "vol": 28127.923447834, "val": 14010006.1667025, "times": 1531911600000 }, { "open": 498.29, "close": 498.24, "high": 499.89, "low": 496.06, "vol": 41348.3806867796, "val": 20601047.9856257, "times": 1531908000000 }, { "open": 497.87, "close": 498.29, "high": 499.32, "low": 495.98, "vol": 83021.296228224, "val": 41318485.8056233, "times": 1531904400000 }, { "open": 504.04, "close": 498.0, "high": 504.04, "low": 494.8, "vol": 64196.797582038, "val": 32036995.1290879, "times": 1531900800000 }, { "open": 503.31, "close": 504.04, "high": 504.24, "low": 500.34, "vol": 40364.2096698923, "val": 20272085.5764343, "times": 1531897200000 }, { "open": 504.0, "close": 503.31, "high": 504.86, "low": 502.83, "vol": 87215.6986909352, "val": 43923178.6870172, "times": 1531893600000 }, { "open": 502.85, "close": 503.79, "high": 504.9, "low": 501.0, "vol": 96960.4911136834, "val": 48732244.2109261, "times": 1531890000000 }, { "open": 505.15, "close": 502.85, "high": 506.15, "low": 502.0, "vol": 47606.5042711962, "val": 23965846.9787293, "times": 1531886400000 }, { "open": 507.7, "close": 505.05, "high": 514.79, "low": 500.0, "vol": 74656.4026846819, "val": 38082966.5065541, "times": 1531882800000 }, { "open": 503.61, "close": 507.66, "high": 510.01, "low": 503.61, "vol": 17211.4032066621, "val": 8719190.37831119, "times": 1531879200000 }];
           module.setDatas({
               datas : datas
           });

可用性

iOS系统,Android系统

可提供的1.0.0及更高版本

setPrice

更新currentPrice stopProfit stopLoss或者追加k线新数据,如当前是1分钟k线,您可能过了1分钟,会从数据库拉下来1个k线数据(1分钟一条数据),需要把这个数据追加到k线当中

setPrice({params})

params

currentPrice:

  • 类型:字符串
  • 描述:(可选项)currentPrice的值。

stopLoss:

  • 类型:字符串
  • 描述:(可选项)stopLoss的值。

stopProfit:

  • 类型:字符串
  • 描述:(可选项)stopProfit的值。

datas

  • 类型:数组
  • 描述:(可选项)追加新的K线数据。

    示例代码

                var module = api.require('kLine');
                module.setPrice({
                   currentPrice: price,
                   datas: [{ "open": 418.51, "close": price, "high": 419.57, "low": 418.46, "vol": 8369.2090534990839, "val": 3505077.2667275481, "times": 1533103200000 }],
               });

可用性

iOS系统,Android系统

可提供的1.0.0及更高版本

close

关闭K线模块

close()

示例代码

var module = api.require('kLine');
module.close();

可用性

iOS系统,Android系统

可提供的1.0.0及更高版本

getImage

获取当前K线模块的图像,调用此方法前,必须调用open或者setOption方法,设置了模块的option,并且调用setDatas设置了数据源

getImage(callback(ret, err))

params

w:

  • 类型:整形
  • 描述:(可选项)图片的宽度(默认为K线模块宽度)。

h:

  • 类型:整形
  • 描述:(可选项)图片的高度(默认为K线模块高度)。

callback(ret, err)

ret:

  • 类型:JSON 对象
  • 内部字段:
{
    result: "data:image/png;base64,***"   //字符串;png图像的base64表现形式
}

err:

  • 类型:JSON 对象
  • 内部字段:
{
    error: "",//字符串;错误信息
}

示例代码

            var module = api.require('kLine');
            module.getImage(function (ret, err) {
                document.getElementById("img").src = ret.result;
            });

可用性

iOS系统,Android系统

可提供的1.0.0及更高版本

show

显示K线模块(如果当前隐藏了)

show(callback(ret, err))

callback(ret, err)

ret:

  • 类型:JSON 对象
  • 内部字段:
    {
      result: "ok"   //字符串
    }
    

err:

  • 类型:JSON 对象
  • 内部字段:
{
    error: "",//字符串;错误信息
}

示例代码

            var module = api.require('kLine');
            module.show(function (ret, err) {

            });

可用性

iOS系统,Android系统

可提供的1.0.2及更高版本

hide

隐藏K线模块

hide(callback(ret, err))

callback(ret, err)

ret:

  • 类型:JSON 对象
  • 内部字段:
    {
      result: "ok"   //字符串
    }
    

err:

  • 类型:JSON 对象
  • 内部字段:
{
    error: "",//字符串;错误信息
}

示例代码

            var module = api.require('kLine');
            module.hide(function (ret, err) {

            });

可用性

iOS系统,Android系统

可提供的1.0.4及更高版本