Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ slug: changelog
sidebar_position: 7
---


## 2025-06-17

- 更新获取账户资金接口
- `GET /v1/asset/account` 增加 (frozen_transaction_fees) 返回字段

## 2024-10-09

### SDK 2.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/quote/pull/history-candlestick.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sidebar_position: 10
| ∟ date | string | 否 | 查询日期,格式为 `YYYYMMDD`,例如:20231016,为空时使用标的所在市场的最新交易日 |
| ∟ minute | string | 否 | 查询时间,格式为 `HHMM`,例如:09:35,仅在查询分钟级别 K 线时有效 |
| ∟ count | int32 | 否 | 查询数量,填写范围 `[1,1000]`,为空时默认查询 `10` 条 |
| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中, 盤後,夜盤) |
| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中盤後,夜盤) |

### Protobuf

Expand Down
47 changes: 28 additions & 19 deletions docs/trade/asset/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ print(resp)
"settling_cash": "-276806.51",
"currency": "USD"
}
],
"frozen_transaction_fees": [
{
"currency": "USD",
"frozen_transaction_fee": "6.51"
}
]
}
]
Expand All @@ -108,23 +114,26 @@ print(resp)
<a id="schemaaccountcash_rsp"></a>
<a id="schemaaccountcash_rsp"></a>

| Name | Type | Required | Description |
| -------------------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------ |
| list | object[] | false | 账户资金信息 |
| ∟ total_cash | string | true | 现金总额 |
| ∟ max_finance_amount | string | true | 最大融资金额 |
| ∟ remaining_finance_amount | string | true | 剩余融资金额 |
| Name | Type | Required | Description |
|----------------------------| -------- | -------- |----------------------------------------------------------------------------------------|
| list | object[] | false | 账户资金信息 |
| ∟ total_cash | string | true | 现金总额 |
| ∟ max_finance_amount | string | true | 最大融资金额 |
| ∟ remaining_finance_amount | string | true | 剩余融资金额 |
| ∟ risk_level | string | true | 风控等级 <br/> <br/> <b>可选值:</b><br/> `0` - 安全 <br/> `1` - 中风险<br/> `2` - 预警<br/> `3` - 危险 |
| ∟ margin_call | string | true | 追缴保证金 |
| ∟ net_assets | string | true | 净资产 |
| ∟ init_margin | string | true | 初始保证金 |
| ∟ maintenance_margin | string | true | 维持保证金 |
| ∟ currency | string | true | 币种 |
| ∟ market | string | false | 市场 |
| ∟ buy_power | string | true | 购买力 |
| ∟ cash_infos | object[] | false | 现金详情 |
| ∟∟ withdraw_cash | string | true | 可提现金 |
| ∟∟ available_cash | string | true | 可用现金 |
| ∟∟ frozen_cash | string | true | 冻结现金 |
| ∟∟ settling_cash | string | true | 待结算现金 |
| ∟∟ currency | string | true | 币种 |
| ∟ margin_call | string | true | 追缴保证金 |
| ∟ net_assets | string | true | 净资产 |
| ∟ init_margin | string | true | 初始保证金 |
| ∟ maintenance_margin | string | true | 维持保证金 |
| ∟ currency | string | true | 币种 |
| ∟ market | string | false | 市场 |
| ∟ buy_power | string | true | 购买力 |
| ∟ cash_infos | object[] | false | 现金详情 |
| ∟∟ withdraw_cash | string | true | 可提现金 |
| ∟∟ available_cash | string | true | 可用现金 |
| ∟∟ frozen_cash | string | true | 冻结现金 |
| ∟∟ settling_cash | string | true | 待结算现金 |
| ∟∟ currency | string | true | 币种
| ∟ frozen_transaction_fees | object[] | false | 冻结费用 |
| ∟∟ currency | string | false | 币种 |
| ∟∟ frozen_transaction_fee | string | false | 费用金额 |
4 changes: 4 additions & 0 deletions i18n/en/docusaurus-plugin-content-docs/current/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ title: Changelog
slug: changelog
sidebar_position: 7
---
## 2025-06-17

- Update the interface for Get Account Balance
- `GET /v1/asset/account` Add response field (frozen_transaction_fees)

## 2024-10-09

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ print(resp)
"settling_cash": "-276806.51",
"currency": "USD"
}
],
"frozen_transaction_fees": [
{
"currency": "USD",
"frozen_transaction_fee": "6.51"
}
]
}
]
Expand All @@ -110,7 +116,7 @@ print(resp)
<a id="schemaaccountcash_rsp"></a>

| Name | Type | Required | Description |
| -------------------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------------------------- |
| -------------------------- | -------- | -------- |----------------------------------------------------------------------------------------------------------------------------------|
| list | object[] | false | Account Balance |
| ∟ total_cash | string | true | Total Cash |
| ∟ max_finance_amount | string | true | Maximum Financing Amount |
Expand All @@ -128,3 +134,6 @@ print(resp)
| ∟∟ frozen_cash | string | true | Frozen Cash |
| ∟∟ settling_cash | string | true | Cash to be Settled |
| ∟∟ currency | string | true | Currency |
| ∟ frozen_transaction_fees | object[] | false | frozen fees |
| ∟∟ currency | string | false | currency |
| ∟∟ frozen_transaction_fee | string | false | frozen amount |
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ slug: changelog
sidebar_position: 7
---

## 2025-06-17

- 更新獲取賬戶資金接口
- `GET /v1/asset/account` 增加 (frozen_transaction_fees) 返回字段


## 2024-10-09

### SDK 2.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sidebar_position: 20
| period | int32 | 是 | k 線週期,例如:`1000`,详见 [Period](../objects#period---k-線週期) |
| count | int32 | 是 | 數據數量,例如:`100`<br /><br />**校验规则:** <br />請求數量最大為 `1000` |
| adjust_type | int32 | 是 | 復權類型,例如:`0`,详见 [AdjustType](../objects#adjusttype---k-線復權類型) |
| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中, 盤後,夜盤) |
| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中盤後,夜盤) |

### Protobuf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sidebar_position: 10
| ∟ date | string | 否 | 查詢日期,格式為 `YYYYMMDD`,例如:20231016,為空時使用標的所在市場的最新交易日 |
| ∟ minute | string | 否 | 查詢時間,格式為 `HHMM`,例如:09:35,僅在查詢分鍾級別 k 線時有效 |
| ∟ count | int32 | 否 | 查詢數量,填寫範圍 `[1,1000]`,為空時默認查詢 `10` 條 |
| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中, 盤後,夜盤) |
| trade_session | int32 | 否 | 交易時段,0: 盤中,100: 所有延長時段(盤前,盤中盤後,夜盤) |

### Protobuf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ print(resp)
"settling_cash": "-276806.51",
"currency": "USD"
}
],
"frozen_transaction_fees": [
{
"currency": "USD",
"frozen_transaction_fee": "6.51"
}
]
}
]
Expand Down Expand Up @@ -127,3 +133,6 @@ print(resp)
| ∟∟ frozen_cash | string | true | 凍結現金 |
| ∟∟ settling_cash | string | true | 待結算現金 |
| ∟∟ currency | string | true | 幣種 |
| ∟ frozen_transaction_fees | object[] | false | 凍結費用 |
| ∟∟ currency | string | false | 幣種 |
| ∟∟ frozen_transaction_fee | string | false | 費用金额 |