Class: IGMarkets::Instrument::MarginDepositBand
- Defined in:
- lib/ig_markets/instrument.rb
Overview
Contains details on the margin deposit requirements for an instrument at a certain price band. Returned by #margin_deposit_bands.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#currency ⇒ String
The currency attribute.
-
#margin ⇒ Float
The margin attribute.
-
#max ⇒ Float
The max attribute.
-
#min ⇒ Float
The min 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
#currency ⇒ String
The currency attribute.
22 |
# File 'lib/ig_markets/instrument.rb', line 22 attribute :currency, String, regex: Regex::CURRENCY |
#margin ⇒ Float
The margin attribute.
23 |
# File 'lib/ig_markets/instrument.rb', line 23 attribute :margin, Float |
#max ⇒ Float
The max attribute.
24 |
# File 'lib/ig_markets/instrument.rb', line 24 attribute :max, Float |
#min ⇒ Float
The min attribute.
25 |
# File 'lib/ig_markets/instrument.rb', line 25 attribute :min, Float |