Class: IGMarkets::Activity::Details::Action
- Defined in:
- lib/ig_markets/activity.rb
Overview
Contains details on the actions that were performed by an activity. Returned by #actions.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#action_type ⇒ Symbol
The action_type attribute.
-
#affected_deal_id ⇒ Object
The affected_deal_id 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
#action_type ⇒ Symbol
The action_type attribute.
9 10 11 12 13 14 15 |
# File 'lib/ig_markets/activity.rb', line 9 attribute :action_type, Symbol, allowed_values: %i[limit_order_amended limit_order_deleted limit_order_filled limit_order_opened limit_order_rolled position_closed position_deleted position_opened position_partially_closed position_rolled stop_limit_amended stop_order_amended stop_order_deleted stop_order_filled stop_order_opened stop_order_rolled unknown working_order_deleted] |
#affected_deal_id ⇒ Object
The affected_deal_id attribute.
16 |
# File 'lib/ig_markets/activity.rb', line 16 attribute :affected_deal_id |