Show leverage in trade-list on futures bots

This commit is contained in:
Matthias 2023-02-19 17:45:59 +01:00
parent 3dc3021b08
commit 5e3c6e8966

View File

@ -54,6 +54,10 @@
: ''
}}
</template>
<template #cell(stake_amount)="row">
{{ formatPriceWithDecimals(row.item.stake_amount) }}
{{ row.item.trading_mode !== 'spot' ? `(${row.item.leverage}x)` : '' }}
</template>
<template #cell(profit)="row">
<trade-profit :trade="row.item" />
</template>
@ -148,7 +152,6 @@ const tableFields: Record<string, string | Function>[] = [
{
key: 'stake_amount',
label: 'Stake amount',
formatter: (value: number) => formatPriceWithDecimals(value),
},
{
key: 'open_rate',