Sha256: 95b3a3c335fbe66b46ce49d04425a99cec14c02ae2b153ef566d4809320553b0

Contents?: true

Size: 855 Bytes

Versions: 1

Compression:

Stored size: 855 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: 'https://indexes.nasdaqomx.com/Index/Weighting/NDX'
    },
    '^N225' => {
      name: 'NIKKEI 225',
      url: 'http://indexes.nikkei.co.jp/en/nkave/index/component?idx=nk225'
    },
    '^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'
    }
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stock_index-0.5.1 lib/stock_index/indices.rb