Sha256: 162b3994bb1ee8fc0b04436f1bbb0795f50c65e41c15a44661a9f23d048906cb

Contents?: true

Size: 284 Bytes

Versions: 6

Compression:

Stored size: 284 Bytes

Contents

module IEX
  module Api
    module OHLC
      def self.get(symbol)
        connection(symbol).get.body
      end

      def self.market
        get('market')
      end

      def self.connection(symbol)
        IEX::Api.default_connection "#{symbol}/ohlc"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iex-ruby-client-0.4.4 lib/iex/api/ohlc.rb
iex-ruby-client-0.4.3 lib/iex/api/ohlc.rb
iex-ruby-client-0.4.2 lib/iex/api/ohlc.rb
iex-ruby-client-0.4.1 lib/iex/api/ohlc.rb
iex-ruby-client-0.4.0 lib/iex/api/ohlc.rb
iex-ruby-client-0.3.3 lib/iex/api/ohlc.rb