투자분석 레포트 로직 수정

This commit is contained in:
Macbook
2026-06-08 09:10:17 +09:00
parent bb3c14bd59
commit d4f0105b5a
7 changed files with 367 additions and 101 deletions
@@ -57,6 +57,7 @@ export default function BacktestSignalTable({ signals, expanded = false, classNa
<th></th>
<th></th>
<th style={{ textAlign: 'right' }}></th>
<th style={{ textAlign: 'right' }}></th>
<th style={{ textAlign: 'center', width: 50 }}>#</th>
</tr>
</thead>
@@ -73,6 +74,11 @@ export default function BacktestSignalTable({ signals, expanded = false, classNa
<td style={{ textAlign: 'right', fontVariantNumeric: 'tabular-nums', fontWeight: 600 }}>
{Math.round(s.price).toLocaleString()}
</td>
<td style={{ textAlign: 'right', fontVariantNumeric: 'tabular-nums', color: 'var(--text2)' }}>
{s.quantity != null && s.quantity > 0
? s.quantity.toFixed(6).replace(/\.?0+$/, '')
: ''}
</td>
<td style={{ textAlign: 'center', color: 'var(--text3)' }}>{s.barIndex}</td>
</tr>
))}