t}</td>
                                    <td class="${typeClass}">${typeText}</td>
                                    <td>${position.positionAmt ? Math.abs(parseFloat(position.positionAmt)) : 'N/A'}</td>
                                    <td>${displayEntryPrice}</td>
                                    <td>${position.action === 'CLOSE' ? displayExitPrice : 'N/A'}</td>
                                    <td class="${profitClass}">${position.action === 'CLOSE' ? displayProfit : 'N/A'}</td>
            