feat(v1.3.2): update version to 1.3.2, add new futures price-triggered order update endpoint - #86
Merged
Conversation
…d order update endpoint
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.
Gate.io API SDK Update - Changelog v4.105.10 to v4.105.28
🆕 New Endpoints
1. Update Futures Price-Triggered Order
updateFuturesPriceTriggeredOrder()PUT /futures/{settle}/price_orders/{order_id}2. Get Account Main Keys
getAccountMainKeys()GET /account/main_keys📝 Type Updates
New Types Added
AccountMainKey- Response interface for main account API keysDepositRecord- Dedicated interface for deposit records with new status valuesUpdateFuturesPriceTriggeredOrderReq- Request parameters for updating price-triggered ordersUpdated Types
WithdrawalRecord- Enhanced status field descriptions with detailed commentsSubmitFuturesTriggeredOrderReq- Madepriceandrulefields required in trigger objectDepositRecord- New status values:BLOCKED,DEP_CREDITED(removedFINAL)CurrencyChain- Documentedis_deposit_disabledfield🔄 Method Updates
Return Type Changes
getDepositRecords()- Now returnsDepositRecord[]instead ofWithdrawalRecord[]Documentation Updates
cancelWithdrawal()- Documentedblock_numberfield in responsegetCurrencyChains()- Added note about low liquidity currenciesgetWithdrawalStatus()- Added note about API limitations for low liquidity tokensgetSpotCurrencyPairs()/getSpotCurrencyPair()- Markedfeefield as deprecatedsubmitFuturesPriceTriggeredOrder()- Documented required fieldssubmitEth2Swap()- Updated terminology (ETH2 → GTETH)getEth2RateHistory()- Updated terminology (ETH2 → GTETH)getUnifiedAccountInfo()- Updated field descriptions forcross_balanceandiso_balance✅ Changes Summary
📋 Breaking Changes
Required Field Updates
SubmitFuturesTriggeredOrderReq.trigger.price- Now required (was optional)SubmitFuturesTriggeredOrderReq.trigger.rule- Now required (was optional)SubmitFuturesTriggeredOrderReq.initial.price- Now required (was optional)Return Type Changes
getDepositRecords()return type changed fromWithdrawalRecord[]toDepositRecord[]🔗 Related Changelog Versions