coinbase-pro-rs icon indicating copy to clipboard operation
coinbase-pro-rs copied to clipboard

Add pagination to the Public::get_trades API

Open v1bri opened this issue 3 years ago • 0 comments

The Public::get_trades() method does not support pagination which is required to retrieve historical trade data. To avoid a breaking change this could be addressed by adding a new method resembling pub fn get_trades_paginated(&self, product_id: &str, before: Option<usize>, after: Option<usize>) ....

v1bri avatar Jan 13 '22 05:01 v1bri