Class: IGMarkets::Activity::Details
- Defined in:
- lib/ig_markets/activity.rb
Overview
Contains additional details on an activity. Returned by #details.
Defined Under Namespace
Classes: Action
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#actions ⇒ Action
The actions attribute.
-
#currency ⇒ Object
The currency attribute.
-
#deal_reference ⇒ Object
The deal_reference attribute.
-
#direction ⇒ Symbol
The direction attribute.
-
#good_till_date ⇒ Object
The good_till_date attribute.
-
#guaranteed_stop ⇒ Boolean
The guaranteed_stop attribute.
-
#level ⇒ Float
The level attribute.
-
#limit_distance ⇒ Integer
The limit_distance attribute.
-
#limit_level ⇒ Float
The limit_level attribute.
-
#market_name ⇒ Object
The market_name attribute.
-
#size ⇒ Object
The size attribute.
-
#stop_distance ⇒ Integer
The stop_distance attribute.
-
#stop_level ⇒ Float
The stop_level attribute.
-
#trailing_step ⇒ Float
The trailing_step attribute.
-
#trailing_stop_distance ⇒ Integer
The trailing_stop_distance 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
#actions ⇒ Action
The actions attribute.
19 |
# File 'lib/ig_markets/activity.rb', line 19 attribute :actions, Action |
#currency ⇒ Object
The currency attribute.
20 |
# File 'lib/ig_markets/activity.rb', line 20 attribute :currency |
#deal_reference ⇒ Object
The deal_reference attribute.
21 |
# File 'lib/ig_markets/activity.rb', line 21 attribute :deal_reference |
#direction ⇒ Symbol
The direction attribute.
22 |
# File 'lib/ig_markets/activity.rb', line 22 attribute :direction, Symbol, allowed_values: %i[buy sell] |
#good_till_date ⇒ Object
The good_till_date attribute.
23 |
# File 'lib/ig_markets/activity.rb', line 23 attribute :good_till_date |
#guaranteed_stop ⇒ Boolean
The guaranteed_stop attribute.
24 |
# File 'lib/ig_markets/activity.rb', line 24 attribute :guaranteed_stop, Boolean |
#level ⇒ Float
The level attribute.
25 |
# File 'lib/ig_markets/activity.rb', line 25 attribute :level, Float |
#limit_distance ⇒ Integer
The limit_distance attribute.
26 |
# File 'lib/ig_markets/activity.rb', line 26 attribute :limit_distance, Integer |
#limit_level ⇒ Float
The limit_level attribute.
27 |
# File 'lib/ig_markets/activity.rb', line 27 attribute :limit_level, Float |
#market_name ⇒ Object
The market_name attribute.
28 |
# File 'lib/ig_markets/activity.rb', line 28 attribute :market_name |
#size ⇒ Object
The size attribute.
29 |
# File 'lib/ig_markets/activity.rb', line 29 attribute :size |
#stop_distance ⇒ Integer
The stop_distance attribute.
30 |
# File 'lib/ig_markets/activity.rb', line 30 attribute :stop_distance, Integer |
#stop_level ⇒ Float
The stop_level attribute.
31 |
# File 'lib/ig_markets/activity.rb', line 31 attribute :stop_level, Float |
#trailing_step ⇒ Float
The trailing_step attribute.
32 |
# File 'lib/ig_markets/activity.rb', line 32 attribute :trailing_step, Float |
#trailing_stop_distance ⇒ Integer
The trailing_stop_distance attribute.
33 |
# File 'lib/ig_markets/activity.rb', line 33 attribute :trailing_stop_distance, Integer |