Show assumed initial capital in balance chart

This commit is contained in:
Matthias 2022-07-21 07:13:18 +02:00
parent 28434d64a3
commit dfc38dff68

View File

@ -25,9 +25,13 @@
<template slot="bottom-row"> <template slot="bottom-row">
<td><strong>Total</strong></td> <td><strong>Total</strong></td>
<td> <td>
<span class="font-italic" title="Increase over initial capital">{{ <span
formatPercent(botStore.activeBot.balance.starting_capital_ratio) class="font-italic"
}}</span> :title="`Increase over initial capital of ${formatCurrency(
botStore.activeBot.balance.starting_capital,
)} ${botStore.activeBot.balance.stake}`"
>{{ formatPercent(botStore.activeBot.balance.starting_capital_ratio) }}</span
>
</td> </td>
<!-- this is a computed prop that adds up all the expenses in the visible rows --> <!-- this is a computed prop that adds up all the expenses in the visible rows -->
<td> <td>