Sha256: dfa05954eb565aa19a6566d318aa1eb10259b0b69a9f403168775c4a1b4e8ee0

Contents?: true

Size: 760 Bytes

Versions: 13

Compression:

Stored size: 760 Bytes

Contents

module IEX
  module Resources
    class Earnings < Resource
      property 'actual_eps', from: 'actualEPS'
      property 'consensus_eps', from: 'consensusEPS'
      property 'announce_time', from: 'announceTime'
      property 'number_of_estimates', from: 'numberOfEstimates'
      property 'eps_surprise_dollar', from: 'EPSSurpriseDollar'
      property 'eps_report_date', from: 'EPSReportDate'
      property 'fiscal_period', from: 'fiscalPeriod'
      property 'fiscal_end_date', from: 'fiscalEndDate'
      property 'year_ago', from: 'yearAgo'
      property 'year_ago_change_percent', from: 'yearAgoChangePercent'
      property 'year_ago_change_percent_s', from: 'yearAgoChangePercent', with: ->(v) { Resource.float_to_percentage(v) }
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
iex-ruby-client-2.1.0 lib/iex/resources/earnings.rb
iex-ruby-client-2.0.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.6.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.5.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.4.1 lib/iex/resources/earnings.rb
iex-ruby-client-1.4.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.3.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.2.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.1.2 lib/iex/resources/earnings.rb
iex-ruby-client-1.1.1 lib/iex/resources/earnings.rb
iex-ruby-client-1.1.0 lib/iex/resources/earnings.rb
iex-ruby-client-1.0.1 lib/iex/resources/earnings.rb
iex-ruby-client-1.0.0 lib/iex/resources/earnings.rb