mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-12 19:23:51 +00:00
Show leverage in trade-list on futures bots
This commit is contained in:
parent
3dc3021b08
commit
5e3c6e8966
|
@ -54,6 +54,10 @@
|
||||||
: ''
|
: ''
|
||||||
}}
|
}}
|
||||||
</template>
|
</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">
|
<template #cell(profit)="row">
|
||||||
<trade-profit :trade="row.item" />
|
<trade-profit :trade="row.item" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -148,7 +152,6 @@ const tableFields: Record<string, string | Function>[] = [
|
||||||
{
|
{
|
||||||
key: 'stake_amount',
|
key: 'stake_amount',
|
||||||
label: 'Stake amount',
|
label: 'Stake amount',
|
||||||
formatter: (value: number) => formatPriceWithDecimals(value),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'open_rate',
|
key: 'open_rate',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user