Class: IGMarkets::MarketHierarchyResult

Inherits:
Model
  • Object
show all
Defined in:
lib/ig_markets/market_hierarchy_result.rb

Overview

Contains details on a market hierarchy query result. Returned by DealingPlatform::MarketMethods#hierarchy.

Defined Under Namespace

Classes: HierarchyNode

Instance Attribute Summary

Attributes inherited from Model

#attributes

Instance Method Summary collapse

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

#marketsMarketOverview

The markets attribute.

Returns:



24
# File 'lib/ig_markets/market_hierarchy_result.rb', line 24

attribute :markets, MarketOverview

#nodesHierarchyNode

The nodes attribute.

Returns:



25
# File 'lib/ig_markets/market_hierarchy_result.rb', line 25

attribute :nodes, HierarchyNode