Method: Coinbase::Pro::APIClient#fills

Defined in:
lib/coinbase/pro/api_client.rb

#fills(params = {}) ⇒ Object



207
208
209
210
211
212
213
214
# File 'lib/coinbase/pro/api_client.rb', line 207

def fills(params = {})
  out = nil
  get("/fills", params, paginate: true) do |resp|
    out = response_collection(resp)
    yield(out, resp) if block_given?
  end
  out
end