Skip to content

fix(futures): send fromId in ListAccountTradeService - #830

Open
wavebyrd wants to merge 1 commit into
ccxt:masterfrom
wavebyrd:fix/futures-user-trades-from-id
Open

wavebyrd wants to merge 1 commit into
ccxt:masterfrom
wavebyrd:fix/futures-user-trades-from-id

Conversation

@wavebyrd

@wavebyrd wavebyrd commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

ListAccountTradeService.FromID() sent the value as fromID, but GET /fapi/v1/userTrades takes fromId (case matters), so the trade id never reached the endpoint and FromID() didn't page. Every other trade list service in the repo (spot, margin, portfolio, the futures aggTrades/historicalTrades services) already sends fromId. TestAccountTradeList was asserting the wrong key; it now expects fromId and fails without the fix.

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

Successfully merging this pull request may close these issues.

1 participant