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