.contain.roundtrips
h2 Roundtrips
table(v-if='roundtrips.length')
thead
tr
th Entry at (UTC)
th Exit at (UTC)
th Exposure
th Entry balance
th Exit balance
th P&L
th Profit
tr(v-for='rt in roundtrips')
td {{ fmt(rt.entryAt) }}
td {{ fmt(rt.exitAt) }}
td {{ diff(rt.duration) }}
td {{ round(rt.entryBalance) }}
td {{ round(rt.exitBalance) }}
template(v-if="Math.sign(rt.pnl)===-1")
td.loss {{ Math.sign(rt.pnl)*rt.pnl.toFixed(2) }}
td.loss {{ rt.profit.toFixed(2) }}%
template(v-else)
td.profit {{ rt.pnl.toFixed(2) }}
td.profit {{ rt.profit.toFixed(2) }}%
div(v-if='!roundtrips.length')
p Not enough data to display