Repository navigation
feat(v3.2.6): UTA Oct 15 batch and rToken depth - #3
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Monday SDK batch for the Bitget UTA changelog through 15 Oct 2026, checked against https://www.bitget.com/docs/uta/changelog/2026-10 and the live public API. Version 3.2.6. Base
71d95ec.getServerTimenow callsGET /api/v3/market/time. The old/api/v3/public/timepath returns 404, so clock sync was broken.Changelog
GET /api/v3/cfd/trade/history-order: requestcursor(lastorderIdfrom page 2 on) andpageNo. First page may return more rows thanlimit.getOpenInterestHistory-GET /api/v3/market/open-interest-history(symbol,period5m..1d).getInterestRateHistory-GET /api/v3/market/interest-rate-history. VIP query param islevel(vip0-vip7,pro1-pro6).vipLevelis ignored by the API.limitandcursorwork live.getServerTimereturnsserverTime(ms) andserverTimeMicros.getAnnouncements-GET /api/v3/public/annoucements(Bitget spelling). Live rows usecTimeandannDesc. Docs call the timecreatedTime.getCoins-GET /api/v3/market/coins. Live chains usewithdrawMinScale. The docs example names that fieldwithdrawPrecision.fullName,instrumentType(metal/energy/stock/etf/crypto),marketRegion,isin.symbolTypeis unchanged. Crypto returnsmarketRegionandisinas null.requestTime+receiveWindow([10, 60000]ms). An order that arrives afterrequestTime + receiveWindowis canceled.venue(internalization|lit_market) andrTokenTimeInForce(gtd|gtc, gtc is 90 days).place-reality-ordergets the same optional fields. The 13 Oct changelog describes them for that endpoint. Its parameter table does not list them yet.uid/uidsare not required and are ignored on that call. The master account still must send them.getMaxOpenAvailable:marginMode(crosseddefault,isolated). Isolatedavailableexcludes futures trial funds.side.createStpGroup,getStpGroups,addStpGroupMembers,removeStpGroupMembers.uidsis a comma-separated string, max 50.getRealityOrderBookSegmentedand WS topicreality-orderbook-segmented. Levels are[price, onshoreQty, offshoreQty], up to 50. Whitelist required. Go-live 20 Oct 2026. Pairs that have not finished the matching-engine upgrade do not return data. A crossed book after the upgrade is expected.books1andbooks5.books1andbooks5are full snapshots on every push.booksandbooks50are a snapshot, then incremental updates. rToken:books1pushes at all times.books5/books50/bookspush only outside US market hours. REST orderbook for rToken returns only the BBO during weekday market hours.typeis the official enum from https://www.bitget.com/docs/uta/enum, including Bitget'sMARIN_BUY_DEAL/MARIN_SELL_DEALspelling.Checked, no SDK change:
WsOrderBookDataV3note already said snapshot then incremental. JSDoc now also separatesbooks1/books5(always a snapshot) so that note is not applied to them.balanceOriginalwas already onWsAccountCoinV3and RESTAccountAssetV3(new coin balance, without deducting borrow).dest(on_chain|internal_transfer) andstatus(pending|success|fail) already match Bitget.NetTransferType/TransferStatus. Withdrawaldestmatches. Withdrawalstatusalready matchesWithdrawStatus.Checks
npm run buildnpm run lint(eslint src + apidoc prettier)npm run test:public- 3 suites, 29 tests passed (keyless)