feat(v3.0.11): add new endpoints for open interest limit and tax records, update request/response types, and include example scripts - #109
Merged
Conversation
…rds, update request/response types, and include example scripts
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 of Changes
rest-client-v2.ts updates:
Added liqPrice field to FuturesHistoryOrderV2 type (for /api/v2/mix/order/orders-history)
Added isRwa field to FuturesContractConfigV2 type (for /api/v2/mix/market/contracts)
rest-client-v3.ts updates:
Added marginLeverage field to LoanSymbolsV3 type (for /api/v3/ins-loan/symbols)
Updated getCandles comment to note maximum returned entries: 1,000
Added new endpoint getOpenInterestLimit (for /api/v3/account/open-interest-limit)
Created GetOpenInterestLimitRequestV3 request type
Created OpenInterestLimitV3 response type
Added limit_close to status enum in InstrumentV3 type (for /api/v3/market/instruments)
Added new endpoint getTaxRecords (for /api/v3/tax/records)
Created GetTaxRecordsRequestV3 request type
Created TaxRecordV3 response type