Class: IGMarkets::Market::Snapshot
- Inherits:
-
IGMarkets::Model
- Object
- IGMarkets::Model
- IGMarkets::Market::Snapshot
- Defined in:
- lib/ig_markets/market.rb
Overview
Contains details on a snapshot of a market. Returned by #snapshot.
Instance Attribute Summary
Attributes inherited from IGMarkets::Model
Instance Method Summary collapse
-
#bid ⇒ Float
The bid attribute.
-
#binary_odds ⇒ Float
The binary_odds attribute.
-
#controlled_risk_extra_spread ⇒ Float
The controlled_risk_extra_spread attribute.
-
#decimal_places_factor ⇒ Float
The decimal_places_factor attribute.
-
#delay_time ⇒ Float
The delay_time attribute.
-
#high ⇒ Float
The high attribute.
-
#low ⇒ Float
The low attribute.
-
#market_status ⇒ Symbol
The market_status attribute.
-
#net_change ⇒ Float
The net_change attribute.
-
#offer ⇒ Float
The offer attribute.
-
#percentage_change ⇒ Float
The percentage_change attribute.
-
#scaling_factor ⇒ Float
The scaling_factor attribute.
-
#update_time ⇒ Object
The update_time attribute.
Methods inherited from IGMarkets::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.
26 |
# File 'lib/ig_markets/market.rb', line 26 attribute :bid, Float |
#binary_odds ⇒ Float
The binary_odds attribute.
27 |
# File 'lib/ig_markets/market.rb', line 27 attribute :binary_odds, Float |
#controlled_risk_extra_spread ⇒ Float
The controlled_risk_extra_spread attribute.
28 |
# File 'lib/ig_markets/market.rb', line 28 attribute :controlled_risk_extra_spread, Float |
#decimal_places_factor ⇒ Float
The decimal_places_factor attribute.
29 |
# File 'lib/ig_markets/market.rb', line 29 attribute :decimal_places_factor, Float |
#delay_time ⇒ Float
The delay_time attribute.
30 |
# File 'lib/ig_markets/market.rb', line 30 attribute :delay_time, Float |
#high ⇒ Float
The high attribute.
31 |
# File 'lib/ig_markets/market.rb', line 31 attribute :high, Float |
#low ⇒ Float
The low attribute.
32 |
# File 'lib/ig_markets/market.rb', line 32 attribute :low, Float |
#market_status ⇒ Symbol
The market_status attribute.
33 34 |
# File 'lib/ig_markets/market.rb', line 33 attribute :market_status, Symbol, allowed_values: %i[closed edits_only offline on_auction on_auction_no_edits suspended tradeable tradeable_no_edit] |
#net_change ⇒ Float
The net_change attribute.
35 |
# File 'lib/ig_markets/market.rb', line 35 attribute :net_change, Float |
#offer ⇒ Float
The offer attribute.
36 |
# File 'lib/ig_markets/market.rb', line 36 attribute :offer, Float |
#percentage_change ⇒ Float
The percentage_change attribute.
37 |
# File 'lib/ig_markets/market.rb', line 37 attribute :percentage_change, Float |
#scaling_factor ⇒ Float
The scaling_factor attribute.
38 |
# File 'lib/ig_markets/market.rb', line 38 attribute :scaling_factor, Float |
#update_time ⇒ Object
The update_time attribute.
39 |
# File 'lib/ig_markets/market.rb', line 39 attribute :update_time |