📈 Trading Dashboard
{{ error }}

💰 สถานะสด ({{ (live && live.symbol) || '...' }})

ราคาล่าสุด: {{ live.currentPrice ?? '-' }} · Bid {{ live.bid ?? '-' }} / Offer {{ live.offer ?? '-' }} · อัปเดต {{ live.priceUpdatedAt ? fmtTime(live.priceUpdatedAt) : '-' }}
ราคาปัจจุบัน
{{ live.currentPrice ?? '-' }}
สถานะ
{{ liveSideText }}
ราคาเข้า
{{ live.entryPrice ?? '-' }}
กำไร/ขาดทุน (จุด)
{{ fmtPnl(live.openPnlPoints, 2) }}
กำไร/ขาดทุน (บาท)
{{ fmtPnl(live.openPnlBaht, 0) }}
ยังไม่มีข้อมูลสด (รอรอบเก็บราคาจากบอท)
{{ c.label }}
{{ c.value }} {{ c.unit }}

กำไร / ขาดทุน ต่อวัน

ยังไม่มีข้อมูลในเงื่อนไขนี้

สรุปรายวัน

วันที่ จำนวนเทรด ชนะ แพ้ กำไร (จุด) กำไร (บาท) ค่าธรรมเนียม Net (บาท)
{{ d.date }} {{ d.trades }} {{ d.wins }} {{ d.losses }} {{ fmtPnl(d.pnlPoints, 1) }} {{ fmtPnl(d.pnlBaht, 0) }} {{ d.feeBaht == null ? '-' : d.feeBaht.toFixed(0) }} {{ fmtPnl(d.netPnlBaht, 0) }}

ข้อมูลดิบ · ประวัติการเทรด

ทั้งหมด {{ trades.length }} รายการ
# Product Side เวลาเข้า ราคาเข้า เวลาออก ราคาออก PnL (จุด) PnL (บาท) ค่าธรรมเนียม Net P/L (บาท) สถานะ เหตุผล
{{ t.id }} {{ t.symbol }} {{ t.side === 'LONG' ? '▲ LONG' : '▼ SHORT' }} {{ fmtTime(t.entryTime) }} {{ t.entryPrice }} {{ fmtTime(t.exitTime) }} {{ t.exitPrice ?? '-' }} {{ fmtPnl(t.pnlPoints, 2) }} {{ fmtPnl(t.pnlBaht, 0) }} {{ t.feeBaht == null ? '-' : t.feeBaht.toFixed(0) }} {{ fmtPnl(t.netPnlBaht, 0) }} {{ t.status === 'OPEN' ? 'ยังไม่ปิด' : 'ปิดแล้ว' }} -
ไม่มีข้อมูล

{{ cfg.id ? 'แก้ไข Product' : 'เพิ่ม Product' }}

{{ configMsg }}

รายการ Product

Code ชื่อ บาท / จุด ค่าธรรมเนียม / ขา จัดการ
{{ p.code }} {{ p.name }} {{ p.pointValue }} {{ p.tradeFee }}
ยังไม่มี product