투자분석 레포트 로직 수정
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user