| STOCK {{ portfolio.stocks.is_short ? 'SHORT' : 'LONG' }} | {{ Math.abs(portfolio.stocks.quantity) }} shares | {{ portfolio.stocks.is_short ? 'Sold' : 'Avg' }} ${{ safeFixed(portfolio.stocks.avg_price) }} → ${{ safeFixed(portfolio.stocks.current_price) }} | {{ portfolio.stocks.pnl >= 0 ? '+' : '' }}${{ safeFixed(portfolio.stocks.pnl) }} {{ portfolio.stocks.pnl >= 0 ? '+' : '' }}{{ safeFixed(portfolio.stocks.pnl_percent) }}% | |
| {{ portfolio.stocks.notes }} | ||||
| {{ opt.option_type.toUpperCase() }} {{ opt.quantity > 0 ? 'LONG' : 'SHORT' }} | {{ Math.abs(opt.quantity) }}x ${{ opt.strike }} | ${{ safeFixed(opt.avg_price) }} → ${{ safeFixed(opt.current_price) }} {{ opt.expiration_date }} | {{ opt.pnl >= 0 ? '+' : '' }}${{ safeFixed(opt.pnl) }} {{ opt.pnl >= 0 ? '+' : '' }}{{ safeFixed(opt.pnl_percent) }}% | |
| {{ opt.notes }} | ||||
| {{ $t('common.date') }} | {{ $t('common.type') }} | {{ $t('trading.instrument') }} | {{ $t('trading.amount_qty') }} | {{ $t('common.price') }} | {{ $t('common.total') }} | P/L |
|---|---|---|---|---|---|---|
| {{ formatTradeDate(trade.timestamp) }} | {{ formatTradeType(trade.type) }} | {{ trade.symbol }} | {{ trade.quantity }} | ${{ safeFixed(trade.price) }} | ${{ formatMoney(trade.total) }} | {{ trade.pnl !== 0 ? (trade.pnl >= 0 ? '+' : '-') + '$' + formatMoney(trade.pnl) : '-' }} |
| {{ $t('common.date') }} | {{ $t('trading.operation') }} | {{ $t('common.description') }} | P/L | {{ $t('common.total') }} |
|---|---|---|---|---|
| {{ formatTradeDate(tx.timestamp) }} | {{ formatCashFlowType(tx.type) }} | {{ tx.notes || '-' }} | {{ tx.pnl !== 0 ? (tx.pnl >= 0 ? '+' : '-') + '$' + formatMoney(tx.pnl) : '-' }} | {{ getCashFlowSign(tx.type) }}${{ formatMoney(tx.total) }} |