Class: IGMarkets::Instrument::SlippageFactor

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

Overview

Contains details on the slippage factor for an instrument. Returned by #slippage_factor.

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

#unitObject

The unit attribute.

Returns:



55
# File 'lib/ig_markets/instrument.rb', line 55

attribute :unit

#valueFloat

The value attribute.

Returns:

  • (Float)


56
# File 'lib/ig_markets/instrument.rb', line 56

attribute :value, Float