diff --git a/static/index.html b/static/index.html index ab00b89f..0b6a46ac 100644 --- a/static/index.html +++ b/static/index.html @@ -2553,7 +2553,9 @@ function renderStrategyTable(strategies) { cell('full_return_pct', retShow, v => v + '%', 'font-bold text-amber-300') + cell('capital_final', capShow, v => '¥' + (v/10000).toFixed(0) + '万') + cell('cagr_pct', cagrShow, v => v + '%', hl(cagrShow, best.cagr_pct)) + - cell('total_trades', tradesShow, v => (v > 999 ? Math.round(v/1000) + 'k' : v), '', false) + + (st.portfolio && st.portfolio.positions_taken != null + ? '' + st.portfolio.positions_taken + (tradesShow != null && tradesShow !== st.portfolio.positions_taken ? ' /' + (tradesShow > 999 ? Math.round(tradesShow/1000) + 'k' : tradesShow) + '' : '') + '' + : cell('total_trades', tradesShow, v => (v > 999 ? Math.round(v/1000) + 'k' : v), '', false)) + cell('avg_hold_days', holdShow, v => v + 'd') + cell('win_rate', wrShow, v => v + '%', (isOverall ? hl(wrShow, best.win_rate) : (wrShow >= 50 ? 'text-green-400' : 'text-red-400'))) + cell('avg_profit_pct', pnlShow, v => v + '%', (pnlShow || 0) >= 0 ? 'text-green-400' : 'text-red-400') +