Repository navigation
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 branch has not been deployed
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 updates from Bitget's 20 Oct and 22 Oct changes: Cash+ earn endpoints, two new GET endpoints, and new fields on place-order, oi-limit, account info, strategy orders and current funding rate. UTA WS place-order and batch-place now send the broker code as top-level
apiCode, matching the RESTX-CHANNEL-API-CODEheader.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,impactMarginNotional; live responses spell the base ratebaselnterestRate(lowercase L), so both are typedquantityMultiplierandquantityPrecision; error 25159 is a 5x cap in a low-liquidity period, with no pre-check API