Module: Bitsor::Client::Trades

Included in:
Bitsor::Client
Defined in:
lib/bitsor/client/trades.rb

Instance Method Summary collapse

Instance Method Details

#trades(book:, marker: nil, sort: :desc, limit: 25) ⇒ Object



6
7
8
9
10
# File 'lib/bitsor/client/trades.rb', line 6

def trades(book:, marker: nil, sort: :desc, limit: 25)
  normalize_response.with(:trade) do
    get('/v3/trades/', book: book, marker: marker, sort: sort, limit: limit)
  end
end