Fetches all completed trades involving the wallet, optionally restricted to one trading pair.
Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous response.
The maximum number of items to return.
Returns the total number of items in the collection.