feat(尾盘策略): 触发记录分页与时间筛选、策略列表与表单优化
触发记录: - 成功/失败分 Tab,失败展示失败原因 - 分页与按天时间范围筛选(日历,结束日不超过今天) - 后端 startDate/endDate、Repository 时间范围查询 - 弹窗美化:时间范围卡片、空状态、分页总数;移除订单 ID 列 - 查看触发记录按钮文案改为「订单」 策略列表: - 状态列恢复为 Switch,PC 端放在第一列 - 新增账户列;移除最近触发列 - 文案换行(wordBreak/whiteSpace);时间区间 PC 换行、移动端单行 - 时间区间列宽缩小;移动端 Switch 在底部操作区 - 编辑时账户不可修改;策略名称 placeholder 改为「选填,留空将自动生成」 - 多语言:account、viewTriggers、strategyNamePlaceholder 等 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1412,13 +1412,13 @@
|
||||
"walletTip": "Use a dedicated wallet for tail strategy. Do not use it for manual trading or copy trading to avoid balance/position issues.",
|
||||
"addStrategy": "Add Strategy",
|
||||
"strategyName": "Strategy Name",
|
||||
"account": "Account",
|
||||
"market": "Market",
|
||||
"timeWindow": "Time Window",
|
||||
"priceRange": "Price Range",
|
||||
"amountMode": "Amount Mode",
|
||||
"ratio": "Ratio",
|
||||
"fixed": "Fixed",
|
||||
"recentTrigger": "Last Trigger",
|
||||
"totalRealizedPnl": "Total PnL",
|
||||
"winRate": "Win Rate",
|
||||
"actions": "Actions",
|
||||
@@ -1426,14 +1426,14 @@
|
||||
"enable": "Enable",
|
||||
"disable": "Disable",
|
||||
"delete": "Delete",
|
||||
"viewTriggers": "Trigger Records",
|
||||
"viewTriggers": "Orders",
|
||||
"deleteConfirm": "Delete this strategy?",
|
||||
"fetchFailed": "Failed to fetch list"
|
||||
},
|
||||
"form": {
|
||||
"walletTip": "Use a dedicated wallet to avoid balance or order issues.",
|
||||
"strategyName": "Strategy Name",
|
||||
"strategyNamePlaceholder": "Auto",
|
||||
"strategyNamePlaceholder": "Optional, leave blank to auto-generate",
|
||||
"selectAccount": "Select Account",
|
||||
"selectMarket": "Select Market",
|
||||
"timeWindowStart": "Window Start",
|
||||
@@ -1467,6 +1467,11 @@
|
||||
},
|
||||
"triggerRecords": {
|
||||
"title": "Trigger Records",
|
||||
"timeRange": "Time Range",
|
||||
"startDate": "Start Date",
|
||||
"endDate": "End Date",
|
||||
"successTab": "Success",
|
||||
"failTab": "Failed",
|
||||
"triggerTime": "Time",
|
||||
"market": "Market",
|
||||
"direction": "Direction",
|
||||
@@ -1478,8 +1483,12 @@
|
||||
"status": "Status",
|
||||
"success": "Success",
|
||||
"fail": "Fail",
|
||||
"failReason": "Failure Reason",
|
||||
"realizedPnl": "PnL",
|
||||
"resolved": "Settled"
|
||||
"resolved": "Settled",
|
||||
"emptySuccess": "No success records",
|
||||
"emptyFail": "No failed records",
|
||||
"totalCount": "{count} record(s)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user