-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add transfer id and sub account cross margin balances
- Loading branch information
Showing
20 changed files
with
2,683 additions
and
40 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# # SavedAddress | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**currency** | **string** | Currency | [optional] | ||
**chain** | **string** | Chain name | [optional] | ||
**address** | **string** | Address | [optional] | ||
**name** | **string** | Name | [optional] | ||
**tag** | **string** | Tag | [optional] | ||
**verified** | **string** | Whether to pass the verification 0-unverified, 1-verified | [optional] | ||
|
||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# # SubAccountCrossMarginBalance | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**uid** | **string** | User ID | [optional] | ||
**available** | [**\GateApi\Model\SubCrossMarginAccount**](.md) | 账户余额信息 | [optional] | ||
|
||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# # SubCrossMarginAccount | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**user_id** | **int** | User ID of the cross margin account. 0 means that the subaccount has not yet opened a cross margin account | [optional] | ||
**locked** | **bool** | Whether account is locked | [optional] | ||
**balances** | [**map[string,\GateApi\Model\CrossMarginBalance]**](CrossMarginBalance.md) | | [optional] | ||
**total** | **string** | Total account value in USDT, i.e., the sum of all currencies' `(available+freeze)*price*discount` | [optional] | ||
**borrowed** | **string** | Total borrowed value in USDT, i.e., the sum of all currencies' `borrowed*price*discount` | [optional] | ||
**borrowed_net** | **string** | Total borrowed value in USDT * borrowed factor | [optional] | ||
**net** | **string** | Total net assets in USDT | [optional] | ||
**leverage** | **string** | Position leverage | [optional] | ||
**interest** | **string** | Total unpaid interests in USDT, i.e., the sum of all currencies' `interest*price*discount` | [optional] | ||
**risk** | **string** | Risk rate. When it belows 110%, liquidation will be triggered. Calculation formula: `total / (borrowed+interest)` | [optional] | ||
**total_initial_margin** | **string** | Total initial margin | [optional] | ||
**total_margin_balance** | **string** | Total margin balance | [optional] | ||
**total_maintenance_margin** | **string** | Total maintenance margin | [optional] | ||
**total_initial_margin_rate** | **string** | Total initial margin rate | [optional] | ||
**total_maintenance_margin_rate** | **string** | Total maintenance margin rate | [optional] | ||
**total_available_margin** | **string** | Total available margin | [optional] | ||
|
||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# # TransactionID | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**tx_id** | **int** | Order id | [optional] | ||
|
||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) |
Oops, something went wrong.