Class: Bitex::Buy
- Inherits:
-
Match
- Object
- Match
- Bitex::Buy
- Defined in:
- lib/bitex/buy.rb
Overview
TODO: rever esta docu 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
TODO: rever esta docu.
-
#id ⇒ Integer
This buy’s unique ID.
-
#order_book ⇒ Symbol
:btc_usd or :btc_ars.
-
#price ⇒ BigDecimal
Price paid per unit.
-
#quantity ⇒ BigDecimal
TODO: rever esta docu.
Instance Attribute Details
#amount ⇒ BigDecimal
Returns Amount of USD spent.
|
# File 'lib/bitex/buy.rb', line 18
|
#bid_id ⇒ Integer
Returns Unique ID for the Bid that resulted in this Buy.
30 31 32 |
# File 'lib/bitex/buy.rb', line 30 def bid_id @bid_id end |
#created_at ⇒ Time
Returns Time when this Buy happened.
|
# File 'lib/bitex/buy.rb', line 8
|
#fee ⇒ BigDecimal
TODO: rever esta docu
|
# File 'lib/bitex/buy.rb', line 21
|
#id ⇒ Integer
Returns This buy’s unique ID.
|
# File 'lib/bitex/buy.rb', line 5
|
#order_book ⇒ Symbol
Returns :btc_usd or :btc_ars.
|
# File 'lib/bitex/buy.rb', line 11
|
#price ⇒ BigDecimal
Returns Price paid per unit.
|
# File 'lib/bitex/buy.rb', line 25
|
#quantity ⇒ BigDecimal
TODO: rever esta docu
|
# File 'lib/bitex/buy.rb', line 14
|