Use correct percent value

This commit is contained in:
Matthias 2020-09-16 20:28:26 +02:00
parent 24245a3356
commit a9e60a1939
2 changed files with 4 additions and 1 deletions

View File

@ -123,7 +123,7 @@ export default class BacktestResultView extends Vue {
{ key: 'profit_sum', label: 'Cum Profit %', formatter: (value) => formatPercent(value, 2) },
{ key: 'profit_total_abs', label: `Tot Profit ${this.backtestResult.stake_currency}` },
{
key: 'profit_total_pct',
key: 'profit_total',
label: 'Tot Profit %',
formatter: (value) => formatPercent(value, 2),
},

View File

@ -29,6 +29,9 @@ export interface SellReasonResults {
profit_sum: number;
profit_sum_pct: number;
profit_total_abs: number;
/** Total profit as ratio */
profit_total: number;
/** Total profit in percent */
profit_total_pct: number;
trades: number;
wins: number;