stock_index 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,625 @@
1
+ ---
2
+ - :market: XNAS
3
+ :symbol: FOXA
4
+ :name: TWENTY-FIRST CENTURY FOX-A
5
+ :wikipedia: http://en.wikipedia.org/wiki/Twenty-First_Century_Fox
6
+ :cik: 0001308161
7
+ :bbgid: BBG000DWYF03
8
+ - :market: XNAS
9
+ :symbol: ATVI
10
+ :name: ACTIVISION BLIZZARD INC
11
+ :wikipedia: http://en.wikipedia.org/wiki/Activision_Blizzard
12
+ :cik: 0000718877
13
+ :bbgid: BBG000CVWGS6
14
+ - :market: XNAS
15
+ :symbol: ADBE
16
+ :name: ADOBE SYSTEMS INC
17
+ :wikipedia: http://en.wikipedia.org/wiki/Adobe_Systems_Inc
18
+ :cik: 0000796343
19
+ :bbgid: BBG000BB5006
20
+ - :market: XNAS
21
+ :symbol: AKAM
22
+ :name: AKAMAI TECHNOLOGIES INC
23
+ :wikipedia: http://en.wikipedia.org/wiki/Akamai_Technologies_Inc
24
+ :cik: 0001086222
25
+ :bbgid: BBG000BJQWD2
26
+ - :market: XNAS
27
+ :symbol: ALXN
28
+ :name: ALEXION PHARMACEUTICALS INC
29
+ :wikipedia: http://en.wikipedia.org/wiki/Alexion_Pharmaceuticals
30
+ :cik: 0000899866
31
+ :bbgid: BBG000G30YX4
32
+ - :market: XNAS
33
+ :symbol: ALTR
34
+ :name: ALTERA CORP
35
+ :wikipedia: http://en.wikipedia.org/wiki/Altera_Corp
36
+ :cik: 0000768251
37
+ :bbgid: BBG000BBMSJ6
38
+ - :market: XNAS
39
+ :symbol: AMZN
40
+ :name: AMAZON.COM INC
41
+ :wikipedia: http://en.wikipedia.org/wiki/Amazon.com_Inc
42
+ :cik: 0001018724
43
+ :bbgid: BBG000BVPV84
44
+ - :market: XNAS
45
+ :symbol: AMGN
46
+ :name: AMGEN INC
47
+ :wikipedia: http://en.wikipedia.org/wiki/Amgen_Inc
48
+ :cik: 0000318154
49
+ :bbgid: BBG000BBS2Y0
50
+ - :market: XNAS
51
+ :symbol: ADI
52
+ :name: ANALOG DEVICES INC
53
+ :wikipedia: http://en.wikipedia.org/wiki/Analog_Devices
54
+ :cik: 0000006281
55
+ :bbgid: BBG000BB6G37
56
+ - :market: XNAS
57
+ :symbol: AAPL
58
+ :name: APPLE INC
59
+ :wikipedia: http://en.wikipedia.org/wiki/Apple_Inc.
60
+ :cik: 0000320193
61
+ :bbgid: BBG000B9XRY4
62
+ - :market: XNAS
63
+ :symbol: AMAT
64
+ :name: APPLIED MATERIALS INC
65
+ :wikipedia: http://en.wikipedia.org/wiki/Applied_Materials_Inc
66
+ :cik: 0000006951
67
+ :bbgid: BBG000BBPFB9
68
+ - :market: XNAS
69
+ :symbol: ADSK
70
+ :name: AUTODESK INC
71
+ :wikipedia: http://en.wikipedia.org/wiki/Autodesk_Inc
72
+ :cik: 0000769397
73
+ :bbgid: BBG000BM7HL0
74
+ - :market: XNAS
75
+ :symbol: ADP
76
+ :name: AUTOMATIC DATA PROCESSING
77
+ :wikipedia: http://en.wikipedia.org/wiki/Automatic_Data_Processing
78
+ :cik: 0000008670
79
+ :bbgid: BBG000JG0547
80
+ - :market: XNAS
81
+ :symbol: AVGO
82
+ :name: AVAGO TECHNOLOGIES LTD
83
+ :wikipedia: http://en.wikipedia.org/wiki/Avago_Technologies
84
+ :cik: '0001441634'
85
+ :bbgid: BBG000C4DPX1
86
+ - :market: XNAS
87
+ :symbol: BIDU
88
+ :name: BAIDU INC
89
+ :wikipedia: http://en.wikipedia.org/wiki/Baidu
90
+ :cik: 0001329099
91
+ :bbgid: BBG000QXWHD1
92
+ - :market: XNAS
93
+ :symbol: BBBY
94
+ :name: BED BATH & BEYOND INC
95
+ :wikipedia: http://en.wikipedia.org/wiki/Bed_Bath_%26_Beyond
96
+ :cik: 0000886158
97
+ :bbgid: BBG000CSY9H9
98
+ - :market: XNAS
99
+ :symbol: BIIB
100
+ :name: BIOGEN IDEC INC
101
+ :wikipedia: http://en.wikipedia.org/wiki/BIOGEN_IDEC_Inc.
102
+ :cik: 0000875045
103
+ :bbgid: BBG000C17X76
104
+ - :market: XNAS
105
+ :symbol: BRCM
106
+ :name: BROADCOM CORP-CL A
107
+ :wikipedia: http://en.wikipedia.org/wiki/Broadcom_Corporation
108
+ :cik: '0001054374'
109
+ :bbgid: BBG000BFDXW1
110
+ - :market: XNAS
111
+ :symbol: CHRW
112
+ :name: C.H. ROBINSON WORLDWIDE INC
113
+ :wikipedia: http://en.wikipedia.org/wiki/C._H._Robinson_Worldwide
114
+ :cik: '0001043277'
115
+ :bbgid: BBG000BTCH57
116
+ - :market: XNAS
117
+ :symbol: CA
118
+ :name: CA INC
119
+ :wikipedia: http://en.wikipedia.org/wiki/CA,_Inc.
120
+ :cik: 0000356028
121
+ :bbgid: BBG000BDWKC5
122
+ - :market: XNAS
123
+ :symbol: CTRX
124
+ :name: CATAMARAN CORP
125
+ :wikipedia: http://en.wikipedia.org/wiki/Catamaran_Corporation
126
+ :cik: 0001363851
127
+ :bbgid: BBG000KBQZ88
128
+ - :market: XNAS
129
+ :symbol: CELG
130
+ :name: CELGENE CORP
131
+ :wikipedia: http://en.wikipedia.org/wiki/Celgene_Corp.
132
+ :cik: 0000816284
133
+ :bbgid: BBG000BFC8J2
134
+ - :market: XNAS
135
+ :symbol: CERN
136
+ :name: CERNER CORP
137
+ :wikipedia: http://en.wikipedia.org/wiki/Cerner
138
+ :cik: 0000804753
139
+ :bbgid: BBG000BFDLV8
140
+ - :market: XNAS
141
+ :symbol: CHTR
142
+ :name: CHARTER COMMUNICATION-A
143
+ :wikipedia: http://en.wikipedia.org/wiki/Charter_Communications
144
+ :cik: 0001091667
145
+ :bbgid: BBG000PYZSR8
146
+ - :market: XNAS
147
+ :symbol: CHKP
148
+ :name: CHECK POINT SOFTWARE TECH
149
+ :wikipedia: http://en.wikipedia.org/wiki/Check_Point
150
+ :cik: 0001015922
151
+ :bbgid: BBG000K82ZT8
152
+ - :market: XNAS
153
+ :symbol: CSCO
154
+ :name: CISCO SYSTEMS INC
155
+ :wikipedia: http://en.wikipedia.org/wiki/Cisco_Systems
156
+ :cik: 0000858877
157
+ :bbgid: BBG000C3J3C9
158
+ - :market: XNAS
159
+ :symbol: CTXS
160
+ :name: CITRIX SYSTEMS INC
161
+ :wikipedia: http://en.wikipedia.org/wiki/Citrix_Systems
162
+ :cik: 0000877890
163
+ :bbgid: BBG000FQ6PY6
164
+ - :market: XNAS
165
+ :symbol: CTSH
166
+ :name: COGNIZANT TECH SOLUTIONS-A
167
+ :wikipedia: http://en.wikipedia.org/wiki/Cognizant_Technology_Solutions
168
+ :cik: 0001058290
169
+ :bbgid: BBG000BBDV81
170
+ - :market: XNAS
171
+ :symbol: CMCSA
172
+ :name: COMCAST CORP-CLASS A
173
+ :wikipedia: http://en.wikipedia.org/wiki/Comcast_Corp.
174
+ :cik: 0001166691
175
+ :bbgid: BBG000BFT2L4
176
+ - :market: XNAS
177
+ :symbol: COST
178
+ :name: COSTCO WHOLESALE CORP
179
+ :wikipedia: http://en.wikipedia.org/wiki/Costco_Co.
180
+ :cik: 0000909832
181
+ :bbgid: BBG000F6H8W8
182
+ - :market: XNAS
183
+ :symbol: DTV
184
+ :name: DIRECTV
185
+ :wikipedia: http://en.wikipedia.org/wiki/DirecTV
186
+ :cik: '0001465112'
187
+ :bbgid: BBG000FL1TC8
188
+ - :market: XNAS
189
+ :symbol: DISCA
190
+ :name: DISCOVERY COMMUNICATIONS-A
191
+ :wikipedia: http://en.wikipedia.org/wiki/Discovery_Communications-A
192
+ :cik: '0001437107'
193
+ :bbgid: BBG000CHWP52
194
+ - :market: XNAS
195
+ :symbol: DISCK
196
+ :name: DISCOVERY COMMUNICATIONS-C
197
+ :wikipedia: http://en.wikipedia.org/wiki/Discovery_Communications-C
198
+ :cik: '0001437107'
199
+ :bbgid: BBG000VMWHH5
200
+ - :market: XNAS
201
+ :symbol: DISH
202
+ :name: DISH NETWORK CORP-A
203
+ :wikipedia: http://en.wikipedia.org/wiki/Dish_Network
204
+ :cik: 0001001082
205
+ :bbgid: BBG000C2YHG9
206
+ - :market: XNAS
207
+ :symbol: DLTR
208
+ :name: DOLLAR TREE INC
209
+ :wikipedia: http://en.wikipedia.org/wiki/Dollar_Tree
210
+ :cik: 0000935703
211
+ :bbgid: BBG000BSC0K9
212
+ - :market: XNAS
213
+ :symbol: EBAY
214
+ :name: EBAY INC
215
+ :wikipedia: http://en.wikipedia.org/wiki/EBay_Inc.
216
+ :cik: 0001065088
217
+ :bbgid: BBG000C43RR5
218
+ - :market: XNAS
219
+ :symbol: EQIX
220
+ :name: EQUINIX INC
221
+ :wikipedia: http://en.wikipedia.org/wiki/Equinix
222
+ :cik: 0001101239
223
+ :bbgid: BBG000MBDGM6
224
+ - :market: XNAS
225
+ :symbol: EXPE
226
+ :name: EXPEDIA INC
227
+ :wikipedia: http://en.wikipedia.org/wiki/Expedia_Inc.
228
+ :cik: '0001324424'
229
+ :bbgid: BBG000QY3XZ2
230
+ - :market: XNAS
231
+ :symbol: EXPD
232
+ :name: EXPEDITORS INTL WASH INC
233
+ :wikipedia: http://en.wikipedia.org/wiki/Expeditors_Int%27l
234
+ :cik: '0000746515'
235
+ :bbgid: BBG000BJ5GK2
236
+ - :market: XNAS
237
+ :symbol: ESRX
238
+ :name: EXPRESS SCRIPTS HOLDING CO
239
+ :wikipedia: http://en.wikipedia.org/wiki/Express_Scripts
240
+ :cik: '0001532063'
241
+ :bbgid: BBG000C15T95
242
+ - :market: XNAS
243
+ :symbol: FFIV
244
+ :name: F5 NETWORKS INC
245
+ :wikipedia: http://en.wikipedia.org/wiki/F5_Networks
246
+ :cik: 0001048695
247
+ :bbgid: BBG000CXYSZ6
248
+ - :market: XNAS
249
+ :symbol: FB
250
+ :name: FACEBOOK INC-A
251
+ :wikipedia: http://en.wikipedia.org/wiki/Facebook
252
+ :cik: 0001326801
253
+ :bbgid: BBG000MM2P62
254
+ - :market: XNAS
255
+ :symbol: FAST
256
+ :name: FASTENAL CO
257
+ :wikipedia: http://en.wikipedia.org/wiki/Fastenal_Co
258
+ :cik: 0000815556
259
+ :bbgid: BBG000BJ8YN7
260
+ - :market: XNAS
261
+ :symbol: FISV
262
+ :name: FISERV INC
263
+ :wikipedia: http://en.wikipedia.org/wiki/Fiserv_Inc
264
+ :cik: 0000798354
265
+ :bbgid: BBG000BJKPG0
266
+ - :market: XNAS
267
+ :symbol: GRMN
268
+ :name: GARMIN LTD
269
+ :wikipedia: http://en.wikipedia.org/wiki/Garmin_Ltd.
270
+ :cik: 0001121788
271
+ :bbgid: BBG000C4LN67
272
+ - :market: XNAS
273
+ :symbol: GILD
274
+ :name: GILEAD SCIENCES INC
275
+ :wikipedia: http://en.wikipedia.org/wiki/Gilead_Sciences
276
+ :cik: 0000882095
277
+ :bbgid: BBG000CKGBP2
278
+ - :market: XNAS
279
+ :symbol: GOOGL
280
+ :name: GOOGLE INC-CL A
281
+ :wikipedia: http://en.wikipedia.org/wiki/Google_Inc_Class_A
282
+ :cik: 0001288776
283
+ :bbgid: BBG000BHSKN9
284
+ - :market: XNAS
285
+ :symbol: GOOG
286
+ :name: GOOGLE INC-CL C
287
+ :wikipedia: http://en.wikipedia.org/wiki/Google_Inc_Class_C
288
+ :cik: 0001288776
289
+ :bbgid: BBG002W96FT9
290
+ - :market: XNAS
291
+ :symbol: HSIC
292
+ :name: HENRY SCHEIN INC
293
+ :wikipedia: http://en.wikipedia.org/wiki/Henry_Schein
294
+ :cik: 0001000228
295
+ :bbgid: BBG000BNMMJ3
296
+ - :market: XNAS
297
+ :symbol: ILMN
298
+ :name: ILLUMINA INC
299
+ :wikipedia: http://en.wikipedia.org/wiki/Illumina_(company)
300
+ :cik: 0001110803
301
+ :bbgid: BBG000DSMS70
302
+ - :market: XNAS
303
+ :symbol: INTC
304
+ :name: INTEL CORP
305
+ :wikipedia: http://en.wikipedia.org/wiki/Intel
306
+ :cik: 0000050863
307
+ :bbgid: BBG000C0G1D1
308
+ - :market: XNAS
309
+ :symbol: INTU
310
+ :name: INTUIT INC
311
+ :wikipedia: http://en.wikipedia.org/wiki/Intuit_Inc.
312
+ :cik: 0000896878
313
+ :bbgid: BBG000BH5DV1
314
+ - :market: XNAS
315
+ :symbol: ISRG
316
+ :name: INTUITIVE SURGICAL INC
317
+ :wikipedia: http://en.wikipedia.org/wiki/Intuitive_Surgical_Inc.
318
+ :cik: '0001035267'
319
+ :bbgid: BBG000BJPDZ1
320
+ - :market: XNAS
321
+ :symbol: GMCR
322
+ :name: KEURIG GREEN MOUNTAIN INC
323
+ :wikipedia: http://en.wikipedia.org/wiki/Keurig_Green_Mountain
324
+ :cik: 0000909954
325
+ :bbgid: BBG000BJ98Z0
326
+ - :market: XNAS
327
+ :symbol: KLAC
328
+ :name: KLA-TENCOR CORP
329
+ :wikipedia: http://en.wikipedia.org/wiki/KLA-Tencor_Corp.
330
+ :cik: 0000319201
331
+ :bbgid: BBG000BMTFR4
332
+ - :market: XNAS
333
+ :symbol: KRFT
334
+ :name: KRAFT FOODS GROUP INC
335
+ :wikipedia: http://en.wikipedia.org/wiki/Kraft_Foods
336
+ :cik: 0001545158
337
+ :bbgid: BBG001YMS0B8
338
+ - :market: XNAS
339
+ :symbol: LBTYA
340
+ :name: LIBERTY GLOBAL PLC-A
341
+ :wikipedia: http://en.wikipedia.org/wiki/Liberty_Global
342
+ :cik: 0001570585
343
+ :bbgid: BBG000H0QBS7
344
+ - :market: XNAS
345
+ :symbol: QVCA
346
+ :name: LIBERTY INTERACTIVE CORP-A
347
+ :wikipedia: http://en.wikipedia.org/wiki/Liberty_Interactive
348
+ :cik: 0001355096
349
+ :bbgid: BBG000PCQQL6
350
+ - :market: XNAS
351
+ :symbol: LMCK
352
+ :name: LIBERTY MEDIA CORP - C
353
+ :wikipedia: http://en.wikipedia.org/wiki/Liberty_Media
354
+ :cik: 0001560385
355
+ :bbgid: BBG005SW6TK5
356
+ - :market: XNAS
357
+ :symbol: LMCA
358
+ :name: LIBERTY MEDIA CORP - A
359
+ :wikipedia: http://en.wikipedia.org/wiki/Liberty_Media
360
+ :cik: 0001560385
361
+ :bbgid: BBG003P9ZSL3
362
+ - :market: XNAS
363
+ :symbol: LVNTA
364
+ :name: LIBERTY VENTURES
365
+ :wikipedia:
366
+ :cik: 0001355096
367
+ :bbgid: BBG0038K9G41
368
+ - :market: XNAS
369
+ :symbol: LLTC
370
+ :name: LINEAR TECHNOLOGY CORP
371
+ :wikipedia: http://en.wikipedia.org/wiki/Linear_Technology_Corp.
372
+ :cik: 0000791907
373
+ :bbgid: BBG000BN9WT5
374
+ - :market: XNAS
375
+ :symbol: MAR
376
+ :name: MARRIOTT INTERNATIONAL -CL A
377
+ :wikipedia: http://en.wikipedia.org/wiki/Marriott_Int%27l.
378
+ :cik: 0001048286
379
+ :bbgid: BBG000BGD7W6
380
+ - :market: XNAS
381
+ :symbol: MAT
382
+ :name: MATTEL INC
383
+ :wikipedia: http://en.wikipedia.org/wiki/Mattel_Inc.
384
+ :cik: '0000063276'
385
+ :bbgid: BBG000BNNYW1
386
+ - :market: XNAS
387
+ :symbol: MXIM
388
+ :name: MAXIM INTEGRATED PRODUCTS
389
+ :wikipedia: http://en.wikipedia.org/wiki/Maxim_Integrated_Products
390
+ :cik: '0000743316'
391
+ :bbgid: BBG000BPNP00
392
+ - :market: XNAS
393
+ :symbol: MU
394
+ :name: MICRON TECHNOLOGY INC
395
+ :wikipedia: http://en.wikipedia.org/wiki/Micron_Technology
396
+ :cik: '0000723125'
397
+ :bbgid: BBG000C5Z1S3
398
+ - :market: XNAS
399
+ :symbol: MSFT
400
+ :name: MICROSOFT CORP
401
+ :wikipedia: http://en.wikipedia.org/wiki/Microsoft
402
+ :cik: 0000789019
403
+ :bbgid: BBG000BPH459
404
+ - :market: XNAS
405
+ :symbol: MDLZ
406
+ :name: MONDELEZ INTERNATIONAL INC-A
407
+ :wikipedia: http://en.wikipedia.org/wiki/Mondelez
408
+ :cik: 0001103982
409
+ :bbgid: BBG000D4LWF6
410
+ - :market: XNAS
411
+ :symbol: MNST
412
+ :name: MONSTER BEVERAGE CORP
413
+ :wikipedia: http://en.wikipedia.org/wiki/Monster_Beverage
414
+ :cik: 0000865752
415
+ :bbgid: BBG000CXD6X9
416
+ - :market: XNAS
417
+ :symbol: MYL
418
+ :name: MYLAN INC
419
+ :wikipedia: http://en.wikipedia.org/wiki/Mylan_Inc.
420
+ :cik: 0000069499
421
+ :bbgid: BBG000BPQD31
422
+ - :market: XNAS
423
+ :symbol: NTAP
424
+ :name: NETAPP INC
425
+ :wikipedia: http://en.wikipedia.org/wiki/NetApp
426
+ :cik: '0001002047'
427
+ :bbgid: BBG000FP1N32
428
+ - :market: XNAS
429
+ :symbol: NFLX
430
+ :name: NETFLIX INC
431
+ :wikipedia: http://en.wikipedia.org/wiki/Netflix_Inc.
432
+ :cik: 0001065280
433
+ :bbgid: BBG000CL9VN6
434
+ - :market: XNAS
435
+ :symbol: NVDA
436
+ :name: NVIDIA CORP
437
+ :wikipedia: http://en.wikipedia.org/wiki/Nvidia_Corporation
438
+ :cik: 0001045810
439
+ :bbgid: BBG000BBJQV0
440
+ - :market: XNAS
441
+ :symbol: NXPI
442
+ :name: NXP SEMICONDUCTORS NV
443
+ :wikipedia: http://en.wikipedia.org/wiki/NXP_Semiconductors
444
+ :cik: '0001413447'
445
+ :bbgid: BBG000BND699
446
+ - :market: XNAS
447
+ :symbol: ORLY
448
+ :name: O'REILLY AUTOMOTIVE INC
449
+ :wikipedia: http://en.wikipedia.org/wiki/O%27Reilly_Automotive
450
+ :cik: 0000898173
451
+ :bbgid: BBG000BGYWY6
452
+ - :market: XNAS
453
+ :symbol: PCAR
454
+ :name: PACCAR INC
455
+ :wikipedia: http://en.wikipedia.org/wiki/PACCAR_Inc.
456
+ :cik: '0000075362'
457
+ :bbgid: BBG000BQVTF5
458
+ - :market: XNAS
459
+ :symbol: PAYX
460
+ :name: PAYCHEX INC
461
+ :wikipedia: http://en.wikipedia.org/wiki/Paychex_Inc.
462
+ :cik: '0000723531'
463
+ :bbgid: BBG000BQSQ38
464
+ - :market: XNAS
465
+ :symbol: QCOM
466
+ :name: QUALCOMM INC
467
+ :wikipedia: http://en.wikipedia.org/wiki/QUALCOMM_Inc.
468
+ :cik: 0000804328
469
+ :bbgid: BBG000CGC1X8
470
+ - :market: XNAS
471
+ :symbol: REGN
472
+ :name: REGENERON PHARMACEUTICALS
473
+ :wikipedia: http://en.wikipedia.org/wiki/Regeneron
474
+ :cik: 0000872589
475
+ :bbgid: BBG000C734W3
476
+ - :market: XNAS
477
+ :symbol: ROST
478
+ :name: ROSS STORES INC
479
+ :wikipedia: http://en.wikipedia.org/wiki/Ross_Stores
480
+ :cik: '0000745732'
481
+ :bbgid: BBG000BSBZH7
482
+ - :market: XNAS
483
+ :symbol: SNDK
484
+ :name: SANDISK CORP
485
+ :wikipedia: http://en.wikipedia.org/wiki/SanDisk_Corporation
486
+ :cik: 0001000180
487
+ :bbgid: BBG000FG3C43
488
+ - :market: XNAS
489
+ :symbol: SBAC
490
+ :name: SBA COMMUNICATIONS CORP-CL A
491
+ :wikipedia: http://en.wikipedia.org/wiki/SBA_Communications
492
+ :cik: '0001034054'
493
+ :bbgid: BBG000D2M0Z7
494
+ - :market: XNAS
495
+ :symbol: STX
496
+ :name: SEAGATE TECHNOLOGY
497
+ :wikipedia: http://en.wikipedia.org/wiki/Seagate_Technology
498
+ :cik: 0001137789
499
+ :bbgid: BBG000F0KF42
500
+ - :market: XNAS
501
+ :symbol: SIAL
502
+ :name: SIGMA-ALDRICH
503
+ :wikipedia: http://en.wikipedia.org/wiki/Sigma-Aldrich
504
+ :cik: 0000090185
505
+ :bbgid: BBG000BSY3K9
506
+ - :market: XNAS
507
+ :symbol: SIRI
508
+ :name: SIRIUS XM HOLDINGS INC
509
+ :wikipedia: http://en.wikipedia.org/wiki/Sirius_XM_Radio
510
+ :cik: 0000908937
511
+ :bbgid: BBG000BT0093
512
+ - :market: XNAS
513
+ :symbol: SPLS
514
+ :name: STAPLES INC
515
+ :wikipedia: http://en.wikipedia.org/wiki/Staples_Inc.
516
+ :cik: 0000791519
517
+ :bbgid: BBG000BCBCM7
518
+ - :market: XNAS
519
+ :symbol: SBUX
520
+ :name: STARBUCKS CORP
521
+ :wikipedia: http://en.wikipedia.org/wiki/Starbucks_Corp.
522
+ :cik: 0000829224
523
+ :bbgid: BBG000CTQBF3
524
+ - :market: XNAS
525
+ :symbol: SRCL
526
+ :name: STERICYCLE INC
527
+ :wikipedia: http://en.wikipedia.org/wiki/Stericycle_Inc
528
+ :cik: 0000861878
529
+ :bbgid: BBG000H3FZM6
530
+ - :market: XNAS
531
+ :symbol: SYMC
532
+ :name: SYMANTEC CORP
533
+ :wikipedia: http://en.wikipedia.org/wiki/Symantec_Corp.
534
+ :cik: 0000849399
535
+ :bbgid: BBG000BH2JM1
536
+ - :market: XNAS
537
+ :symbol: TSLA
538
+ :name: TESLA MOTORS INC
539
+ :wikipedia: http://en.wikipedia.org/wiki/Tesla_Motors,_Inc.
540
+ :cik: 0001318605
541
+ :bbgid: BBG000N9MNX3
542
+ - :market: XNAS
543
+ :symbol: TXN
544
+ :name: TEXAS INSTRUMENTS INC
545
+ :wikipedia: http://en.wikipedia.org/wiki/Texas_Instruments
546
+ :cik: 0000097476
547
+ :bbgid: BBG000BVV7G1
548
+ - :market: XNAS
549
+ :symbol: PCLN
550
+ :name: PRICELINE GROUP INC/THE
551
+ :wikipedia: http://en.wikipedia.org/wiki/Priceline.com_Inc
552
+ :cik: '0001075531'
553
+ :bbgid: BBG000BLBVN4
554
+ - :market: XNAS
555
+ :symbol: TSCO
556
+ :name: TRACTOR SUPPLY COMPANY
557
+ :wikipedia: http://en.wikipedia.org/wiki/Tractor_Supply_Company
558
+ :cik: 0000916365
559
+ :bbgid: BBG000BLXZN1
560
+ - :market: XNAS
561
+ :symbol: TRIP
562
+ :name: TRIPADVISOR INC
563
+ :wikipedia: http://en.wikipedia.org/wiki/TripAdvisor
564
+ :cik: '0001526520'
565
+ :bbgid: BBG001M8HHB7
566
+ - :market: XNAS
567
+ :symbol: VRSK
568
+ :name: VERISK ANALYTICS INC-CLASS A
569
+ :wikipedia: http://en.wikipedia.org/wiki/Verisk_Analytics
570
+ :cik: '0001442145'
571
+ :bbgid: BBG000BCZL41
572
+ - :market: XNAS
573
+ :symbol: VRTX
574
+ :name: VERTEX PHARMACEUTICALS INC
575
+ :wikipedia: http://en.wikipedia.org/wiki/Vertex_Pharmaceuticals
576
+ :cik: 0000875320
577
+ :bbgid: BBG000C1S2X2
578
+ - :market: XNAS
579
+ :symbol: VIAB
580
+ :name: VIACOM INC-CLASS B
581
+ :wikipedia: http://en.wikipedia.org/wiki/Viacom_Inc.
582
+ :cik: 0001339947
583
+ :bbgid: BBG000DHSPT0
584
+ - :market: XNAS
585
+ :symbol: VIP
586
+ :name: VIMPELCOM LTD
587
+ :wikipedia: http://en.wikipedia.org/wiki/VimpelCom_Ltd.
588
+ :cik: 0001468091
589
+ :bbgid: BBG000QCW561
590
+ - :market: XNAS
591
+ :symbol: VOD
592
+ :name: VODAFONE GROUP PLC
593
+ :wikipedia: http://en.wikipedia.org/wiki/Vodafone
594
+ :cik: 0000839923
595
+ :bbgid: BBG000C4R6H6
596
+ - :market: XNAS
597
+ :symbol: WDC
598
+ :name: WESTERN DIGITAL CORP
599
+ :wikipedia: http://en.wikipedia.org/wiki/Western_Digital
600
+ :cik: '0000106040'
601
+ :bbgid: BBG000BWNFZ9
602
+ - :market: XNAS
603
+ :symbol: WFM
604
+ :name: WHOLE FOODS MARKET INC
605
+ :wikipedia: http://en.wikipedia.org/wiki/Whole_Foods_Market
606
+ :cik: 0000865436
607
+ :bbgid: BBG000CPQZ77
608
+ - :market: XNAS
609
+ :symbol: WYNN
610
+ :name: WYNN RESORTS LTD
611
+ :wikipedia: http://en.wikipedia.org/wiki/Wynn_Resorts_Ltd
612
+ :cik: 0001174922
613
+ :bbgid: BBG000LD9JQ8
614
+ - :market: XNAS
615
+ :symbol: XLNX
616
+ :name: XILINX INC
617
+ :wikipedia: http://en.wikipedia.org/wiki/Xilinx_Inc
618
+ :cik: 0000743988
619
+ :bbgid: BBG000C0F570
620
+ - :market: XNAS
621
+ :symbol: YHOO
622
+ :name: YAHOO! INC
623
+ :wikipedia: http://en.wikipedia.org/wiki/Yahoo_Inc.
624
+ :cik: '0001011006'
625
+ :bbgid: BBG000GFFQN9
data/spec/helper.rb ADDED
@@ -0,0 +1,25 @@
1
+ require 'simplecov'
2
+ require 'coveralls'
3
+
4
+ SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
5
+
6
+ SimpleCov.start
7
+
8
+ require 'stock_index'
9
+
10
+ def fixture_path
11
+ File.expand_path('../fixtures', __FILE__)
12
+ end
13
+
14
+ def fixture(symbol)
15
+ File.new(fixture_path + '/' + file(symbol))
16
+ end
17
+
18
+ def file(symbol)
19
+ md = /\^(\w+)/.match(symbol)
20
+ "#{md[1]}.yaml"
21
+ end
22
+
23
+ def components_from_fixture(symbol)
24
+ YAML::load_file(fixture(symbol))
25
+ end
@@ -0,0 +1,29 @@
1
+ require 'helper'
2
+
3
+ describe StockIndex::BsymSearch do
4
+
5
+ context 'searching a symbol in EXCEPTIONS' do
6
+
7
+ it 'returns the component' do
8
+ expect(StockIndex::BsymSearch.find('BIDU')).to eq({name: 'BAIDU INC', bbgid: 'BBG000QXWHD1'})
9
+ end
10
+
11
+ end
12
+
13
+ context 'searching a symbol in the CSV file' do
14
+
15
+ it 'returns the component' do
16
+ expect(StockIndex::BsymSearch.find('CSCO')).to eq({:name=>"CISCO SYSTEMS INC", :bbgid=>"BBG000C3J3C9"})
17
+ end
18
+
19
+ end
20
+
21
+ context 'searching a non existent symbol' do
22
+
23
+ it 'returns nil' do
24
+ expect(StockIndex::BsymSearch.find('ZZZZ')).to eq(nil)
25
+ end
26
+
27
+ end
28
+
29
+ end
@@ -0,0 +1,26 @@
1
+ require 'helper'
2
+
3
+ describe StockIndex do
4
+
5
+ it 'returns a blank array for a not known index' do
6
+ expect(StockIndex.new('ZZZZ').components).to eq([])
7
+ end
8
+
9
+ # How to generate a fixture file
10
+ #
11
+ # require 'yaml'
12
+ # File.open('spec/fixtures/NDX.yaml', 'w') {|f| f.write StockIndex.new('^NDX').components.to_yaml }
13
+
14
+ it 'returns components for ^DJI' do
15
+ expect(StockIndex.new('^DJI').components.map{ |e| e[:symbol] }).to match_array(components_from_fixture('^DJI').map{ |e| e[:symbol] })
16
+ end
17
+
18
+ it 'returns components for ^GSPC' do
19
+ expect(StockIndex.new('^GSPC').components.map{ |e| e[:symbol] }).to match_array(components_from_fixture('^GSPC').map{ |e| e[:symbol] })
20
+ end
21
+
22
+ it 'returns components for ^NDX' do
23
+ expect(StockIndex.new('^NDX').components.map{ |e| e[:symbol] }).to match_array(components_from_fixture('^NDX').map{ |e| e[:symbol] })
24
+ end
25
+
26
+ end