stock_index 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/lib/stock_index/component.rb +1 -1
- data/lib/stock_index/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0db1b7bab310495643f57159fe0135dad1ad6d7
|
4
|
+
data.tar.gz: c8aa685dab13254d701afe5fc184aa15af04faff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843ddc701caad0366add79236d3542a6bf02c5c16bdb003df5d9d53c43e92eb5d55e3239d4f5c8d5600e819278b7c23800d11c197101eba9dcb0c69fca932d83
|
7
|
+
data.tar.gz: 51ab457b54f14354e0a1edd2a23ea18313eaa37b178e2c65f3f350781a669ab0d0aa3d47f274cfa84feae8abd91606aba95817a713d0ba1ffe1354f7ec2ab6b0
|
data/README.md
CHANGED
@@ -21,15 +21,27 @@ Or install it yourself as:
|
|
21
21
|
|
22
22
|
There is no a standard for indices symbols, so this gem uses Yahoo Finance symbols.
|
23
23
|
|
24
|
-
| Symbol | Index Name | Reference
|
24
|
+
| Symbol | Index Name | Reference pages |
|
25
25
|
| ------ | ---------- | -------------- |
|
26
26
|
| ^DJI | DOW JONES INDUSTRIAL AVERAGE | http://en.wikipedia.org/wiki/Dow_Jones_Industrial_Average |
|
27
27
|
| ^GSPC | S&P 500 | http://en.wikipedia.org/wiki/List_of_S%26P_500_companies |
|
28
28
|
| ^NDX | NASDAQ 100 | https://indexes.nasdaqomx.com/Index/Weighting/NDX<br/>http://en.wikipedia.org/wiki/NASDAQ-100 |
|
29
29
|
| ^N225 | NIKKEI 225 | http://indexes.nikkei.co.jp/en/nkave/index/component?idx=nk225<br/>http://en.wikipedia.org/wiki/Nikkei_225 |
|
30
|
-
| ^STOXX50E | EURO STOXX 50 | http://www.stoxx.com/indices/index_information.html?symbol=SX5E |
|
31
30
|
| ^FTSE | FTSE 100 | http://www.londonstockexchange.com/exchange/prices-and-markets/stocks/indices/summary/summary-indices-constituents.html?index=UKX<br/>http://en.wikipedia.org/wiki/FTSE_100_Index#Current_constituents |
|
32
31
|
|
32
|
+
## Roadmap
|
33
|
+
|
34
|
+
These indices will be supported in the future:
|
35
|
+
|
36
|
+
| Symbol | Index Name | Reference pages |
|
37
|
+
| ------ | ---------- | -------------- |
|
38
|
+
| ^STOXX50E | EURO STOXX 50 | http://www.stoxx.com/indices/index_information.html?symbol=SX5E |
|
39
|
+
| ^GDAXI | DAX | http://en.wikipedia.org/wiki/DAX |
|
40
|
+
| ^FCHI | CAC 40 | http://en.wikipedia.org/wiki/CAC_40 |
|
41
|
+
| FTSEMIB.MI | FTSE MIB | http://en.wikipedia.org/wiki/FTSE_MIB |
|
42
|
+
| ^IBEX | IBEX 35 | http://en.wikipedia.org/wiki/IBEX_35 |
|
43
|
+
| ^AEX | AEX | http://en.wikipedia.org/wiki/AEX_index |
|
44
|
+
|
33
45
|
## Usage
|
34
46
|
|
35
47
|
```ruby
|
@@ -53,7 +65,7 @@ This method returns an array of components. Each component is a Hash with this f
|
|
53
65
|
| market | Market symbol according to [ISO 10383](https://github.com/javiervidal/mic) |
|
54
66
|
| symbol | Component symbol |
|
55
67
|
| name | Component name according to [Bloomberg Open Symbology](http://bsym.bloomberg.com/sym/) |
|
56
|
-
| wikipedia | Link to the wikipedia page of the component |
|
68
|
+
| wikipedia | Link to the wikipedia page of the component, when possible. |
|
57
69
|
| cik | Component CIK (Central Index Key) assigned to the company by the SEC. Only for US components. |
|
58
70
|
| bbgid | BBGID (Bloomberg Security Identifier) according to [Bloomberg Open Symbology](http://bsym.bloomberg.com/sym/)|
|
59
71
|
|
@@ -76,6 +88,7 @@ The name, cik, and bbgid are cached using [PStore](http://ruby-doc.org/stdlib-1.
|
|
76
88
|
[![Gem Version](http://img.shields.io/badge/gem-v0.8.0-blue.svg)](https://rubygems.org/gems/stock_index)
|
77
89
|
[![Build Status](https://travis-ci.org/javiervidal/stock_index.svg?branch=master)](https://travis-ci.org/javiervidal/stock_index)
|
78
90
|
[![Coverage Status](https://coveralls.io/repos/javiervidal/stock_index/badge.png?branch=master)](https://coveralls.io/r/javiervidal/stock_index?branch=master)
|
91
|
+
[![Code Climate](https://codeclimate.com/github/javiervidal/stock_index/badges/gpa.svg)](https://codeclimate.com/github/javiervidal/stock_index)
|
79
92
|
|
80
93
|
## Copyright
|
81
94
|
|
data/lib/stock_index/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stock_index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Vidal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|