mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-27 05:25:17 +00:00
Update code style to prettier3 rules
This commit is contained in:
parent
7e89f66512
commit
86989fac6b
|
@ -29,7 +29,10 @@
|
||||||
small
|
small
|
||||||
hover
|
hover
|
||||||
stacked="sm"
|
stacked="sm"
|
||||||
:items="(backtestResult.exit_reason_summary || backtestResult.sell_reason_summary) as unknown as TableItem[]"
|
:items="
|
||||||
|
(backtestResult.exit_reason_summary ||
|
||||||
|
backtestResult.sell_reason_summary) as unknown as TableItem[]
|
||||||
|
"
|
||||||
:fields="perExitReason"
|
:fields="perExitReason"
|
||||||
>
|
>
|
||||||
</b-table>
|
</b-table>
|
||||||
|
@ -49,9 +52,8 @@
|
||||||
header="Periodic breakdown"
|
header="Periodic breakdown"
|
||||||
class="row mt-2 w-100"
|
class="row mt-2 w-100"
|
||||||
>
|
>
|
||||||
<BacktestResultPeriodBreakdown
|
<BacktestResultPeriodBreakdown :periodic-breakdown="backtestResult.periodic_breakdown">
|
||||||
:periodic-breakdown="backtestResult.periodic_breakdown"
|
</BacktestResultPeriodBreakdown>
|
||||||
></BacktestResultPeriodBreakdown>
|
|
||||||
</b-card>
|
</b-card>
|
||||||
|
|
||||||
<b-card header="Single trades" class="row mt-2 w-100">
|
<b-card header="Single trades" class="row mt-2 w-100">
|
||||||
|
|
|
@ -50,9 +50,8 @@ const exchangeList = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const tradeModesTyped = computed(() => {
|
const tradeModesTyped = computed(() => {
|
||||||
const val = botStore.activeBot.exchangeList.find(
|
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange)
|
||||||
(ex) => ex.name === exchangeModel.value.exchange,
|
?.trade_modes;
|
||||||
)?.trade_modes;
|
|
||||||
return val ?? [];
|
return val ?? [];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user