Class: Bitex::Buy
- Inherits:
-
Match
- Object
- Match
- Bitex::Buy
- Defined in:
- lib/bitex/buy.rb
Overview
A transaction in which you bought some quantity of specie.
Instance Attribute Summary collapse
-
#amount ⇒ BigDecimal
Amount of USD spent.
-
#bid_id ⇒ Integer
Unique ID for the Bid that resulted in this Buy.
-
#created_at ⇒ Time
Time when this Buy happened.
-
#fee ⇒ BigDecimal
Quantity of specie paid as transaction fee.
-
#id ⇒ Integer
This buy’s unique ID.
-
#price ⇒ BigDecimal
Price paid per unit.
-
#quantity ⇒ BigDecimal
Quantity of specie bought.
-
#specie ⇒ Symbol
:btc or :ltc.
Instance Attribute Details
#amount ⇒ BigDecimal
Returns Amount of USD spent.
|
|
# File 'lib/bitex/buy.rb', line 16
|
#bid_id ⇒ Integer
Returns Unique ID for the Bid that resulted in this Buy.
27 28 29 |
# File 'lib/bitex/buy.rb', line 27 def bid_id @bid_id end |
#created_at ⇒ Time
Returns Time when this Buy happened.
|
|
# File 'lib/bitex/buy.rb', line 7
|
#fee ⇒ BigDecimal
Returns Quantity of specie paid as transaction fee.
|
|
# File 'lib/bitex/buy.rb', line 19
|
#id ⇒ Integer
Returns This buy’s unique ID.
|
|
# File 'lib/bitex/buy.rb', line 4
|
#price ⇒ BigDecimal
Returns Price paid per unit.
|
|
# File 'lib/bitex/buy.rb', line 22
|
#quantity ⇒ BigDecimal
Returns Quantity of specie bought.
|
|
# File 'lib/bitex/buy.rb', line 13
|
#specie ⇒ Symbol
Returns :btc or :ltc.
|
|
# File 'lib/bitex/buy.rb', line 10
|