Module: IB::StopProtected
  
  
  
  
  
  
  
      - Extended by:
- OrderPrototype
    - Defined in:
- lib/ib/order_prototypes/stop.rb
 
  
    
      Class Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  aliases, alternative_parameters, defaults, optional, order, parameters, requirements
  
    Class Method Details
    
      
  
  
    .aliases  ⇒ Object 
  
  
  
  
    | 
71
72
73 | # File 'lib/ib/order_prototypes/stop.rb', line 71
def aliases
	SimpleStop.aliases
end | 
 
    
      
  
  
    .defaults  ⇒ Object 
  
  
  
  
    | 
67
68
69 | # File 'lib/ib/order_prototypes/stop.rb', line 67
def defaults
	  super.merge order_type: :stop_protected 
end | 
 
    
      
    
      
  
  
    .summary  ⇒ Object 
  
  
  
  
    | 
80
81
82
83
84
85
86
87
88
89
90
91
92
93 | # File 'lib/ib/order_prototypes/stop.rb', line 80
def summary
	<<-HERE
	US-Futures only
	----------------------------
	A Stop with Protection order combines the functionality of a stop limit order 
	with a market with protection order. The order is set to trigger at a specified 
	stop price. When the stop price is penetrated, the order is triggered as a 
	market with protection order, which means that it will fill within a specified 
	protected price range equal to the trigger price +/- the exchange-defined protection 
	point range. Any portion of the order that does not fill within this protected 
	range is submitted as a limit order at the exchange-defined trigger price +/- 
	the protection points.
	HERE
end |