Class: IGMarkets::Streaming::ChartTickUpdate
- Defined in:
- lib/ig_markets/streaming/chart_tick_update.rb
Overview
Contains details on a chart tick update received via the streaming API. Used by Subscription#on_data.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#bid ⇒ Float
The bid attribute.
-
#day_high ⇒ Float
The day_high attribute.
-
#day_low ⇒ Float
The day_low attribute.
-
#day_net_chg_mid ⇒ Float
The day_net_chg_mid attribute.
-
#day_open_mid ⇒ Float
The day_open_mid attribute.
-
#day_perc_chg_mid ⇒ Float
The day_perc_chg_mid attribute.
-
#epic ⇒ String
The epic attribute.
-
#ltp ⇒ Float
The ltp attribute.
-
#ltv ⇒ Float
The ltv attribute.
-
#ofr ⇒ Float
The ofr attribute.
-
#ttv ⇒ Float
The ttv attribute.
-
#utm ⇒ Time
The utm attribute.
Methods inherited from Model
#==, allowed_values, attribute, attribute_type, attribute_value_allowed?, defined_attribute_names, deprecated_attribute, #initialize, #initialize_copy, #inspect, #to_h, valid_attribute?
Constructor Details
This class inherits a constructor from IGMarkets::Model
Instance Method Details
#bid ⇒ Float
The bid attribute.
5 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 5 attribute :bid, Float |
#day_high ⇒ Float
The day_high attribute.
6 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 6 attribute :day_high, Float |
#day_low ⇒ Float
The day_low attribute.
7 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 7 attribute :day_low, Float |
#day_net_chg_mid ⇒ Float
The day_net_chg_mid attribute.
8 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 8 attribute :day_net_chg_mid, Float |
#day_open_mid ⇒ Float
The day_open_mid attribute.
9 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 9 attribute :day_open_mid, Float |
#day_perc_chg_mid ⇒ Float
The day_perc_chg_mid attribute.
10 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 10 attribute :day_perc_chg_mid, Float |
#epic ⇒ String
The epic attribute.
11 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 11 attribute :epic, String, regex: Regex::EPIC |
#ltp ⇒ Float
The ltp attribute.
12 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 12 attribute :ltp, Float |
#ltv ⇒ Float
The ltv attribute.
13 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 13 attribute :ltv, Float |
#ofr ⇒ Float
The ofr attribute.
14 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 14 attribute :ofr, Float |
#ttv ⇒ Float
The ttv attribute.
15 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 15 attribute :ttv, Float |
#utm ⇒ Time
The utm attribute.
16 |
# File 'lib/ig_markets/streaming/chart_tick_update.rb', line 16 attribute :utm, Time, format: '%Q' |