Class: Rupee::Put
Overview
The same thing as Rupee::Option, but with the :type
flag set to "put"
Instance Attribute Summary
Attributes inherited from Option
#div_yield, #price, #rate, #strike, #time, #type, #underlying, #volatility
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Put
constructor
:nodoc:.
Methods inherited from Option
black76, #black_scholes, black_scholes, charm, color, delta, dual_delta, dual_gamma, dvega_dtime, gamma, generalized_black_scholes, implied_volatility, rho, speed, theta, vanna, vega, vomma, zomma
Methods inherited from Security
Constructor Details
#initialize(opts = {}) ⇒ Put
:nodoc:
52 53 54 55 |
# File 'lib/rupee/option.rb', line 52 def initialize(opts = {}) # :nodoc: @type = :put super end |