Sha256: 52acc81254c1f7da311d2e7d0e38523d9afaada09ef25fb12225daa3446029c3
Contents?: true
Size: 998 Bytes
Versions: 3
Compression:
Stored size: 998 Bytes
Contents
class StockIndex INDICES = { '^DJI' => { name: 'DOW JONES INDUSTRIAL AVERAGE', url: 'http://en.wikipedia.org/wiki/Dow_Jones_Industrial_Average' }, '^GSPC' => { name: 'S&P 500', url: 'http://en.wikipedia.org/wiki/List_of_S%26P_500_companies' }, '^NDX' => { name: 'NASDAQ 100', url: 'http://en.wikipedia.org/wiki/NASDAQ-100' }, '^N225' => { name: 'NIKKEI 225', url: 'http://indexes.nikkei.co.jp/en/nkave/index/component?idx=nk225', wikipedia_url: 'http://en.wikipedia.org/wiki/Nikkei_225' }, '^STOXX50E' => { name: 'EURO STOXX 50', url: 'http://www.stoxx.com/indices/index_information.html?symbol=SX5E' }, '^FTSE' => { name: 'FTSE 100', url: 'http://www.londonstockexchange.com/exchange/prices-and-markets/stocks/indices/summary/summary-indices-constituents.html?index=UKX', wikipedia_url: 'http://en.wikipedia.org/wiki/FTSE_100_Index#Current_constituents' } } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stock_index-0.8.2 | lib/stock_index/indices.rb |
stock_index-0.8.1 | lib/stock_index/indices.rb |
stock_index-0.8.0 | lib/stock_index/indices.rb |