Class: Trader::Transaction
- Inherits:
-
Struct
- Object
- Struct
- Trader::Transaction
- Defined in:
- lib/trade-o-matic/structs/transaction.rb
Instance Attribute Summary collapse
-
#price ⇒ Object
Returns the value of attribute price.
-
#time ⇒ Object
Returns the value of attribute time.
-
#volume ⇒ Object
Returns the value of attribute volume.
Instance Attribute Details
#price ⇒ Object
Returns the value of attribute price
2 3 4 |
# File 'lib/trade-o-matic/structs/transaction.rb', line 2 def price @price end |
#time ⇒ Object
Returns the value of attribute time
2 3 4 |
# File 'lib/trade-o-matic/structs/transaction.rb', line 2 def time @time end |
#volume ⇒ Object
Returns the value of attribute volume
2 3 4 |
# File 'lib/trade-o-matic/structs/transaction.rb', line 2 def volume @volume end |