Class: Options::Strategies::LongIronFly
- Inherits:
-
IronStrategy
- Object
- Strategy
- IronStrategy
- Options::Strategies::LongIronFly
- Defined in:
- lib/options/strategies.rb
Instance Attribute Summary
Attributes inherited from Strategy
#ce_increment, #default_lot_size, #increment, #index_name, #input_lot_size, #legs, #option_type_klasses, #options_data, #pe_increment, #strike_price
Instance Method Summary collapse
-
#initialize(options) ⇒ LongIronFly
constructor
A new instance of LongIronFly.
Methods inherited from IronStrategy
Methods inherited from Strategy
#construct, #long=, #lot_size=, #merge_legs, #parse_option_type_klasses, #short=, #to_hash, #to_json
Constructor Details
#initialize(options) ⇒ LongIronFly
Returns a new instance of LongIronFly.
225 226 227 228 |
# File 'lib/options/strategies.rb', line 225 def initialize() super() @strategy_type_klasses = {LongStraddle => @strike_price, ShortHedge => @strike_price} end |