mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Add date/timestamp to load_history UI
This commit is contained in:
parent
3ee2f8a340
commit
edc365afc1
|
@ -22,7 +22,11 @@
|
||||||
@click="botStore.activeBot.getBacktestHistoryResult(res)"
|
@click="botStore.activeBot.getBacktestHistoryResult(res)"
|
||||||
>
|
>
|
||||||
<strong>{{ res.strategy }}</strong>
|
<strong>{{ res.strategy }}</strong>
|
||||||
backtested on: {{ timestampms(res.backtest_start_time * 1000) }}
|
backtested on: {{ timestampms(res.backtest_start_time * 1000) }} {{ res.timeframe }}
|
||||||
|
<span v-if="res.backtest_start_ts && res.backtest_end_ts"
|
||||||
|
>{{ timestampToDateString(res.backtest_start_ts * 1000) }} -
|
||||||
|
{{ timestampToDateString(res.backtest_end_ts * 1000) }}</span
|
||||||
|
>
|
||||||
<small>{{ res.filename }}</small>
|
<small>{{ res.filename }}</small>
|
||||||
<InfoBox
|
<InfoBox
|
||||||
v-if="botStore.activeBot.botApiVersion >= 2.32"
|
v-if="botStore.activeBot.botApiVersion >= 2.32"
|
||||||
|
@ -47,7 +51,7 @@
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import MessageBox, { MsgBoxObject } from '@/components/general/MessageBox.vue';
|
import MessageBox, { MsgBoxObject } from '@/components/general/MessageBox.vue';
|
||||||
import { timestampms } from '@/shared/formatters';
|
import { timestampToDateString, timestampms } from '@/shared/formatters';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
import { BacktestHistoryEntry } from '@/types';
|
import { BacktestHistoryEntry } from '@/types';
|
||||||
import InfoBox from '../general/InfoBox.vue';
|
import InfoBox from '../general/InfoBox.vue';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user