Class: Bitbot::Trader::Providers::Bitstamp::OpenOrdersRequest
- Defined in:
- lib/bitbot/trader/providers/bitstamp/open_orders_request.rb
Overview
POST request to /open_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/bitstamp/open_orders_request.rb', line 16 def call client.post("open_orders").map { |raw_order| OpenOrderParser.new(raw_order).parse } end |