Class: PureGreeks::Greeks

Inherits:
Data
  • Object
show all
Defined in:
lib/pure_greeks/greeks.rb

Instance Attribute Summary collapse

Instance Attribute Details

#deltaObject (readonly)

Returns the value of attribute delta

Returns:

  • (Object)

    the current value of delta



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def delta
  @delta
end

#gammaObject (readonly)

Returns the value of attribute gamma

Returns:

  • (Object)

    the current value of gamma



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def gamma
  @gamma
end

#modelObject (readonly)

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def model
  @model
end

#priceObject (readonly)

Returns the value of attribute price

Returns:

  • (Object)

    the current value of price



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def price
  @price
end

#rhoObject (readonly)

Returns the value of attribute rho

Returns:

  • (Object)

    the current value of rho



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def rho
  @rho
end

#thetaObject (readonly)

Returns the value of attribute theta

Returns:

  • (Object)

    the current value of theta



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def theta
  @theta
end

#vegaObject (readonly)

Returns the value of attribute vega

Returns:

  • (Object)

    the current value of vega



4
5
6
# File 'lib/pure_greeks/greeks.rb', line 4

def vega
  @vega
end