Skip to content

Commit edd91af

Browse files
v4.0.3
Signed-off-by: Dinger <quantdinger@gmail.com>
1 parent 1742f2a commit edd91af

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎backend_api_python/app/openapi/register.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
("/api/market", "Market"),
2222
("/api/market-modules", "Market"),
2323
("/api/ai", "AIChat"),
24+
("/api/account", "Account"),
2425
("/api/strategies", "Strategy"),
2526
("/api/bots", "Strategy"),
2627
("/api/credentials", "Credentials"),

‎backend_api_python/app/openapi/tags.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
INDICATOR = "Indicator"
99
BACKTEST = "Backtest"
1010
STRATEGY = "Strategy"
11+
ACCOUNT = "Account"
1112
COMMUNITY = "Community"
1213
CREDENTIALS = "Credentials"
1314
DASHBOARD = "Dashboard"
@@ -31,6 +32,7 @@
3132
{"name": INDICATOR, "description": "Indicator IDE workspace (Public)"},
3233
{"name": BACKTEST, "description": "Indicator backtesting (Public)"},
3334
{"name": STRATEGY, "description": "Strategy runtime and bots (Internal)"},
35+
{"name": ACCOUNT, "description": "Trading account snapshots and positions (Internal)"},
3436
{"name": COMMUNITY, "description": "Indicator marketplace (Public)"},
3537
{"name": CREDENTIALS, "description": "Exchange credential vault (Internal)"},
3638
{"name": DASHBOARD, "description": "Dashboard aggregates (Internal)"},

‎docs/api/openapi.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ tags:
173173
description: Indicator backtesting (Public)
174174
- name: Strategy
175175
description: Strategy runtime and bots (Internal)
176+
- name: Account
177+
description: Trading account snapshots and positions (Internal)
176178
- name: Community
177179
description: Indicator marketplace (Public)
178180
- name: Credentials
@@ -2501,7 +2503,7 @@ paths:
25012503
$ref: '#/components/schemas/HumanSuccessEnvelope'
25022504
summary: Live swap/spot positions + open orders for a saved credential.
25032505
tags:
2504-
- strategy
2506+
- Account
25052507
operationId: getApiAccountSnapshot
25062508
x-visibility: internal
25072509
/api/account/positions:
@@ -2521,7 +2523,7 @@ paths:
25212523
$ref: '#/components/schemas/HumanSuccessEnvelope'
25222524
summary: L1 account position mirror for Quick Trade / asset views.
25232525
tags:
2524-
- strategy
2526+
- Account
25252527
operationId: getApiAccountPositions
25262528
x-visibility: internal
25272529
/api/strategies/backtest:

0 commit comments

Comments
 (0)