Class: Rupee::Call
Overview
The same thing as Rupee::Option, but with the :type
flag set to "call"
Instance Attribute Summary
Attributes inherited from Option
#div_yield, #price, #rate, #strike, #time, #type, #underlying, #volatility
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Call
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 = {}) ⇒ Call
:nodoc:
43 44 45 46 |
# File 'lib/rupee/option.rb', line 43 def initialize(opts = {}) # :nodoc: @type = "call" super end |