Types in backtestResultView

This commit is contained in:
Matthias 2023-04-06 07:16:57 +02:00
parent 3645f14da1
commit 2d4a8cad93

View File

@ -29,7 +29,7 @@
small
hover
stacked="sm"
:items="backtestResult.exit_reason_summary || backtestResult.sell_reason_summary"
:items="(backtestResult.exit_reason_summary || backtestResult.sell_reason_summary) as unknown as TableItem[]"
:fields="perExitReason"
>
</b-table>
@ -39,7 +39,7 @@
small
hover
stacked="sm"
:items="backtestResult.results_per_pair"
:items="backtestResult.results_per_pair as unknown as TableItem[]"
:fields="perPairFields"
>
</b-table>
@ -68,7 +68,7 @@ import {
formatPrice,
humanizeDurationFromSeconds,
} from '@/shared/formatters';
import { TableField } from 'bootstrap-vue-next';
import { TableField, TableItem } from 'bootstrap-vue-next';
const props = defineProps({
backtestResult: { required: true, type: Object as () => StrategyBacktestResult },