Skip to content

Commit

Permalink
/v1/asset/account 新增buy_power字段 (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-lft authored May 6, 2024
1 parent f5e3e01 commit 548cd11
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
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
---

## 2024-05-06

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


## 2024-04-29

- 删除 `TSMPCT`, `TSMAMT` 订单类型
Expand Down
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
---
## 2024-05-06

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

## 2024-04-29

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ title: 更新日誌
slug: changelog
sidebar_position: 7
---
## 2024-05-06

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

## 2024-04-29

Expand Down
5 changes: 5 additions & 0 deletions swagger-docs/en/trade/asset/account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ paths:
"net_assets": "24145.90",
"init_margin": "1540.09",
"maintenance_margin": "1540.09",
"buy_power": "1759070.12",
"cash_infos":
[
{
Expand Down Expand Up @@ -122,6 +123,10 @@ definitions:
type: "string"
description: Currency
required: true
buy_power:
type: "string"
description: Buy Power
required: true
cash_infos:
type: "object[]"
description: Cash Details
Expand Down
5 changes: 5 additions & 0 deletions swagger-docs/zh-CN/trade/asset/account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ paths:
"net_assets": "24145.90",
"init_margin": "1540.09",
"maintenance_margin": "1540.09",
"buy_power": "1759070.12",
"cash_infos":
[
{
Expand Down Expand Up @@ -126,6 +127,10 @@ definitions:
type: "string"
description: 市场
required: true
buy_power:
type: "string"
description: 购买力
required: true
cash_infos:
type: "object[]"
description: 现金详情
Expand Down
5 changes: 5 additions & 0 deletions swagger-docs/zh-HK/trade/asset/account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ paths:
"net_assets": "24145.90",
"init_margin": "1540.09",
"maintenance_margin": "1540.09",
"buy_power": "1759070.12",
"cash_infos":
[
{
Expand Down Expand Up @@ -122,6 +123,10 @@ definitions:
type: "string"
description: 幣種
required: true
buy_power:
type: "string"
description: 購買力
required: true
cash_infos:
type: "object[]"
description: 現金詳情
Expand Down

0 comments on commit 548cd11

Please sign in to comment.