Class: EODData::Client::Quote

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/eod_data/client.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#adjusted_priceObject Also known as: adjusted_ask, adjusted_change, adjusted_close, adjusted_high, adjusted_low, adjusted_open, adjusted_previous



213
214
215
216
217
# File 'lib/eod_data/client.rb', line 213

def adjusted_price
  price = send(__callee__.to_s.sub('adjusted_', '').to_sym)

  convert_price(price)
end