Class: BinanceClient::BaseCreateOrderResponse

Inherits:
BaseResponse
  • Object
show all
Defined in:
lib/binance_client/responses/base_create_order_response.rb

Direct Known Subclasses

CreateOrderResponse, CreateTestOrderResponse

Instance Method Summary collapse

Methods inherited from BaseResponse

#body_code, #default_message, #used_weights

Instance Method Details

#fillsObject



20
21
22
23
24
# File 'lib/binance_client/responses/base_create_order_response.rb', line 20

def fills
  @fills ||= body["fills"].map do |fill_entry|
    OrderFill.new_from_raw_hash(fill_entry)
  end
end