feat(v3.1.2): add new broker & index components v3 endpoints #122
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.
V3 UTA Account Updates (rest-client-v3.ts)
Created New Type Files:
src/types/request/v3/broker.ts - Request types for 11 broker endpoints
src/types/response/v3/broker.ts - Response types for 11 broker endpoints
Added 11 New Broker Endpoints:
createBrokerSubAccount() - Create broker sub-account
getBrokerSubAccountList() - Get broker sub-account list
modifyBrokerSubAccount() - Modify broker sub-account
brokerSubWithdrawal() - Withdraw from broker sub-account
getBrokerSubDepositAddress() - Get deposit address for broker sub-account
getBrokerAllSubDepositWithdrawal() - Get sub-account deposit/withdrawal records
getBrokerCommission() - Get broker commission records
createBrokerSubApiKey() - Create API key for broker sub-account
modifyBrokerSubApiKey() - Modify API key for broker sub-account
deleteBrokerSubApiKey() - Delete API key for broker sub-account
getBrokerSubApiKey() - Query API keys for broker sub-account
Added 1 New Market Endpoint:
getIndexComponents() - Get index price components
Updated Trade Endpoints:
Added delegateType field to UnfilledOrderV3 response type
Added delegateType field to HistoryOrderV3 response type