lib/iex/endpoints/ref_data.rb in iex-ruby-client-1.4.0 vs lib/iex/endpoints/ref_data.rb in iex-ruby-client-1.4.1
- old
+ new
@@ -15,8 +15,13 @@
def ref_data_symbols(options = {})
response = get('ref-data/symbols', { token: publishable_token }.merge(options))
response.map { |row| IEX::Resources::Symbols.new(row) }
end
+
+ def ref_data_symbols_for_exchange(exchange, options = {})
+ response = get("ref-data/exchange/#{exchange}/symbols", { token: publishable_token }.merge(options))
+ response.map { |row| IEX::Resources::Symbols.new(row) }
+ end
end
end
end