Class: Bitex::Trade
- Inherits:
-
Object
- Object
- Bitex::Trade
- 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
-
.all ⇒ Array<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.
Class Method Details
.all ⇒ Array<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.
9 10 11 |
# File 'lib/bitex/trade.rb', line 9 def self.all Api.private(:GET, '/private/trades').collect{|o| Api.deserialize(o) } end |