Class: Bitex::Trade

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

Overview

Utility class for fetching an heterogeneous list of objects that compose your transaction history.

Class Method Summary collapse

Class Method Details

.allArray<Bitex::Buy, Bitex::Sell] Returns an heterogeneous array with all your transactions for the past 30 days sorted by descending date.

Array<Bitex::Buy, Bitex::Sell] Returns an heterogeneous array with all your transactions for the past 30 days sorted by descending date.



8
9
10
# File 'lib/bitex/trade.rb', line 8

def self.all
  Api.private(:GET, '/private/trades').map { |t| Api.deserialize(t) }
end