           }
                            }
                            
                            const row = `
                                <tr>
                                    <td>${position.formattedTime || '未知時間'}</td>
                                    <td class="${actionClass}">${actionText}</td>
                                    <td class="${typeClass}">${typeText}</td>
                                    <td>${position.positionAmt ? Math.abs(parseFloat(position.positionAmt)) : 'N