Add forcebuy status verification

This commit is contained in:
Matthias 2020-05-14 18:12:20 +02:00
parent 7ec54e70b1
commit 0eeaaeb856
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@ export default {
},
methods: {
formatCurrency(value) {
return value.toFixed(5);
return value ? value.toFixed(5) : '';
},
},
};

View File

@ -14,7 +14,8 @@
, with Strategy<strong>{{ botState.strategy }}</strong>
</p>
<p>
Currently <strong>{{ botState.state }}</strong>
Currently <strong>{{ botState.state }}</strong
>, <strong>forcebuy: {{ botState.forcebuy_enabled }}</strong>
</p>
<p>
<strong>{{ botState.dry_run ? 'Dry-Run' : 'Live' }}</strong>