.contain.py2
.text(v-html='text')
.hr
h3 Market watchers
.text(v-if='!watchers.length')
p You are currently not watching any markets.
table.full.clickable(v-if='watchers.length')
thead
tr
th exchange
th currency
th asset
th started at
th last update
th duration
tbody
tr.clickable(v-for='bluebot in watchers', v-on:click='$router.push({path: `live-bluebots/watcher/${bluebot.id}`})')
td {{ bluebot.watch.exchange }}
td {{ bluebot.watch.currency }}
td {{ bluebot.watch.asset }}
td
template(v-if='bluebot.firstCandle') {{ fmt(bluebot.firstCandle.start) }}
td
template(v-if='bluebot.lastCandle') {{ fmt(bluebot.lastCandle.start) }}
td
template(v-if='bluebot.firstCandle && bluebot.lastCandle') {{ timespan(bluebot.lastCandle.start, bluebot.firstCandle.start) }}
h3 Strat runners
.text(v-if='!stratrunners.length')
p You are currently not running any strategies.
table.full(v-if='stratrunners.length')
thead
tr
th exchange
th currency
th asset
th last update
th duration
th strategy
th profit
tbody
tr.clickable(v-for='bluebot in stratrunners', v-on:click='$router.push({path: `live-bluebots/stratrunner/${bluebot.id}`})')
td {{ bluebot.watch.exchange }}
td {{ bluebot.watch.currency }}
td {{ bluebot.watch.asset }}
td
template(v-if='bluebot.lastCandle') {{ fmt(bluebot.lastCandle.start) }}
td
template(v-if='bluebot.firstCandle && bluebot.lastCandle') {{ timespan(bluebot.lastCandle.start, bluebot.firstCandle.start) }}
td {{ bluebot.strat.name }}
td
template(v-if='!bluebot.report') 0
template(v-if='bluebot.report') {{ round(bluebot.report.profit) }} {{ bluebot.watch.currency }}
.hr
h2 Start a new live Gekko
router-link.btn--primary(to='/live-bluebots/new') Start a new live Gekko!