Class: Ohbjects::Option
- Inherits:
-
Object
- Object
- Ohbjects::Option
- Defined in:
- lib/ohbjects/options.rb
Instance Attribute Summary collapse
-
#ask ⇒ Object
Returns the value of attribute ask.
-
#asks ⇒ Object
Returns the value of attribute asks.
-
#bid ⇒ Object
Returns the value of attribute bid.
-
#bids ⇒ Object
Returns the value of attribute bids.
-
#change ⇒ Object
Returns the value of attribute change.
-
#delta ⇒ Object
Returns the value of attribute delta.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#gamma ⇒ Object
Returns the value of attribute gamma.
-
#id ⇒ Object
Returns the value of attribute id.
-
#iv ⇒ Object
Returns the value of attribute iv.
-
#key ⇒ Object
Returns the value of attribute key.
-
#open_interest ⇒ Object
Returns the value of attribute open_interest.
-
#root ⇒ Object
Returns the value of attribute root.
-
#strike ⇒ Object
Returns the value of attribute strike.
-
#theta ⇒ Object
Returns the value of attribute theta.
-
#vega ⇒ Object
Returns the value of attribute vega.
-
#volume ⇒ Object
Returns the value of attribute volume.
Instance Method Summary collapse
- #call? ⇒ Boolean
-
#initialize ⇒ Option
constructor
A new instance of Option.
- #put? ⇒ Boolean
Constructor Details
Instance Attribute Details
#ask ⇒ Object
Returns the value of attribute ask.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def ask @ask end |
#asks ⇒ Object
Returns the value of attribute asks.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def asks @asks end |
#bid ⇒ Object
Returns the value of attribute bid.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def bid @bid end |
#bids ⇒ Object
Returns the value of attribute bids.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def bids @bids end |
#change ⇒ Object
Returns the value of attribute change.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def change @change end |
#delta ⇒ Object
Returns the value of attribute delta.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def delta @delta end |
#expires ⇒ Object
Returns the value of attribute expires.
50 51 52 |
# File 'lib/ohbjects/options.rb', line 50 def expires @expires end |
#gamma ⇒ Object
Returns the value of attribute gamma.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def gamma @gamma end |
#id ⇒ Object
Returns the value of attribute id.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def id @id end |
#iv ⇒ Object
Returns the value of attribute iv.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def iv @iv end |
#key ⇒ Object
Returns the value of attribute key.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def key @key end |
#open_interest ⇒ Object
Returns the value of attribute open_interest.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def open_interest @open_interest end |
#root ⇒ Object
Returns the value of attribute root.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def root @root end |
#strike ⇒ Object
Returns the value of attribute strike.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def strike @strike end |
#theta ⇒ Object
Returns the value of attribute theta.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def theta @theta end |
#vega ⇒ Object
Returns the value of attribute vega.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def vega @vega end |
#volume ⇒ Object
Returns the value of attribute volume.
45 46 47 |
# File 'lib/ohbjects/options.rb', line 45 def volume @volume end |