Class: IGMarkets::Instrument::SlippageFactor
- 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
Instance Method Summary collapse
-
#unit ⇒ Object
The unit attribute.
-
#value ⇒ Float
The value 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
#unit ⇒ Object
The unit attribute.
55 |
# File 'lib/ig_markets/instrument.rb', line 55 attribute :unit |
#value ⇒ Float
The value attribute.
56 |
# File 'lib/ig_markets/instrument.rb', line 56 attribute :value, Float |