Show Trade direction in trae-list

This commit is contained in:
Matthias 2022-02-27 16:30:59 +01:00
parent 27fe412a17
commit b406fe14d4

View File

@ -41,6 +41,10 @@
}} }}
</span> </span>
</template> </template>
<template #cell(trade_id)="row">
{{ row.item.trade_id }}
{{ botApiVersion > 2.0 ? '| ' + (row.item.is_short ? 'Short' : 'Long') : '' }}
</template>
<template #cell(profit)="row"> <template #cell(profit)="row">
<trade-profit :trade="row.item" /> <trade-profit :trade="row.item" />
</template> </template>