Class: IGMarkets::HistoricalPriceResult
- Defined in:
- lib/ig_markets/historical_price_result.rb
Overview
Contains details on a historical price query result. Returned by Market#historical_prices.
Defined Under Namespace
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#instrument_type ⇒ Symbol
The instrument_type attribute.
-
#metadata ⇒ Metadata
The metadata attribute.
-
#prices ⇒ Snapshot
The prices 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
#instrument_type ⇒ Symbol
The instrument_type attribute.
44 |
# File 'lib/ig_markets/historical_price_result.rb', line 44 attribute :instrument_type, Symbol, allowed_values: Instrument.allowed_values(:type) |