Class: IGMarkets::Streaming::ConsolidatedChartDataUpdate
- Defined in:
- lib/ig_markets/streaming/consolidated_chart_data_update.rb
Overview
Contains details on a consolidated chart data update received via the streaming API. Used by Subscription#on_data.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#bid_close ⇒ Float
The bid_close attribute.
-
#bid_high ⇒ Float
The bid_high attribute.
-
#bid_low ⇒ Float
The bid_low attribute.
-
#bid_open ⇒ Float
The bid_open attribute.
-
#cons_end ⇒ Boolean
The cons_end attribute.
-
#cons_tick_count ⇒ Integer
The cons_tick_count 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_close ⇒ Float
The ltp_close attribute.
-
#ltp_high ⇒ Float
The ltp_high attribute.
-
#ltp_low ⇒ Float
The ltp_low attribute.
-
#ltp_open ⇒ Float
The ltp_open attribute.
-
#ltv ⇒ Float
The ltv attribute.
-
#ofr_close ⇒ Float
The ofr_close attribute.
-
#ofr_high ⇒ Float
The ofr_high attribute.
-
#ofr_low ⇒ Float
The ofr_low attribute.
-
#ofr_open ⇒ Float
The ofr_open attribute.
-
#scale ⇒ Symbol
The scale 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_close ⇒ Float
The bid_close attribute.
6 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 6 attribute :bid_close, Float |
#bid_high ⇒ Float
The bid_high attribute.
7 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 7 attribute :bid_high, Float |
#bid_low ⇒ Float
The bid_low attribute.
8 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 8 attribute :bid_low, Float |
#bid_open ⇒ Float
The bid_open attribute.
9 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 9 attribute :bid_open, Float |
#cons_end ⇒ Boolean
The cons_end attribute.
10 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 10 attribute :cons_end, Boolean |
#cons_tick_count ⇒ Integer
The cons_tick_count attribute.
11 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 11 attribute :cons_tick_count, Integer |
#day_high ⇒ Float
The day_high attribute.
12 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 12 attribute :day_high, Float |
#day_low ⇒ Float
The day_low attribute.
13 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 13 attribute :day_low, Float |
#day_net_chg_mid ⇒ Float
The day_net_chg_mid attribute.
14 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 14 attribute :day_net_chg_mid, Float |
#day_open_mid ⇒ Float
The day_open_mid attribute.
15 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 15 attribute :day_open_mid, Float |
#day_perc_chg_mid ⇒ Float
The day_perc_chg_mid attribute.
16 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 16 attribute :day_perc_chg_mid, Float |
#epic ⇒ String
The epic attribute.
17 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 17 attribute :epic, String, regex: Regex::EPIC |
#ltp_close ⇒ Float
The ltp_close attribute.
18 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 18 attribute :ltp_close, Float |
#ltp_high ⇒ Float
The ltp_high attribute.
19 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 19 attribute :ltp_high, Float |
#ltp_low ⇒ Float
The ltp_low attribute.
20 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 20 attribute :ltp_low, Float |
#ltp_open ⇒ Float
The ltp_open attribute.
21 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 21 attribute :ltp_open, Float |
#ltv ⇒ Float
The ltv attribute.
22 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 22 attribute :ltv, Float |
#ofr_close ⇒ Float
The ofr_close attribute.
23 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 23 attribute :ofr_close, Float |
#ofr_high ⇒ Float
The ofr_high attribute.
24 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 24 attribute :ofr_high, Float |
#ofr_low ⇒ Float
The ofr_low attribute.
25 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 25 attribute :ofr_low, Float |
#ofr_open ⇒ Float
The ofr_open attribute.
26 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 26 attribute :ofr_open, Float |
#scale ⇒ Symbol
The scale attribute.
27 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 27 attribute :scale, Symbol, allowed_values: %i[one_second one_minute five_minutes one_hour] |
#ttv ⇒ Float
The ttv attribute.
28 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 28 attribute :ttv, Float |
#utm ⇒ Time
The utm attribute.
29 |
# File 'lib/ig_markets/streaming/consolidated_chart_data_update.rb', line 29 attribute :utm, Time, format: '%Q' |