Class: IGMarkets::Activity::Details

Inherits:
Model
  • Object
show all
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

#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

#actionsAction

The actions attribute.

Returns:


19
# File 'lib/ig_markets/activity.rb', line 19

attribute :actions, Action

#currencyObject

The currency attribute.

Returns:

  • []


20
# File 'lib/ig_markets/activity.rb', line 20

attribute :currency

#deal_referenceObject

The deal_reference attribute.

Returns:

  • []


21
# File 'lib/ig_markets/activity.rb', line 21

attribute :deal_reference

#directionSymbol

The direction attribute.

Returns:

  • (Symbol)

22
# File 'lib/ig_markets/activity.rb', line 22

attribute :direction, Symbol, allowed_values: %i[buy sell]

#good_till_dateObject

The good_till_date attribute.

Returns:

  • []


23
# File 'lib/ig_markets/activity.rb', line 23

attribute :good_till_date

#guaranteed_stopBoolean

The guaranteed_stop attribute.

Returns:


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

attribute :guaranteed_stop, Boolean

#levelFloat

The level attribute.

Returns:

  • (Float)

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

attribute :level, Float

#limit_distanceInteger

The limit_distance attribute.

Returns:

  • (Integer)

26
# File 'lib/ig_markets/activity.rb', line 26

attribute :limit_distance, Integer

#limit_levelFloat

The limit_level attribute.

Returns:

  • (Float)

27
# File 'lib/ig_markets/activity.rb', line 27

attribute :limit_level, Float

#market_nameObject

The market_name attribute.

Returns:

  • []


28
# File 'lib/ig_markets/activity.rb', line 28

attribute :market_name

#sizeObject

The size attribute.

Returns:

  • []


29
# File 'lib/ig_markets/activity.rb', line 29

attribute :size

#stop_distanceInteger

The stop_distance attribute.

Returns:

  • (Integer)

30
# File 'lib/ig_markets/activity.rb', line 30

attribute :stop_distance, Integer

#stop_levelFloat

The stop_level attribute.

Returns:

  • (Float)

31
# File 'lib/ig_markets/activity.rb', line 31

attribute :stop_level, Float

#trailing_stepFloat

The trailing_step attribute.

Returns:

  • (Float)

32
# File 'lib/ig_markets/activity.rb', line 32

attribute :trailing_step, Float

#trailing_stop_distanceInteger

The trailing_stop_distance attribute.

Returns:

  • (Integer)

33
# File 'lib/ig_markets/activity.rb', line 33

attribute :trailing_stop_distance, Integer