Class: Bitbot::Trader::Providers::MtGox::OpenOrdersRequest
- Defined in:
- lib/bitbot/trader/providers/mt_gox/open_orders_request.rb
Overview
POST request to /money/orders
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
-
#call ⇒ Array<OpenOrder>
private
Fetches user’s open orders.
Methods inherited from Request
Constructor Details
This class inherits a constructor from Bitbot::Trader::Request
Instance Method Details
#call ⇒ Array<OpenOrder>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Fetches user’s open orders
16 17 18 19 20 |
# File 'lib/bitbot/trader/providers/mt_gox/open_orders_request.rb', line 16 def call client.post("money/orders")["data"].map { |raw_order| OpenOrderParser.new(raw_order).parse } end |