mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Update code style to prettier3 rules
This commit is contained in:
parent
7e89f66512
commit
86989fac6b
|
@ -29,7 +29,10 @@
|
|||
small
|
||||
hover
|
||||
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"
|
||||
>
|
||||
</b-table>
|
||||
|
@ -49,9 +52,8 @@
|
|||
header="Periodic breakdown"
|
||||
class="row mt-2 w-100"
|
||||
>
|
||||
<BacktestResultPeriodBreakdown
|
||||
:periodic-breakdown="backtestResult.periodic_breakdown"
|
||||
></BacktestResultPeriodBreakdown>
|
||||
<BacktestResultPeriodBreakdown :periodic-breakdown="backtestResult.periodic_breakdown">
|
||||
</BacktestResultPeriodBreakdown>
|
||||
</b-card>
|
||||
|
||||
<b-card header="Single trades" class="row mt-2 w-100">
|
||||
|
|
|
@ -50,9 +50,8 @@ const exchangeList = computed(() => {
|
|||
});
|
||||
|
||||
const tradeModesTyped = computed(() => {
|
||||
const val = botStore.activeBot.exchangeList.find(
|
||||
(ex) => ex.name === exchangeModel.value.exchange,
|
||||
)?.trade_modes;
|
||||
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange)
|
||||
?.trade_modes;
|
||||
return val ?? [];
|
||||
});
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
:allow-edit="true"
|
||||
class="d-flex flex-grow-1"
|
||||
@delete="pairlistStore.deleteConfig"
|
||||
@duplicate="(oldName:string,newName:string) => pairlistStore.duplicateConfig(newName)"
|
||||
@new="(name:string) => pairlistStore.newConfig(name)"
|
||||
@rename="(oldName: string, newName:string) => pairlistStore.saveConfig(newName)"
|
||||
@duplicate="(oldName: string, newName: string) => pairlistStore.duplicateConfig(newName)"
|
||||
@new="(name: string) => pairlistStore.newConfig(name)"
|
||||
@rename="(oldName: string, newName: string) => pairlistStore.saveConfig(newName)"
|
||||
>
|
||||
<b-form-select
|
||||
v-model="pairlistStore.configName"
|
||||
|
|
Loading…
Reference in New Issue
Block a user