module IEX::Endpoints::StockMarket

Public Instance Methods

stock_market_list(list_type, options = {}) click to toggle source
# File lib/iex/endpoints/stock_market.rb, line 4
def stock_market_list(list_type, options = {})
  get("stock/market/list/#{list_type}", { token: publishable_token }.merge(options)).map do |data|
    IEX::Resources::Quote.new(data)
  end
end