Sha256: 6d7d3df12115b3853fa7b90353cc13a06b8f407e6da0d482f3ac748564fc8900
Contents?: true
Size: 383 Bytes
Versions: 3
Compression:
Stored size: 383 Bytes
Contents
module IEX module Endpoints module LargestTrades def largest_trades(symbol, options = {}) get("stock/#{symbol}/largest-trades", options).map do |data| IEX::Resources::LargestTrades.new(data) end rescue Faraday::ResourceNotFound => e raise IEX::Errors::SymbolNotFoundError.new(symbol, e.response[:body]) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iex-ruby-client-1.1.0 | lib/iex/endpoints/largest_trades.rb |
iex-ruby-client-1.0.1 | lib/iex/endpoints/largest_trades.rb |
iex-ruby-client-1.0.0 | lib/iex/endpoints/largest_trades.rb |