Class: Tradier::Position
Instance Attribute Summary collapse
-
#costbasis ⇒ Object
readonly
Returns the value of attribute costbasis.
-
#date_acquired ⇒ Object
readonly
Returns the value of attribute date_acquired.
-
#quantity ⇒ Object
readonly
Returns the value of attribute quantity.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Method Summary
Methods inherited from Base
#[], #attr_equal, attr_reader, #attrs, #attrs_equal, from_response, #initialize, #update
Constructor Details
This class inherits a constructor from Tradier::Base
Instance Attribute Details
#costbasis ⇒ Object (readonly)
Returns the value of attribute costbasis.
5 6 7 |
# File 'lib/tradier/position.rb', line 5 def costbasis @costbasis end |
#date_acquired ⇒ Object (readonly)
Returns the value of attribute date_acquired.
5 6 7 |
# File 'lib/tradier/position.rb', line 5 def date_acquired @date_acquired end |
#quantity ⇒ Object (readonly)
Returns the value of attribute quantity.
5 6 7 |
# File 'lib/tradier/position.rb', line 5 def quantity @quantity end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
5 6 7 |
# File 'lib/tradier/position.rb', line 5 def symbol @symbol end |