Skip to content

Instantly share code, notes, and snippets.

@timelyportfolio
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timelyportfolio/11219237 to your computer and use it in GitHub Desktop.
Save timelyportfolio/11219237 to your computer and use it in GitHub Desktop.
rCharts + PortfolioAnalytics | nvd3 sample
<!doctype HTML>
<meta charset = 'utf-8'>
<html>
<head>
<link rel='stylesheet' href='http://cdnjs.cloudflare.com/ajax/libs/nvd3/1.1.15-beta/nv.d3.css'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'></script>
<script src='http://d3js.org/d3.v3.min.js' type='text/javascript'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/nvd3/1.1.15-beta/nv.d3.js' type='text/javascript'></script>
<style>
.rChart {
display: block;
margin-left: auto;
margin-right: auto;
width: 800px;
height: 400px;
}
</style>
</head>
<body >
<div id = 'chart274c38415442' class = 'rChart nvd3'></div>
<script type='text/javascript'>
$(document).ready(function(){
drawchart274c38415442()
});
function drawchart274c38415442(){
var opts = {
"dom": "chart274c38415442",
"width": 800,
"height": 400,
"x": "date",
"y": "weight",
"group": "stock",
"type": "multiBarChart",
"id": "chart274c38415442"
},
data = [
{
"date": 12689,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 12780,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 12871,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 12962,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13053,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13144,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13235,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13326,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13417,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13508,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13599,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13690,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13781,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13872,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 13963,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14054,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14152,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14243,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14334,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14425,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14516,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14607,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14698,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14789,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14880,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 14971,
"stock": "ORCL",
"weight": 0.01
},
{
"date": 12689,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 12780,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 12871,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 12962,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13053,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13144,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13235,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13326,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13417,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13508,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13599,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13690,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13781,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13872,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 13963,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14054,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14152,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14243,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14334,
"stock": "MSFT",
"weight": 0.01264131844854
},
{
"date": 14425,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14516,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14607,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14698,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14789,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14880,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 14971,
"stock": "MSFT",
"weight": 0.01
},
{
"date": 12689,
"stock": "HON",
"weight": 0.01
},
{
"date": 12780,
"stock": "HON",
"weight": 0.01
},
{
"date": 12871,
"stock": "HON",
"weight": 0.01
},
{
"date": 12962,
"stock": "HON",
"weight": 0.01
},
{
"date": 13053,
"stock": "HON",
"weight": 0.01
},
{
"date": 13144,
"stock": "HON",
"weight": 0.01
},
{
"date": 13235,
"stock": "HON",
"weight": 0.01
},
{
"date": 13326,
"stock": "HON",
"weight": 0.01
},
{
"date": 13417,
"stock": "HON",
"weight": 0.01
},
{
"date": 13508,
"stock": "HON",
"weight": 0.01
},
{
"date": 13599,
"stock": "HON",
"weight": 0.01
},
{
"date": 13690,
"stock": "HON",
"weight": 0.01
},
{
"date": 13781,
"stock": "HON",
"weight": 0.01
},
{
"date": 13872,
"stock": "HON",
"weight": 0.01
},
{
"date": 13963,
"stock": "HON",
"weight": 0.01
},
{
"date": 14054,
"stock": "HON",
"weight": 0.01
},
{
"date": 14152,
"stock": "HON",
"weight": 0.01
},
{
"date": 14243,
"stock": "HON",
"weight": 0.01
},
{
"date": 14334,
"stock": "HON",
"weight": 0.01
},
{
"date": 14425,
"stock": "HON",
"weight": 0.01
},
{
"date": 14516,
"stock": "HON",
"weight": 0.01
},
{
"date": 14607,
"stock": "HON",
"weight": 0.01
},
{
"date": 14698,
"stock": "HON",
"weight": 0.01
},
{
"date": 14789,
"stock": "HON",
"weight": 0.01
},
{
"date": 14880,
"stock": "HON",
"weight": 0.01
},
{
"date": 14971,
"stock": "HON",
"weight": 0.01
},
{
"date": 12689,
"stock": "EMC",
"weight": 0.01
},
{
"date": 12780,
"stock": "EMC",
"weight": 0.01
},
{
"date": 12871,
"stock": "EMC",
"weight": 0.01
},
{
"date": 12962,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13053,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13144,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13235,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13326,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13417,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13508,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13599,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13690,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13781,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13872,
"stock": "EMC",
"weight": 0.01
},
{
"date": 13963,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14054,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14152,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14243,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14334,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14425,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14516,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14607,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14698,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14789,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14880,
"stock": "EMC",
"weight": 0.01
},
{
"date": 14971,
"stock": "EMC",
"weight": 0.01
},
{
"date": 12689,
"stock": "DELL",
"weight": 0.01
},
{
"date": 12780,
"stock": "DELL",
"weight": 0.01
},
{
"date": 12871,
"stock": "DELL",
"weight": 0.01
},
{
"date": 12962,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13053,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13144,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13235,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13326,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13417,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13508,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13599,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13690,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13781,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13872,
"stock": "DELL",
"weight": 0.01
},
{
"date": 13963,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14054,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14152,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14243,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14334,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14425,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14516,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14607,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14698,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14789,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14880,
"stock": "DELL",
"weight": 0.01
},
{
"date": 14971,
"stock": "DELL",
"weight": 0.01
},
{
"date": 12689,
"stock": "KO",
"weight": 0.04672445428167
},
{
"date": 12780,
"stock": "KO",
"weight": 0.06698206624198
},
{
"date": 12871,
"stock": "KO",
"weight": 0.1081288321673
},
{
"date": 12962,
"stock": "KO",
"weight": 0.09982521361577
},
{
"date": 13053,
"stock": "KO",
"weight": 0.1023982352767
},
{
"date": 13144,
"stock": "KO",
"weight": 0.1218938098742
},
{
"date": 13235,
"stock": "KO",
"weight": 0.11067721851
},
{
"date": 13326,
"stock": "KO",
"weight": 0.1312540234475
},
{
"date": 13417,
"stock": "KO",
"weight": 0.1246161485749
},
{
"date": 13508,
"stock": "KO",
"weight": 0.1246787399863
},
{
"date": 13599,
"stock": "KO",
"weight": 0.1326182398981
},
{
"date": 13690,
"stock": "KO",
"weight": 0.08662376487764
},
{
"date": 13781,
"stock": "KO",
"weight": 0.1018507688587
},
{
"date": 13872,
"stock": "KO",
"weight": 0.1588507425993
},
{
"date": 13963,
"stock": "KO",
"weight": 0.1674833452576
},
{
"date": 14054,
"stock": "KO",
"weight": 0.143273986064
},
{
"date": 14152,
"stock": "KO",
"weight": 0.1228910888393
},
{
"date": 14243,
"stock": "KO",
"weight": 0.1476424190353
},
{
"date": 14334,
"stock": "KO",
"weight": 0.1750546420486
},
{
"date": 14425,
"stock": "KO",
"weight": 0.1993353750991
},
{
"date": 14516,
"stock": "KO",
"weight": 0.2
},
{
"date": 14607,
"stock": "KO",
"weight": 0.2
},
{
"date": 14698,
"stock": "KO",
"weight": 0.2
},
{
"date": 14789,
"stock": "KO",
"weight": 0.2
},
{
"date": 14880,
"stock": "KO",
"weight": 0.2
},
{
"date": 14971,
"stock": "KO",
"weight": 0.2
},
{
"date": 12689,
"stock": "DD",
"weight": 0.01
},
{
"date": 12780,
"stock": "DD",
"weight": 0.01
},
{
"date": 12871,
"stock": "DD",
"weight": 0.01
},
{
"date": 12962,
"stock": "DD",
"weight": 0.01
},
{
"date": 13053,
"stock": "DD",
"weight": 0.01
},
{
"date": 13144,
"stock": "DD",
"weight": 0.01
},
{
"date": 13235,
"stock": "DD",
"weight": 0.01
},
{
"date": 13326,
"stock": "DD",
"weight": 0.01
},
{
"date": 13417,
"stock": "DD",
"weight": 0.01
},
{
"date": 13508,
"stock": "DD",
"weight": 0.01
},
{
"date": 13599,
"stock": "DD",
"weight": 0.01
},
{
"date": 13690,
"stock": "DD",
"weight": 0.01
},
{
"date": 13781,
"stock": "DD",
"weight": 0.01
},
{
"date": 13872,
"stock": "DD",
"weight": 0.01
},
{
"date": 13963,
"stock": "DD",
"weight": 0.01
},
{
"date": 14054,
"stock": "DD",
"weight": 0.01
},
{
"date": 14152,
"stock": "DD",
"weight": 0.01
},
{
"date": 14243,
"stock": "DD",
"weight": 0.01
},
{
"date": 14334,
"stock": "DD",
"weight": 0.01
},
{
"date": 14425,
"stock": "DD",
"weight": 0.01
},
{
"date": 14516,
"stock": "DD",
"weight": 0.01
},
{
"date": 14607,
"stock": "DD",
"weight": 0.01
},
{
"date": 14698,
"stock": "DD",
"weight": 0.01
},
{
"date": 14789,
"stock": "DD",
"weight": 0.01
},
{
"date": 14880,
"stock": "DD",
"weight": 0.01
},
{
"date": 14971,
"stock": "DD",
"weight": 0.01
},
{
"date": 12689,
"stock": "XOM",
"weight": 0.01
},
{
"date": 12780,
"stock": "XOM",
"weight": 0.01
},
{
"date": 12871,
"stock": "XOM",
"weight": 0.01
},
{
"date": 12962,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13053,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13144,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13235,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13326,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13417,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13508,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13599,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13690,
"stock": "XOM",
"weight": 0.01
},
{
"date": 13781,
"stock": "XOM",
"weight": 0.05287549580114
},
{
"date": 13872,
"stock": "XOM",
"weight": 0.05973221057608
},
{
"date": 13963,
"stock": "XOM",
"weight": 0.01446185592159
},
{
"date": 14054,
"stock": "XOM",
"weight": 0.01495262166328
},
{
"date": 14152,
"stock": "XOM",
"weight": 0.03079632632114
},
{
"date": 14243,
"stock": "XOM",
"weight": 0.06768763925312
},
{
"date": 14334,
"stock": "XOM",
"weight": 0.09575308594849
},
{
"date": 14425,
"stock": "XOM",
"weight": 0.09050230345155
},
{
"date": 14516,
"stock": "XOM",
"weight": 0.07025384831956
},
{
"date": 14607,
"stock": "XOM",
"weight": 0.08130435328093
},
{
"date": 14698,
"stock": "XOM",
"weight": 0.08533609826518
},
{
"date": 14789,
"stock": "XOM",
"weight": 0.08253854323109
},
{
"date": 14880,
"stock": "XOM",
"weight": 0.08500375511817
},
{
"date": 14971,
"stock": "XOM",
"weight": 0.08707009576052
},
{
"date": 12689,
"stock": "GE",
"weight": 0.01
},
{
"date": 12780,
"stock": "GE",
"weight": 0.01
},
{
"date": 12871,
"stock": "GE",
"weight": 0.01
},
{
"date": 12962,
"stock": "GE",
"weight": 0.01
},
{
"date": 13053,
"stock": "GE",
"weight": 0.01
},
{
"date": 13144,
"stock": "GE",
"weight": 0.01
},
{
"date": 13235,
"stock": "GE",
"weight": 0.01
},
{
"date": 13326,
"stock": "GE",
"weight": 0.01
},
{
"date": 13417,
"stock": "GE",
"weight": 0.01
},
{
"date": 13508,
"stock": "GE",
"weight": 0.01
},
{
"date": 13599,
"stock": "GE",
"weight": 0.01
},
{
"date": 13690,
"stock": "GE",
"weight": 0.01
},
{
"date": 13781,
"stock": "GE",
"weight": 0.01
},
{
"date": 13872,
"stock": "GE",
"weight": 0.01220137206459
},
{
"date": 13963,
"stock": "GE",
"weight": 0.07410918662877
},
{
"date": 14054,
"stock": "GE",
"weight": 0.05504576165351
},
{
"date": 14152,
"stock": "GE",
"weight": 0.05088981094256
},
{
"date": 14243,
"stock": "GE",
"weight": 0.01
},
{
"date": 14334,
"stock": "GE",
"weight": 0.01
},
{
"date": 14425,
"stock": "GE",
"weight": 0.01
},
{
"date": 14516,
"stock": "GE",
"weight": 0.01
},
{
"date": 14607,
"stock": "GE",
"weight": 0.01
},
{
"date": 14698,
"stock": "GE",
"weight": 0.01
},
{
"date": 14789,
"stock": "GE",
"weight": 0.01
},
{
"date": 14880,
"stock": "GE",
"weight": 0.01
},
{
"date": 14971,
"stock": "GE",
"weight": 0.01
},
{
"date": 12689,
"stock": "IBM",
"weight": 0.01
},
{
"date": 12780,
"stock": "IBM",
"weight": 0.01
},
{
"date": 12871,
"stock": "IBM",
"weight": 0.01
},
{
"date": 12962,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13053,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13144,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13235,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13326,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13417,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13508,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13599,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13690,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13781,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13872,
"stock": "IBM",
"weight": 0.01
},
{
"date": 13963,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14054,
"stock": "IBM",
"weight": 0.02867024412563
},
{
"date": 14152,
"stock": "IBM",
"weight": 0.03607517628163
},
{
"date": 14243,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14334,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14425,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14516,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14607,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14698,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14789,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14880,
"stock": "IBM",
"weight": 0.01
},
{
"date": 14971,
"stock": "IBM",
"weight": 0.01
},
{
"date": 12689,
"stock": "PEP",
"weight": 0.1093370162665
},
{
"date": 12780,
"stock": "PEP",
"weight": 0.09870518684812
},
{
"date": 12871,
"stock": "PEP",
"weight": 0.1084735223158
},
{
"date": 12962,
"stock": "PEP",
"weight": 0.1016557442098
},
{
"date": 13053,
"stock": "PEP",
"weight": 0.09309649205376
},
{
"date": 13144,
"stock": "PEP",
"weight": 0.09203914774138
},
{
"date": 13235,
"stock": "PEP",
"weight": 0.09120831167719
},
{
"date": 13326,
"stock": "PEP",
"weight": 0.0965404821737
},
{
"date": 13417,
"stock": "PEP",
"weight": 0.07254833579784
},
{
"date": 13508,
"stock": "PEP",
"weight": 0.08463973073852
},
{
"date": 13599,
"stock": "PEP",
"weight": 0.08541086920793
},
{
"date": 13690,
"stock": "PEP",
"weight": 0.1957158427498
},
{
"date": 13781,
"stock": "PEP",
"weight": 0.2
},
{
"date": 13872,
"stock": "PEP",
"weight": 0.2
},
{
"date": 13963,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14054,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14152,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14243,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14334,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14425,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14516,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14607,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14698,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14789,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14880,
"stock": "PEP",
"weight": 0.2
},
{
"date": 14971,
"stock": "PEP",
"weight": 0.2
},
{
"date": 12689,
"stock": "MO",
"weight": 0.02900333244114
},
{
"date": 12780,
"stock": "MO",
"weight": 0.0132424138478
},
{
"date": 12871,
"stock": "MO",
"weight": 0.01290825569035
},
{
"date": 12962,
"stock": "MO",
"weight": 0.02117359124382
},
{
"date": 13053,
"stock": "MO",
"weight": 0.03059997232676
},
{
"date": 13144,
"stock": "MO",
"weight": 0.03035327721131
},
{
"date": 13235,
"stock": "MO",
"weight": 0.03302865184884
},
{
"date": 13326,
"stock": "MO",
"weight": 0.03117330501608
},
{
"date": 13417,
"stock": "MO",
"weight": 0.02197843946003
},
{
"date": 13508,
"stock": "MO",
"weight": 0.01896668698196
},
{
"date": 13599,
"stock": "MO",
"weight": 0.01
},
{
"date": 13690,
"stock": "MO",
"weight": 0.01
},
{
"date": 13781,
"stock": "MO",
"weight": 0.01
},
{
"date": 13872,
"stock": "MO",
"weight": 0.01
},
{
"date": 13963,
"stock": "MO",
"weight": 0.03715954790889
},
{
"date": 14054,
"stock": "MO",
"weight": 0.04494593576265
},
{
"date": 14152,
"stock": "MO",
"weight": 0.04950770477739
},
{
"date": 14243,
"stock": "MO",
"weight": 0.09203074388711
},
{
"date": 14334,
"stock": "MO",
"weight": 0.1505963589982
},
{
"date": 14425,
"stock": "MO",
"weight": 0.1571463966345
},
{
"date": 14516,
"stock": "MO",
"weight": 0.1996725983919
},
{
"date": 14607,
"stock": "MO",
"weight": 0.2
},
{
"date": 14698,
"stock": "MO",
"weight": 0.2
},
{
"date": 14789,
"stock": "MO",
"weight": 0.2
},
{
"date": 14880,
"stock": "MO",
"weight": 0.2
},
{
"date": 14971,
"stock": "MO",
"weight": 0.2
},
{
"date": 12689,
"stock": "COP",
"weight": 0.08803967316044
},
{
"date": 12780,
"stock": "COP",
"weight": 0.05486306910127
},
{
"date": 12871,
"stock": "COP",
"weight": 0.07803578817946
},
{
"date": 12962,
"stock": "COP",
"weight": 0.08299436522769
},
{
"date": 13053,
"stock": "COP",
"weight": 0.06120428315772
},
{
"date": 13144,
"stock": "COP",
"weight": 0.04139873196388
},
{
"date": 13235,
"stock": "COP",
"weight": 0.0468344984259
},
{
"date": 13326,
"stock": "COP",
"weight": 0.03967939738155
},
{
"date": 13417,
"stock": "COP",
"weight": 0.0296703140419
},
{
"date": 13508,
"stock": "COP",
"weight": 0.02613701715713
},
{
"date": 13599,
"stock": "COP",
"weight": 0.02762113469433
},
{
"date": 13690,
"stock": "COP",
"weight": 0.01
},
{
"date": 13781,
"stock": "COP",
"weight": 0.01
},
{
"date": 13872,
"stock": "COP",
"weight": 0.01
},
{
"date": 13963,
"stock": "COP",
"weight": 0.01
},
{
"date": 14054,
"stock": "COP",
"weight": 0.01
},
{
"date": 14152,
"stock": "COP",
"weight": 0.01
},
{
"date": 14243,
"stock": "COP",
"weight": 0.01
},
{
"date": 14334,
"stock": "COP",
"weight": 0.01
},
{
"date": 14425,
"stock": "COP",
"weight": 0.01
},
{
"date": 14516,
"stock": "COP",
"weight": 0.01
},
{
"date": 14607,
"stock": "COP",
"weight": 0.01
},
{
"date": 14698,
"stock": "COP",
"weight": 0.01
},
{
"date": 14789,
"stock": "COP",
"weight": 0.01
},
{
"date": 14880,
"stock": "COP",
"weight": 0.01
},
{
"date": 14971,
"stock": "COP",
"weight": 0.01
},
{
"date": 12689,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 12780,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 12871,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 12962,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13053,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13144,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13235,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13326,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13417,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13508,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13599,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13690,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13781,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13872,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 13963,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14054,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14152,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14243,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14334,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14425,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14516,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14607,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14698,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14789,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14880,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 14971,
"stock": "AMGN",
"weight": 0.01
},
{
"date": 12689,
"stock": "CVX",
"weight": 0.1156648347513
},
{
"date": 12780,
"stock": "CVX",
"weight": 0.1361622035592
},
{
"date": 12871,
"stock": "CVX",
"weight": 0.06586624861804
},
{
"date": 12962,
"stock": "CVX",
"weight": 0.05442602132181
},
{
"date": 13053,
"stock": "CVX",
"weight": 0.04701914576235
},
{
"date": 13144,
"stock": "CVX",
"weight": 0.04678572413692
},
{
"date": 13235,
"stock": "CVX",
"weight": 0.03806992226582
},
{
"date": 13326,
"stock": "CVX",
"weight": 0.02763097783666
},
{
"date": 13417,
"stock": "CVX",
"weight": 0.0412784137138
},
{
"date": 13508,
"stock": "CVX",
"weight": 0.0344484153084
},
{
"date": 13599,
"stock": "CVX",
"weight": 0.03011931773079
},
{
"date": 13690,
"stock": "CVX",
"weight": 0.05619435264508
},
{
"date": 13781,
"stock": "CVX",
"weight": 0.05704145058392
},
{
"date": 13872,
"stock": "CVX",
"weight": 0.04912714653711
},
{
"date": 13963,
"stock": "CVX",
"weight": 0.04792141072964
},
{
"date": 14054,
"stock": "CVX",
"weight": 0.04905039678022
},
{
"date": 14152,
"stock": "CVX",
"weight": 0.05266986107078
},
{
"date": 14243,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14334,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14425,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14516,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14607,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14698,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14789,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14880,
"stock": "CVX",
"weight": 0.01
},
{
"date": 14971,
"stock": "CVX",
"weight": 0.01
},
{
"date": 12689,
"stock": "TROW",
"weight": 0.01
},
{
"date": 12780,
"stock": "TROW",
"weight": 0.01
},
{
"date": 12871,
"stock": "TROW",
"weight": 0.01
},
{
"date": 12962,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13053,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13144,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13235,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13326,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13417,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13508,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13599,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13690,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13781,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13872,
"stock": "TROW",
"weight": 0.01
},
{
"date": 13963,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14054,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14152,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14243,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14334,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14425,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14516,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14607,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14698,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14789,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14880,
"stock": "TROW",
"weight": 0.01
},
{
"date": 14971,
"stock": "TROW",
"weight": 0.01
},
{
"date": 12689,
"stock": "TECD",
"weight": 0.01
},
{
"date": 12780,
"stock": "TECD",
"weight": 0.01
},
{
"date": 12871,
"stock": "TECD",
"weight": 0.01
},
{
"date": 12962,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13053,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13144,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13235,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13326,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13417,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13508,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13599,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13690,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13781,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13872,
"stock": "TECD",
"weight": 0.01
},
{
"date": 13963,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14054,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14152,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14243,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14334,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14425,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14516,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14607,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14698,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14789,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14880,
"stock": "TECD",
"weight": 0.01
},
{
"date": 14971,
"stock": "TECD",
"weight": 0.01
},
{
"date": 12689,
"stock": "FO",
"weight": 0.05532807953068
},
{
"date": 12780,
"stock": "FO",
"weight": 0.05915544879263
},
{
"date": 12871,
"stock": "FO",
"weight": 0.07866469948002
},
{
"date": 12962,
"stock": "FO",
"weight": 0.09167089594656
},
{
"date": 13053,
"stock": "FO",
"weight": 0.1146413009121
},
{
"date": 13144,
"stock": "FO",
"weight": 0.1048682110595
},
{
"date": 13235,
"stock": "FO",
"weight": 0.1058824949641
},
{
"date": 13326,
"stock": "FO",
"weight": 0.0917009467655
},
{
"date": 13417,
"stock": "FO",
"weight": 0.0915695759547
},
{
"date": 13508,
"stock": "FO",
"weight": 0.09893447331458
},
{
"date": 13599,
"stock": "FO",
"weight": 0.1035119124719
},
{
"date": 13690,
"stock": "FO",
"weight": 0.06255652311712
},
{
"date": 13781,
"stock": "FO",
"weight": 0.0312175365891
},
{
"date": 13872,
"stock": "FO",
"weight": 0.04195381676864
},
{
"date": 13963,
"stock": "FO",
"weight": 0.02746524503955
},
{
"date": 14054,
"stock": "FO",
"weight": 0.02914642589721
},
{
"date": 14152,
"stock": "FO",
"weight": 0.01
},
{
"date": 14243,
"stock": "FO",
"weight": 0.01
},
{
"date": 14334,
"stock": "FO",
"weight": 0.01
},
{
"date": 14425,
"stock": "FO",
"weight": 0.01
},
{
"date": 14516,
"stock": "FO",
"weight": 0.01
},
{
"date": 14607,
"stock": "FO",
"weight": 0.01
},
{
"date": 14698,
"stock": "FO",
"weight": 0.01
},
{
"date": 14789,
"stock": "FO",
"weight": 0.01
},
{
"date": 14880,
"stock": "FO",
"weight": 0.01
},
{
"date": 14971,
"stock": "FO",
"weight": 0.01
},
{
"date": 12689,
"stock": "TCB",
"weight": 0.01
},
{
"date": 12780,
"stock": "TCB",
"weight": 0.01
},
{
"date": 12871,
"stock": "TCB",
"weight": 0.01
},
{
"date": 12962,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13053,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13144,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13235,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13326,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13417,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13508,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13599,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13690,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13781,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13872,
"stock": "TCB",
"weight": 0.01
},
{
"date": 13963,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14054,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14152,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14243,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14334,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14425,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14516,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14607,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14698,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14789,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14880,
"stock": "TCB",
"weight": 0.01
},
{
"date": 14971,
"stock": "TCB",
"weight": 0.01
},
{
"date": 12689,
"stock": "FISV",
"weight": 0.01
},
{
"date": 12780,
"stock": "FISV",
"weight": 0.01
},
{
"date": 12871,
"stock": "FISV",
"weight": 0.01
},
{
"date": 12962,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13053,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13144,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13235,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13326,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13417,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13508,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13599,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13690,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13781,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13872,
"stock": "FISV",
"weight": 0.01
},
{
"date": 13963,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14054,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14152,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14243,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14334,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14425,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14516,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14607,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14698,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14789,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14880,
"stock": "FISV",
"weight": 0.01
},
{
"date": 14971,
"stock": "FISV",
"weight": 0.01
},
{
"date": 12689,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 12780,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 12871,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 12962,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13053,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13144,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13235,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13326,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13417,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13508,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13599,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13690,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13781,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13872,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 13963,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14054,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14152,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14243,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14334,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14425,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14516,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14607,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14698,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14789,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14880,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 14971,
"stock": "CDNS",
"weight": 0.01
},
{
"date": 12689,
"stock": "XRAY",
"weight": 0.1078354106095
},
{
"date": 12780,
"stock": "XRAY",
"weight": 0.08188584883557
},
{
"date": 12871,
"stock": "XRAY",
"weight": 0.07591091137606
},
{
"date": 12962,
"stock": "XRAY",
"weight": 0.07709112331414
},
{
"date": 13053,
"stock": "XRAY",
"weight": 0.06592791258845
},
{
"date": 13144,
"stock": "XRAY",
"weight": 0.06294115592172
},
{
"date": 13235,
"stock": "XRAY",
"weight": 0.06048794902757
},
{
"date": 13326,
"stock": "XRAY",
"weight": 0.06350975218954
},
{
"date": 13417,
"stock": "XRAY",
"weight": 0.09493854279465
},
{
"date": 13508,
"stock": "XRAY",
"weight": 0.08210586770387
},
{
"date": 13599,
"stock": "XRAY",
"weight": 0.07599018976623
},
{
"date": 13690,
"stock": "XRAY",
"weight": 0.04234731015247
},
{
"date": 13781,
"stock": "XRAY",
"weight": 0.03798205500194
},
{
"date": 13872,
"stock": "XRAY",
"weight": 0.03390990323492
},
{
"date": 13963,
"stock": "XRAY",
"weight": 0.03577602343818
},
{
"date": 14054,
"stock": "XRAY",
"weight": 0.02771013745834
},
{
"date": 14152,
"stock": "XRAY",
"weight": 0.03350561012478
},
{
"date": 14243,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14334,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14425,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14516,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14607,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14698,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14789,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14880,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 14971,
"stock": "XRAY",
"weight": 0.01
},
{
"date": 12689,
"stock": "FAST",
"weight": 0.01
},
{
"date": 12780,
"stock": "FAST",
"weight": 0.01
},
{
"date": 12871,
"stock": "FAST",
"weight": 0.01
},
{
"date": 12962,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13053,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13144,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13235,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13326,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13417,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13508,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13599,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13690,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13781,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13872,
"stock": "FAST",
"weight": 0.01
},
{
"date": 13963,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14054,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14152,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14243,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14334,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14425,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14516,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14607,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14698,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14789,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14880,
"stock": "FAST",
"weight": 0.01
},
{
"date": 14971,
"stock": "FAST",
"weight": 0.01
},
{
"date": 12689,
"stock": "DTE",
"weight": 0.1694429514805
},
{
"date": 12780,
"stock": "DTE",
"weight": 0.1949251831635
},
{
"date": 12871,
"stock": "DTE",
"weight": 0.1704241397776
},
{
"date": 12962,
"stock": "DTE",
"weight": 0.1741182648392
},
{
"date": 13053,
"stock": "DTE",
"weight": 0.1742729134695
},
{
"date": 13144,
"stock": "DTE",
"weight": 0.2
},
{
"date": 13235,
"stock": "DTE",
"weight": 0.2
},
{
"date": 13326,
"stock": "DTE",
"weight": 0.1868415759825
},
{
"date": 13417,
"stock": "DTE",
"weight": 0.1619639909697
},
{
"date": 13508,
"stock": "DTE",
"weight": 0.163679795973
},
{
"date": 13599,
"stock": "DTE",
"weight": 0.148652053697
},
{
"date": 13690,
"stock": "DTE",
"weight": 0.162731399821
},
{
"date": 13781,
"stock": "DTE",
"weight": 0.1146570406002
},
{
"date": 13872,
"stock": "DTE",
"weight": 0.1112200848081
},
{
"date": 13963,
"stock": "DTE",
"weight": 0.1356233850758
},
{
"date": 14054,
"stock": "DTE",
"weight": 0.1572044905952
},
{
"date": 14152,
"stock": "DTE",
"weight": 0.1636644216425
},
{
"date": 14243,
"stock": "DTE",
"weight": 0.1926391978244
},
{
"date": 14334,
"stock": "DTE",
"weight": 0.0759545945562
},
{
"date": 14425,
"stock": "DTE",
"weight": 0.05301592481479
},
{
"date": 14516,
"stock": "DTE",
"weight": 0.03007355328853
},
{
"date": 14607,
"stock": "DTE",
"weight": 0.01869564671907
},
{
"date": 14698,
"stock": "DTE",
"weight": 0.01466390173482
},
{
"date": 14789,
"stock": "DTE",
"weight": 0.01746145676891
},
{
"date": 14880,
"stock": "DTE",
"weight": 0.01499624488183
},
{
"date": 14971,
"stock": "DTE",
"weight": 0.01292990423948
},
{
"date": 12689,
"stock": "ETN",
"weight": 0.01
},
{
"date": 12780,
"stock": "ETN",
"weight": 0.01
},
{
"date": 12871,
"stock": "ETN",
"weight": 0.01
},
{
"date": 12962,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13053,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13144,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13235,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13326,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13417,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13508,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13599,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13690,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13781,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13872,
"stock": "ETN",
"weight": 0.01
},
{
"date": 13963,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14054,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14152,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14243,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14334,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14425,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14516,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14607,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14698,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14789,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14880,
"stock": "ETN",
"weight": 0.01
},
{
"date": 14971,
"stock": "ETN",
"weight": 0.01
},
{
"date": 12689,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 12780,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 12871,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 12962,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13053,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13144,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13235,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13326,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13417,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13508,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13599,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13690,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13781,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13872,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 13963,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14054,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14152,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14243,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14334,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14425,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14516,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14607,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14698,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14789,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14880,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 14971,
"stock": "NVLS",
"weight": 0.01
},
{
"date": 12689,
"stock": "GR",
"weight": 0.01
},
{
"date": 12780,
"stock": "GR",
"weight": 0.01
},
{
"date": 12871,
"stock": "GR",
"weight": 0.01
},
{
"date": 12962,
"stock": "GR",
"weight": 0.01
},
{
"date": 13053,
"stock": "GR",
"weight": 0.01
},
{
"date": 13144,
"stock": "GR",
"weight": 0.01
},
{
"date": 13235,
"stock": "GR",
"weight": 0.01
},
{
"date": 13326,
"stock": "GR",
"weight": 0.01
},
{
"date": 13417,
"stock": "GR",
"weight": 0.01
},
{
"date": 13508,
"stock": "GR",
"weight": 0.01
},
{
"date": 13599,
"stock": "GR",
"weight": 0.01
},
{
"date": 13690,
"stock": "GR",
"weight": 0.01
},
{
"date": 13781,
"stock": "GR",
"weight": 0.01
},
{
"date": 13872,
"stock": "GR",
"weight": 0.01
},
{
"date": 13963,
"stock": "GR",
"weight": 0.01
},
{
"date": 14054,
"stock": "GR",
"weight": 0.01
},
{
"date": 14152,
"stock": "GR",
"weight": 0.01
},
{
"date": 14243,
"stock": "GR",
"weight": 0.01
},
{
"date": 14334,
"stock": "GR",
"weight": 0.01
},
{
"date": 14425,
"stock": "GR",
"weight": 0.01
},
{
"date": 14516,
"stock": "GR",
"weight": 0.01
},
{
"date": 14607,
"stock": "GR",
"weight": 0.01
},
{
"date": 14698,
"stock": "GR",
"weight": 0.01
},
{
"date": 14789,
"stock": "GR",
"weight": 0.01
},
{
"date": 14880,
"stock": "GR",
"weight": 0.01
},
{
"date": 14971,
"stock": "GR",
"weight": 0.01
},
{
"date": 12689,
"stock": "ITT",
"weight": 0.01
},
{
"date": 12780,
"stock": "ITT",
"weight": 0.01
},
{
"date": 12871,
"stock": "ITT",
"weight": 0.01
},
{
"date": 12962,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13053,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13144,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13235,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13326,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13417,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13508,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13599,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13690,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13781,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13872,
"stock": "ITT",
"weight": 0.01
},
{
"date": 13963,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14054,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14152,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14243,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14334,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14425,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14516,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14607,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14698,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14789,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14880,
"stock": "ITT",
"weight": 0.01
},
{
"date": 14971,
"stock": "ITT",
"weight": 0.01
},
{
"date": 12689,
"stock": "VMC",
"weight": 0.01
},
{
"date": 12780,
"stock": "VMC",
"weight": 0.01
},
{
"date": 12871,
"stock": "VMC",
"weight": 0.01
},
{
"date": 12962,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13053,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13144,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13235,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13326,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13417,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13508,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13599,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13690,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13781,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13872,
"stock": "VMC",
"weight": 0.01
},
{
"date": 13963,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14054,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14152,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14243,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14334,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14425,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14516,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14607,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14698,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14789,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14880,
"stock": "VMC",
"weight": 0.01
},
{
"date": 14971,
"stock": "VMC",
"weight": 0.01
},
{
"date": 12689,
"stock": "ASBC",
"weight": 0.01019308162205
},
{
"date": 12780,
"stock": "ASBC",
"weight": 0.02815950506481
},
{
"date": 12871,
"stock": "ASBC",
"weight": 0.04158760239535
},
{
"date": 12962,
"stock": "ASBC",
"weight": 0.03704478028128
},
{
"date": 13053,
"stock": "ASBC",
"weight": 0.05083974445259
},
{
"date": 13144,
"stock": "ASBC",
"weight": 0.03971994209111
},
{
"date": 13235,
"stock": "ASBC",
"weight": 0.05381095328063
},
{
"date": 13326,
"stock": "ASBC",
"weight": 0.07166953920696
},
{
"date": 13417,
"stock": "ASBC",
"weight": 0.1014362386925
},
{
"date": 13508,
"stock": "ASBC",
"weight": 0.1064092728362
},
{
"date": 13599,
"stock": "ASBC",
"weight": 0.1139693572262
},
{
"date": 13690,
"stock": "ASBC",
"weight": 0.1138308066369
},
{
"date": 13781,
"stock": "ASBC",
"weight": 0.134375652565
},
{
"date": 13872,
"stock": "ASBC",
"weight": 0.07300472341119
},
{
"date": 13963,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14054,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14152,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14243,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14334,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14425,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14516,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14607,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14698,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14789,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14880,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 14971,
"stock": "ASBC",
"weight": 0.01
},
{
"date": 12689,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 12780,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 12871,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 12962,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13053,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13144,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13235,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13326,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13417,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13508,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13599,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13690,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13781,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13872,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 13963,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14054,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14152,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14243,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14334,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14425,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14516,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14607,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14698,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14789,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14880,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 14971,
"stock": "PLXS",
"weight": 0.01
},
{
"date": 12689,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 12780,
"stock": "BWINB",
"weight": 0.01591907454515
},
{
"date": 12871,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 12962,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13053,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13144,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13235,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13326,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13417,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13508,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13599,
"stock": "BWINB",
"weight": 0.02210692530749
},
{
"date": 13690,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13781,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13872,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 13963,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14054,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14152,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14243,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14334,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14425,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14516,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14607,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14698,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14789,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14880,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 14971,
"stock": "BWINB",
"weight": 0.01
},
{
"date": 12689,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 12780,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 12871,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 12962,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13053,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13144,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13235,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13326,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13417,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13508,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13599,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13690,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13781,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13872,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 13963,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14054,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14152,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14243,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14334,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14425,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14516,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14607,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14698,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14789,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14880,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 14971,
"stock": "HGIC",
"weight": 0.01
},
{
"date": 12689,
"stock": "WTS",
"weight": 0.01
},
{
"date": 12780,
"stock": "WTS",
"weight": 0.01
},
{
"date": 12871,
"stock": "WTS",
"weight": 0.01
},
{
"date": 12962,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13053,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13144,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13235,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13326,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13417,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13508,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13599,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13690,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13781,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13872,
"stock": "WTS",
"weight": 0.01
},
{
"date": 13963,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14054,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14152,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14243,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14334,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14425,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14516,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14607,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14698,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14789,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14880,
"stock": "WTS",
"weight": 0.01
},
{
"date": 14971,
"stock": "WTS",
"weight": 0.01
},
{
"date": 12689,
"stock": "HTLD",
"weight": 0.0184311658563
},
{
"date": 12780,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 12871,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 12962,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13053,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13144,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13235,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13326,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13417,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13508,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13599,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13690,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13781,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13872,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 13963,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14054,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14152,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14243,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14334,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14425,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14516,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14607,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14698,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14789,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14880,
"stock": "HTLD",
"weight": 0.01
},
{
"date": 14971,
"stock": "HTLD",
"weight": 0.01
}
]
if(!(opts.type==="pieChart" || opts.type==="sparklinePlus" || opts.type==="bulletChart")) {
var data = d3.nest()
.key(function(d){
//return opts.group === undefined ? 'main' : d[opts.group]
//instead of main would think a better default is opts.x
return opts.group === undefined ? opts.y : d[opts.group];
})
.entries(data);
}
if (opts.disabled != undefined){
data.map(function(d, i){
d.disabled = opts.disabled[i]
})
}
nv.addGraph(function() {
var chart = nv.models[opts.type]()
.width(opts.width)
.height(opts.height)
if (opts.type != "bulletChart"){
chart
.x(function(d) { return d[opts.x] })
.y(function(d) { return d[opts.y] })
}
chart.xAxis
.tickFormat(function(d){
return d3.time.format('%b %Y')(new Date(d * 24 * 60 * 60 * 1000))
})
chart.yAxis
.tickFormat(function(d){return d3.format('0.2%')(d)} )
d3.select("#" + opts.id)
.append('svg')
.datum(data)
.transition().duration(500)
.call(chart);
nv.utils.windowResize(chart.update);
return chart;
});
};
</script>
<script></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment