Repository navigation
feat(v3.2.7): UTA Cash+ and 22 Oct fields - #4
Merged
Merged
Conversation
- Add Cash+ subscribe, redeem, positions, and history-orders for master and sub-accounts - Add GET /api/v3/market/margin-loans-all (coin optional) and GET /api/v3/copy/futures/copy-max-transferable - place-order: bboLevel (limit only) and slippageTolerance (market only, default 0.02, range 0.01-0.05) - oi-limit: singlePositionRatio and totalPositionRatio - account/info: traderType - unfilled and history strategy orders: marginMode - current-fund-rate: lastFundingRate, nextFundingRate, baseInterestRate, impactMarginNotional - Live current-fund-rate spells the base rate baselnterestRate - JSDoc: market orders always run as IOC; futures qty must match quantityMultiplier and quantityPrecision; error 25159 is a 5x cap in a low-liquidity period, with no pre-check API Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>
- UTA WS place-order and batch-place send top-level apiCode, default hbnni, matching the REST X-CHANNEL-API-CODE header - A caller apiCode replaces the default and is not copied into args Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>
- Earn response types no longer import EarnCashPlusRecordTypeV3 from the request types Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>
- Remove the WS apiCode payload test and the new public cases for funding rate, margin-loans-all, and oi-limit 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
UTA V3 batch for 20 Oct and 22 Oct. Cash+ earn endpoints, two new GETs, and the field additions on place-order, oi-limit, account info, strategy orders, and current funding rate.
UTA WS
place-orderandbatch-placenow send the broker code as top-levelapiCode.Branched from upstream
master(67dcb80).update19102026(upstream PR sieblyio#176) is already merged.Live
current-fund-ratereturns the base rate asbaselnterestRate(lowercase L).baseInterestRateis also typed for the docs name.Changelog
/api/v3/market/margin-loans-all(coin optional) and GET/api/v3/copy/futures/copy-max-transferablebboLevel(limit only) andslippageTolerance(market only, default 0.02, range 0.01-0.05)singlePositionRatioandtotalPositionRatiotraderTypemarginModelastFundingRate,nextFundingRate,baseInterestRate,impactMarginNotionalbaselnterestRatequantityMultiplierandquantityPrecision; error 25159 is a 5x cap in a low-liquidity period, with no pre-check APIapiCode, defaulthbnni, matching the RESTX-CHANNEL-API-CODEheader. A callerapiCodereplaces the default and is not copied intoargsrecordTypeis declared on the response. The response file no longer imports it from the request typesChecks
npm run lintnpm run build(tsc ESM + CJS)npm run test:publicwas run before the added tests were removedSkipped
side/posSide: still unconfirmed by Bitget. Existingsidefrom 3.2.6 is unchanged.receiveWindow: still unconfirmed. No further change. The 3.2.6 fields stay as they are.WebsocketClientV2.sendWSAPIRequestis a no-op. NoapiCodeto add there.