Skip to content

Commit 2f55851

Browse files
committed
flash swap api; missing fields in futures auto order; wallet sub account balances
1 parent 5770a16 commit 2f55851

35 files changed

Lines changed: 3347 additions & 16 deletions

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ APIv4 provides spot, margin and futures trading operations. There are public API
55

66
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
77

8-
- API version: 4.23.4
9-
- Package version: 4.23.4
8+
- API version: 4.24.0
9+
- Package version: 4.24.0
1010
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1111
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1212

@@ -135,6 +135,11 @@ Class | Method | HTTP request | Description
135135
*DeliveryApi* | [**cancel_price_triggered_delivery_order_list**](docs/DeliveryApi.md#cancel_price_triggered_delivery_order_list) | **DELETE** /delivery/{settle}/price_orders | Cancel all open orders
136136
*DeliveryApi* | [**get_price_triggered_delivery_order**](docs/DeliveryApi.md#get_price_triggered_delivery_order) | **GET** /delivery/{settle}/price_orders/{order_id} | Get a single order
137137
*DeliveryApi* | [**cancel_price_triggered_delivery_order**](docs/DeliveryApi.md#cancel_price_triggered_delivery_order) | **DELETE** /delivery/{settle}/price_orders/{order_id} | Cancel a single order
138+
*FlashSwapApi* | [**list_flash_swap_currencies**](docs/FlashSwapApi.md#list_flash_swap_currencies) | **GET** /flash_swap/currencies | List all supported currencies in flash swap
139+
*FlashSwapApi* | [**list_flash_swap_orders**](docs/FlashSwapApi.md#list_flash_swap_orders) | **GET** /flash_swap/orders | List all flash swap orders
140+
*FlashSwapApi* | [**create_flash_swap_order**](docs/FlashSwapApi.md#create_flash_swap_order) | **POST** /flash_swap/orders | Create a flash swap order
141+
*FlashSwapApi* | [**get_flash_swap_order**](docs/FlashSwapApi.md#get_flash_swap_order) | **GET** /flash_swap/orders/{order_id} | Get a single flash swap order's detail
142+
*FlashSwapApi* | [**preview_flash_swap_order**](docs/FlashSwapApi.md#preview_flash_swap_order) | **POST** /flash_swap/orders/preview | Initiate a flash swap order preview
138143
*FuturesApi* | [**list_futures_contracts**](docs/FuturesApi.md#list_futures_contracts) | **GET** /futures/{settle}/contracts | List all futures contracts
139144
*FuturesApi* | [**get_futures_contract**](docs/FuturesApi.md#get_futures_contract) | **GET** /futures/{settle}/contracts/{contract} | Get a single contract
140145
*FuturesApi* | [**list_futures_order_book**](docs/FuturesApi.md#list_futures_order_book) | **GET** /futures/{settle}/order_book | Futures order book
@@ -144,6 +149,7 @@ Class | Method | HTTP request | Description
144149
*FuturesApi* | [**list_futures_funding_rate_history**](docs/FuturesApi.md#list_futures_funding_rate_history) | **GET** /futures/{settle}/funding_rate | Funding rate history
145150
*FuturesApi* | [**list_futures_insurance_ledger**](docs/FuturesApi.md#list_futures_insurance_ledger) | **GET** /futures/{settle}/insurance | Futures insurance balance history
146151
*FuturesApi* | [**list_contract_stats**](docs/FuturesApi.md#list_contract_stats) | **GET** /futures/{settle}/contract_stats | Futures stats
152+
*FuturesApi* | [**get_index_constituents**](docs/FuturesApi.md#get_index_constituents) | **GET** /futures/{settle}/index_constituents/{index} | Get index constituents
147153
*FuturesApi* | [**list_liquidated_orders**](docs/FuturesApi.md#list_liquidated_orders) | **GET** /futures/{settle}/liq_orders | Retrieve liquidation history
148154
*FuturesApi* | [**list_futures_accounts**](docs/FuturesApi.md#list_futures_accounts) | **GET** /futures/{settle}/accounts | Query futures account
149155
*FuturesApi* | [**list_futures_account_book**](docs/FuturesApi.md#list_futures_account_book) | **GET** /futures/{settle}/account_book | Query account book
@@ -259,6 +265,8 @@ Class | Method | HTTP request | Description
259265
*WalletApi* | [**transfer_with_sub_account**](docs/WalletApi.md#transfer_with_sub_account) | **POST** /wallet/sub_account_transfers | Transfer between main and sub accounts
260266
*WalletApi* | [**list_withdraw_status**](docs/WalletApi.md#list_withdraw_status) | **GET** /wallet/withdraw_status | Retrieve withdrawal status
261267
*WalletApi* | [**list_sub_account_balances**](docs/WalletApi.md#list_sub_account_balances) | **GET** /wallet/sub_account_balances | Retrieve sub account balances
268+
*WalletApi* | [**list_sub_account_margin_balances**](docs/WalletApi.md#list_sub_account_margin_balances) | **GET** /wallet/sub_account_margin_balances | Query sub accounts' margin balances
269+
*WalletApi* | [**list_sub_account_futures_balances**](docs/WalletApi.md#list_sub_account_futures_balances) | **GET** /wallet/sub_account_futures_balances | Query sub accounts' futures account balances
262270
*WalletApi* | [**get_trade_fee**](docs/WalletApi.md#get_trade_fee) | **GET** /wallet/fee | Retrieve personal trading fee
263271
*WalletApi* | [**get_total_balance**](docs/WalletApi.md#get_total_balance) | **GET** /wallet/total_balance | Retrieve user's total balances
264272
*WithdrawalApi* | [**withdraw**](docs/WithdrawalApi.md#withdraw) | **POST** /withdrawals | Withdraw
@@ -289,12 +297,17 @@ Class | Method | HTTP request | Description
289297
- [DeliveryContract](docs/DeliveryContract.md)
290298
- [DeliverySettlement](docs/DeliverySettlement.md)
291299
- [DepositAddress](docs/DepositAddress.md)
300+
- [FlashSwapCurrency](docs/FlashSwapCurrency.md)
301+
- [FlashSwapOrder](docs/FlashSwapOrder.md)
302+
- [FlashSwapOrderPreview](docs/FlashSwapOrderPreview.md)
303+
- [FlashSwapOrderRequest](docs/FlashSwapOrderRequest.md)
292304
- [FundingAccount](docs/FundingAccount.md)
293305
- [FundingBookItem](docs/FundingBookItem.md)
294306
- [FundingRateRecord](docs/FundingRateRecord.md)
295307
- [FuturesAccount](docs/FuturesAccount.md)
296308
- [FuturesAccountBook](docs/FuturesAccountBook.md)
297309
- [FuturesCandlestick](docs/FuturesCandlestick.md)
310+
- [FuturesIndexConstituents](docs/FuturesIndexConstituents.md)
298311
- [FuturesInitialOrder](docs/FuturesInitialOrder.md)
299312
- [FuturesLiquidate](docs/FuturesLiquidate.md)
300313
- [FuturesOrder](docs/FuturesOrder.md)
@@ -305,6 +318,7 @@ Class | Method | HTTP request | Description
305318
- [FuturesPriceTriggeredOrder](docs/FuturesPriceTriggeredOrder.md)
306319
- [FuturesTicker](docs/FuturesTicker.md)
307320
- [FuturesTrade](docs/FuturesTrade.md)
321+
- [IndexConstituent](docs/IndexConstituent.md)
308322
- [InsuranceRecord](docs/InsuranceRecord.md)
309323
- [LedgerRecord](docs/LedgerRecord.md)
310324
- [Loan](docs/Loan.md)
@@ -342,6 +356,8 @@ Class | Method | HTTP request | Description
342356
- [SpotPriceTrigger](docs/SpotPriceTrigger.md)
343357
- [SpotPriceTriggeredOrder](docs/SpotPriceTriggeredOrder.md)
344358
- [SubAccountBalance](docs/SubAccountBalance.md)
359+
- [SubAccountFuturesBalance](docs/SubAccountFuturesBalance.md)
360+
- [SubAccountMarginBalance](docs/SubAccountMarginBalance.md)
345361
- [SubAccountTransfer](docs/SubAccountTransfer.md)
346362
- [Ticker](docs/Ticker.md)
347363
- [TotalBalance](docs/TotalBalance.md)

0 commit comments

Comments
 (0)