Skip to content

feat(v3.2.6): STP groups, segmented reality depth, rToken fields, v3 market endpoints - #176

Merged
tiagosiebler merged 2 commits into
sieblyio:masterfrom
JJ-Cro:update19102026
Oct 20, 2026
Merged

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

Conversation

@JJ-Cro

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

Copy link
Copy Markdown
Contributor

Summary

Sync the Bitget UTA (V3) changelog for October 2026 (https://www.bitget.com/docs/uta/changelog/2026-10) and the rToken matching-engine migration. Only RestClientV3 and V3 WebSocket types change; the V2 RestClient is untouched.

Changelog

  • getServerTime() (V3) now calls GET /api/v3/market/time and returns serverTimeMicros. The old /api/v3/public/time returns 404.
  • New public endpoints: getOpenInterestHistory(), getInterestRateHistory() (level vip0-vip7 / pro1-pro6), getAnnouncements() (Bitget's annoucements path), getCoins().
  • STP groups (MM whitelist): createStpGroup(), getStpGroups(), addStpGroupMembers(), removeStpGroupMembers().
  • getRealityOrderBookSegmented() and private WS topic reality-orderbook-segmented ([price, onshoreQty, offshoreQty], go-live 20 Oct 2026). Public WS topics books1 and books5.
  • Place order (REST and WS API): requestTime / receiveWindow, rToken venue and rTokenTimeInForce; orders return venue / rTokenTimeInForce.
  • Instruments: fullName, instrumentType, marketRegion, isin. CFD order history: cursor / pageNo. Max open available: marginMode. Strategy orders: side. Rate-limit quota: sub-account self-call (uids optional).
  • Financial-record type uses the official UTA enum.
  • rToken order book behaviour (BBO only during US market hours, crossed books after the upgrade) documented in JSDoc.
  • Version 3.2.6. Regenerated docs/endpointFunctionList.md and llms.txt.

Checks

  • build, lint pass
  • public tests pass (3 suites, 29 tests)
  • live: /api/v3/market/time 200, /api/v3/public/time 404

cursoragent and others added 2 commits October 19, 2026 06:09
CFD history-order gains cursor and pageNo. The first page may return more rows than limit.

New public methods: getOpenInterestHistory, getInterestRateHistory (query param is level, vipLevel is ignored), getAnnouncements, getCoins. getServerTime now calls /api/v3/market/time and returns serverTimeMicros. /api/v3/public/time is 404.

Instruments add fullName, instrumentType, marketRegion, and isin. symbolType is unchanged. place-order and place-batch add requestTime and receiveWindow. place-order and the WS place-order params add venue and rTokenTimeInForce. Order info returns those two fields. place-reality-order gets the same optional routing fields; its parameter table does not list them yet, the 13 Oct changelog does.

Rate-limit quota: a sub-account may omit uids/uid. max-open-available adds marginMode. Unfilled strategy orders add side.

STP group create, list, add, and remove. reality-orderbook-segmented REST and WS, whitelist, go-live 20 Oct 2026. books1 and books5 are public topics. books and books50 stay snapshot then incremental.

UTA financial-record type is the official enum, including Bitget's MARIN_BUY_DEAL spelling.

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 cb6f1a9 into sieblyio:master Oct 20, 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