Skip to content

feat(v3.6.8): drop page from futures income history, add PM fund collection params - #689

Merged
tiagosiebler merged 2 commits into
sieblyio:masterfrom
JJ-Cro:update16102026
Oct 16, 2026
Merged

tiagosiebler merged 2 commits into
sieblyio:masterfrom
JJ-Cro:update16102026

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Binance stopped accepting page on USD-M and COIN-M income history on 16 Oct 2026. Paginate with startTime / endTime. This release also adds the other pending Binance field updates that were still missing, and bumps the package to 3.6.8.

Changelog

  • Remove page from GetIncomeHistoryParams used by USDMClient.getIncomeHistory() (GET /fapi/v1/income) and CoinMClient.getIncomeHistory() (GET /dapi/v1/income). Binance removed page on 16 Oct 2026; JSDoc says to paginate with startTime and endTime.
  • Portfolio Margin fund collection (POST /sapi/v1/portfolio/asset-collection, POST /papi/v1/asset-collection): optional amount and futureType (UM | CM | OPTION); must be sent together.
  • VIP loan repayment history (GET /sapi/v1/loan/vip/repay/history): add repayInterest and repayPrincipal.
  • Spot algo open and historical orders: optional duration (seconds, TWAP only).
  • Margin / spot user-data executionReport: add allocation id a as a number, mapped to allocationId.
  • Version 3.6.8. Regenerated docs/endpointFunctionList.md and llms.txt.

cursoragent and others added 2 commits October 16, 2026 07:21
Changelog:
- Remove page from USDM and COINM income history request params. Paginate with startTime and endTime.
- Portfolio margin fund collection accepts optional amount and futureType, which must be sent together.
- VIP loan repayment history includes repayInterest and repayPrincipal.
- Spot algo open and historical orders include optional duration.
- Margin user-data executionReport types allocation id (a) as a number.
- Bump version to 3.6.8.

Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>

@tiagosiebler tiagosiebler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tiagosiebler
tiagosiebler merged commit 6a4d847 into sieblyio:master Oct 16, 2026
1 of 2 checks passed
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.

3 participants