Class: Bitex::Sell

Inherits:
Match
  • Object
show all
Defined in:
lib/bitex/sell.rb

Overview

A transaction in which you sold some quantity of specie.

Instance Attribute Summary collapse

Instance Attribute Details

#amountBigDecimal

Returns Amount of USD earned.

Returns:

  • (BigDecimal)

    Amount of USD earned



# File 'lib/bitex/sell.rb', line 16

#ask_idInteger

Returns Unique ID for the Ask that resulted in this Sell.

Returns:

  • (Integer)

    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_atTime

Returns Time when this Sell happened.

Returns:

  • (Time)

    Time when this Sell happened.



# File 'lib/bitex/sell.rb', line 7

#feeBigDecimal

Returns USD amount paid as transaction fee.

Returns:

  • (BigDecimal)

    USD amount paid as transaction fee.



# File 'lib/bitex/sell.rb', line 19

#idInteger

Returns This sell’s unique ID.

Returns:

  • (Integer)

    This sell’s unique ID.



# File 'lib/bitex/sell.rb', line 4

#order_bookSymbol

Returns :btc_usd or :btc_ars.

Returns:

  • (Symbol)

    :btc_usd or :btc_ars



# File 'lib/bitex/sell.rb', line 10

#priceBigDecimal

Returns Price charged per unit.

Returns:

  • (BigDecimal)

    Price charged per unit



# File 'lib/bitex/sell.rb', line 22

#quantityBigDecimal

Returns Quantity of specie sold.

Returns:

  • (BigDecimal)

    Quantity of specie sold



# File 'lib/bitex/sell.rb', line 13