Module: IEX::Api::OHLC
- Defined in:
- lib/iex/api/ohlc.rb
Class Method Summary collapse
Class Method Details
.connection(symbol) ⇒ Object
12 13 14 |
# File 'lib/iex/api/ohlc.rb', line 12 def self.connection(symbol) IEX::Api.default_connection "#{symbol}/ohlc" end |
.get(symbol) ⇒ Object
4 5 6 |
# File 'lib/iex/api/ohlc.rb', line 4 def self.get(symbol) connection(symbol).get.body end |
.market ⇒ Object
8 9 10 |
# File 'lib/iex/api/ohlc.rb', line 8 def self.market get('market') end |