feat(v3.1.10): Add new API endpoints for liquidations, RPI data, and margin statistics - #153
Merged
Merged
Conversation
…tions, RPI data, and margin statistics - Updated package version in package.json and package-lock.json to 3.1.11. - Introduced new API endpoints for retrieving liquidations, RPI symbols, RPI order book, cash dividend records, spot fund flow, spot net flow, margin long short data, margin loan growth, and margin isolated borrow data. - Enhanced the RestClientV3 class with new methods to support the added endpoints. - Updated request and response types to accommodate new functionalities.
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.
New RestClientV3 methods (18)
Account:
getCollateralType() / setCollateralType()
getCustomCollateralCoins() (public)
preSetLeverage()
setMargin()
getMaxWithdrawal()
Market / trading data:
getRpiSymbols() / getRpiOrderBook()
getCashDividendRecords()
getSpotWhaleFlow() / getSpotFundFlow() / getSpotNetFlow()
getMarginLongShort() / getMarginLoanGrowth() / getMarginIsolatedBorrow()
getFuturesActiveBuySell() / getFuturesLongShort() / getFuturesPositionLongShort() / getFuturesAccountLongShort()
Other changes
WsDepthBookDataV2 - seq + optional pseq (checksum removed)
Full request/response types for all of the above
24 new example files + updated docs/endpointFunctionList.md / llms.txt