Skip to content

Commit b559a15

Browse files
committed
add margin auto repay; support transferring to sub user's futures account
1 parent 7fc5a51 commit b559a15

75 files changed

Lines changed: 952 additions & 158 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# gate-api
2+
Welcome to Gate.io API
3+
24
APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
35

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

6-
- API version: 4.19.2
7-
- Package version: 4.19.2
8+
- API version: 4.19.4
9+
- Package version: 4.19.4
810
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
911
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1012

@@ -186,6 +188,8 @@ Class | Method | HTTP request | Description
186188
*MarginApi* | [**list_loan_records**](docs/MarginApi.md#list_loan_records) | **GET** /margin/loan_records | List repayment records of specified loan
187189
*MarginApi* | [**get_loan_record**](docs/MarginApi.md#get_loan_record) | **GET** /margin/loan_records/{loan_record_id} | Get one single loan record
188190
*MarginApi* | [**update_loan_record**](docs/MarginApi.md#update_loan_record) | **PATCH** /margin/loan_records/{loan_record_id} | Modify a loan record
191+
*MarginApi* | [**get_auto_repay_status**](docs/MarginApi.md#get_auto_repay_status) | **GET** /margin/auto_repay | Retrieve user auto repayment setting
192+
*MarginApi* | [**set_auto_repay**](docs/MarginApi.md#set_auto_repay) | **POST** /margin/auto_repay | Update user's auto repayment setting
189193
*SpotApi* | [**list_currencies**](docs/SpotApi.md#list_currencies) | **GET** /spot/currencies | List all currencies' detail
190194
*SpotApi* | [**get_currency**](docs/SpotApi.md#get_currency) | **GET** /spot/currencies/{currency} | Get detail of one particular currency
191195
*SpotApi* | [**list_currency_pairs**](docs/SpotApi.md#list_currency_pairs) | **GET** /spot/currency_pairs | List all currency pairs supported
@@ -219,6 +223,7 @@ Class | Method | HTTP request | Description
219223

220224
## Documentation For Models
221225

226+
- [AutoRepaySetting](docs/AutoRepaySetting.md)
222227
- [BatchOrder](docs/BatchOrder.md)
223228
- [CancelOrder](docs/CancelOrder.md)
224229
- [CancelOrderResult](docs/CancelOrderResult.md)
@@ -253,6 +258,7 @@ Class | Method | HTTP request | Description
253258
- [MarginAccountBook](docs/MarginAccountBook.md)
254259
- [MarginAccountCurrency](docs/MarginAccountCurrency.md)
255260
- [MarginCurrencyPair](docs/MarginCurrencyPair.md)
261+
- [MultiChainAddressItem](docs/MultiChainAddressItem.md)
256262
- [MyFuturesTrade](docs/MyFuturesTrade.md)
257263
- [OpenOrders](docs/OpenOrders.md)
258264
- [Order](docs/Order.md)

docs/AutoRepaySetting.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AutoRepaySetting
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**status** | **str** | Auto repayment status. `on` - enabled, `off` - disabled | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

docs/DepositAddress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**currency** | **str** | Currency detail |
77
**address** | **str** | Deposit address |
8+
**multichain_address** | [**list[MultiChainAddressItem]**](MultiChainAddressItem.md) | | [optional]
89

910
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1011

0 commit comments

Comments
 (0)