diff --git a/frontend/app/paper-v53/page.tsx b/frontend/app/paper-v53/page.tsx
index f9679fb..a81d007 100644
--- a/frontend/app/paper-v53/page.tsx
+++ b/frontend/app/paper-v53/page.tsx
@@ -280,11 +280,13 @@ function TradeHistory() {
| 币种 |
方向 |
- 入场 |
- 出场 |
+ 入场价 |
+ 出场价 |
PnL(R) |
状态 |
分数 |
+ 入场时间 |
+ 出场时间 |
持仓 |
@@ -293,6 +295,7 @@ function TradeHistory() {
const holdMin = t.exit_ts&&t.entry_ts?Math.round((t.exit_ts-t.entry_ts)/60000):0;
const fc = parseFactors(t.score_factors);
const track = fc?.track||(t.symbol==="BTCUSDT"?"BTC":"ALT");
+ const fmtTime = (ms: number) => ms ? new Date(ms).toLocaleString("zh-CN", {hour12:false, month:"2-digit", day:"2-digit", hour:"2-digit", minute:"2-digit"} as any) : "-";
return (
| {t.symbol?.replace("USDT","")}{track} |
@@ -302,6 +305,8 @@ function TradeHistory() {
0?"text-emerald-600":t.pnl_r<0?"text-red-500":"text-slate-500"}`}>{t.pnl_r>0?"+":""}{t.pnl_r?.toFixed(2)} |
{t.status==="tp"?"止盈":t.status==="sl"?"止损":t.status==="sl_be"?"保本":t.status==="timeout"?"超时":t.status==="signal_flip"?"翻转":t.status} |
{t.score} |
+ {fmtTime(t.entry_ts)} |
+ {fmtTime(t.exit_ts)} |
{holdMin}m |
);
diff --git a/frontend/app/paper-v53fast/page.tsx b/frontend/app/paper-v53fast/page.tsx
index 9c65097..2c5a66d 100644
--- a/frontend/app/paper-v53fast/page.tsx
+++ b/frontend/app/paper-v53fast/page.tsx
@@ -280,11 +280,13 @@ function TradeHistory() {
| 币种 |
方向 |
- 入场 |
- 出场 |
+ 入场价 |
+ 出场价 |
PnL(R) |
状态 |
分数 |
+ 入场时间 |
+ 出场时间 |
持仓 |
@@ -293,6 +295,7 @@ function TradeHistory() {
const holdMin = t.exit_ts&&t.entry_ts?Math.round((t.exit_ts-t.entry_ts)/60000):0;
const fc = parseFactors(t.score_factors);
const track = fc?.track||(t.symbol==="BTCUSDT"?"BTC":"ALT");
+ const fmtTime = (ms: number) => ms ? new Date(ms).toLocaleString("zh-CN", {hour12:false, month:"2-digit", day:"2-digit", hour:"2-digit", minute:"2-digit"} as any) : "-";
return (
| {t.symbol?.replace("USDT","")}{track} |
@@ -302,6 +305,8 @@ function TradeHistory() {
0?"text-emerald-600":t.pnl_r<0?"text-red-500":"text-slate-500"}`}>{t.pnl_r>0?"+":""}{t.pnl_r?.toFixed(2)} |
{t.status==="tp"?"止盈":t.status==="sl"?"止损":t.status==="sl_be"?"保本":t.status==="timeout"?"超时":t.status==="signal_flip"?"翻转":t.status} |
{t.score} |
+ {fmtTime(t.entry_ts)} |
+ {fmtTime(t.exit_ts)} |
{holdMin}m |
);