[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm seeing an issue with Coinbase fetch_ledger() method not returning full history - stops at 250 when I know there are more #24283

Open
jtashiro opened this issue Nov 17, 2024 · 1 comment

Comments

@jtashiro
Copy link
jtashiro commented Nov 17, 2024

I'm seeing an issue with Coinbase fetch_ledger() method not returning full history - stops at 250 when I know there are more ... should I open a new ticket or can I reopen this one?

Originally posted by @jtashiro in #21756 (comment)

@jtashiro jtashiro changed the title I'm seeing an issue with Coinbase fetch_ledger() method not returning full history - stops at 250 when I know there are more ... should I open a new ticket or can I reopen this one? I'm seeing an issue with Coinbase fetch_ledger() method not returning full history - stops at 250 when I know there are more Nov 17, 2024
@jtashiro
Copy link
Author
jtashiro commented Nov 17, 2024

This script 'get-withdrawals.py' calls fetch_ledger as below. The method returns 250 rows which matches the Limit value. maxEntriesPerRequest doesnt seem to have any effect.

$ ./get-withdrawals.py --exchange coinbase --currency USDC --account-name Coinbase --account-type Invst --transfer-account Phemex --direction out --since-date 2024-06-01 --end-date '2024-07-01 0:0:0'

[2024-11-16 22:09:55] exchange.fetch_ledger(code=USDC, since=1717214400000, params={'paginate': True, 'limit': 250, 'maxEntriesPerRequest': 300, 'until': 1719806400000})

250 withdrawals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant