| {position.stockCode || '-'} |
{position.stockName || '-'} |
{(position.quantity || 0).toLocaleString()} |
¥{(position.avgPrice || 0).toFixed(2)} |
¥{(currentPrice || 0).toFixed(2)}
= 0 ? 'green.500' : 'red.500'}
>
{(change || 0) >= 0 ? '+' : ''}{(changePercent || 0).toFixed(2)}%
|
{formatCurrency(marketValue)} |
= 0 ? 'green.500' : 'red.500'}>
{formatCurrency(profit)}
|
= 0 ? FiTrendingUp : FiTrendingDown}
color={profit >= 0 ? 'green.500' : 'red.500'}
/>
= 0 ? 'green.500' : 'red.500'}>
{(profitPercent || 0).toFixed(2)}%
|
|
);
}).filter(Boolean)}