Class: Trader::Transaction

Inherits:
Struct
  • Object
show all
Defined in:
lib/trade-o-matic/structs/transaction.rb

Instance Attribute Summary collapse

Instance Attribute Details

#priceObject

Returns the value of attribute price

Returns:

  • (Object)

    the current value of price



2
3
4
# File 'lib/trade-o-matic/structs/transaction.rb', line 2

def price
  @price
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



2
3
4
# File 'lib/trade-o-matic/structs/transaction.rb', line 2

def time
  @time
end

#volumeObject

Returns the value of attribute volume

Returns:

  • (Object)

    the current value of volume



2
3
4
# File 'lib/trade-o-matic/structs/transaction.rb', line 2

def volume
  @volume
end