Class: Option::Put
Constant Summary
Constants inherited from Model
Model::CALC_DELTA_METHODS, Model::CALC_PRICE_METHODS, Model::IMPLIED_VOL_METHODS, Model::KNOWN_OPTION_TYPES
Instance Attribute Summary
Attributes inherited from Model
#dividend, #interest, #option_type, #sigma, #strike, #time, #underlying
Instance Method Summary collapse
-
#initialize ⇒ Put
constructor
A new instance of Put.
Methods inherited from Model
#calc_delta, #calc_gamma, #calc_implied_vol, #calc_price, #calc_vega
Constructor Details
#initialize ⇒ Put
Returns a new instance of Put.
8 9 10 |
# File 'lib/options_library/option_put.rb', line 8 def initialize super(:put) end |