Sha256: c75cfd0d440ac0ee7989c0ee3bae14f8ccadd126b328865611720b5027c9d443
Contents?: true
Size: 504 Bytes
Versions: 5
Compression:
Stored size: 504 Bytes
Contents
require_relative 'base' require_relative 'ohlc/base' module IEX module Resources module OHLC def self.get(stock_symbol) IEX::Resources::Base.symbol(stock_symbol) do resource = IEX::Api::OHLC.get(stock_symbol) OHLC::Base.new resource end end def self.market IEX::Resources::Base.symbol(nil) do Hash[IEX::Api::OHLC.market.map do |k, v| [k, OHLC::Base.new(v)] end] end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems