2020-05-06 04:38:57 +00:00
|
|
|
<template>
|
2022-04-18 17:54:17 +00:00
|
|
|
<div v-if="botStore.activeBot.botState">
|
2020-05-25 18:41:17 +00:00
|
|
|
<p>
|
2022-04-18 17:54:17 +00:00
|
|
|
Running Freqtrade <strong>{{ botStore.activeBot.version }}</strong>
|
2020-05-25 18:41:17 +00:00
|
|
|
</p>
|
2020-05-06 04:38:57 +00:00
|
|
|
<p>
|
|
|
|
Running with
|
2020-05-06 17:38:52 +00:00
|
|
|
<strong>
|
2022-04-18 17:54:17 +00:00
|
|
|
{{ botStore.activeBot.botState.max_open_trades }}x{{
|
|
|
|
botStore.activeBot.botState.stake_amount
|
|
|
|
}}
|
|
|
|
{{ botStore.activeBot.botState.stake_currency }}
|
2020-05-06 17:38:52 +00:00
|
|
|
</strong>
|
2020-05-06 04:38:57 +00:00
|
|
|
on
|
2022-04-18 17:54:17 +00:00
|
|
|
<strong>{{ botStore.activeBot.botState.exchange }}</strong> in
|
|
|
|
<strong>{{ botStore.activeBot.botState.trading_mode || 'spot' }}</strong> markets, with
|
|
|
|
Strategy
|
|
|
|
<strong>{{ botStore.activeBot.botState.strategy }}</strong>
|
2020-05-06 04:38:57 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-04-18 17:54:17 +00:00
|
|
|
Currently <strong>{{ botStore.activeBot.botState.state }}</strong
|
2022-04-08 05:44:28 +00:00
|
|
|
>,
|
2022-04-18 17:54:17 +00:00
|
|
|
<strong
|
|
|
|
>force entry:
|
2022-04-26 20:00:21 +00:00
|
|
|
{{
|
|
|
|
botStore.activeBot.botState.force_entry_enable ||
|
|
|
|
botStore.activeBot.botState.forcebuy_enabled
|
|
|
|
}}</strong
|
2022-04-18 17:54:17 +00:00
|
|
|
>
|
2020-05-06 17:38:52 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-04-18 17:54:17 +00:00
|
|
|
<strong>{{ botStore.activeBot.botState.dry_run ? 'Dry-Run' : 'Live' }}</strong>
|
2020-05-06 04:38:57 +00:00
|
|
|
</p>
|
2022-04-09 06:48:43 +00:00
|
|
|
<hr />
|
|
|
|
<p>
|
2022-04-18 17:54:17 +00:00
|
|
|
Avg Profit {{ formatPercent(botStore.activeBot.profit.profit_all_ratio_mean) }} (∑
|
|
|
|
{{ formatPercent(botStore.activeBot.profit.profit_all_ratio_sum) }}) in
|
|
|
|
{{ botStore.activeBot.profit.trade_count }} Trades, with an average duration of
|
|
|
|
{{ botStore.activeBot.profit.avg_duration }}. Best pair:
|
|
|
|
{{ botStore.activeBot.profit.best_pair }}.
|
2022-04-09 06:48:43 +00:00
|
|
|
</p>
|
2022-04-18 17:54:17 +00:00
|
|
|
<p v-if="botStore.activeBot.profit.first_trade_timestamp">
|
2022-04-09 06:48:43 +00:00
|
|
|
First trade opened:
|
|
|
|
|
2022-04-18 17:54:17 +00:00
|
|
|
<strong
|
|
|
|
><DateTimeTZ :date="botStore.activeBot.profit.first_trade_timestamp" show-timezone
|
|
|
|
/></strong>
|
2022-04-09 06:48:43 +00:00
|
|
|
<br />
|
|
|
|
Last trade opened:
|
2022-04-18 17:54:17 +00:00
|
|
|
<strong
|
|
|
|
><DateTimeTZ :date="botStore.activeBot.profit.latest_trade_timestamp" show-timezone
|
|
|
|
/></strong>
|
2022-04-09 06:48:43 +00:00
|
|
|
</p>
|
2020-05-06 04:38:57 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2020-08-09 13:19:16 +00:00
|
|
|
<script lang="ts">
|
2020-09-02 18:19:09 +00:00
|
|
|
import { formatPercent } from '@/shared/formatters';
|
2021-07-01 18:41:55 +00:00
|
|
|
import DateTimeTZ from '@/components/general/DateTimeTZ.vue';
|
2020-09-02 18:19:09 +00:00
|
|
|
|
2022-04-15 17:57:17 +00:00
|
|
|
import { defineComponent } from '@vue/composition-api';
|
2022-04-18 17:54:17 +00:00
|
|
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
2020-08-09 13:19:16 +00:00
|
|
|
|
2022-04-15 17:57:17 +00:00
|
|
|
export default defineComponent({
|
|
|
|
name: 'BotStatus',
|
|
|
|
components: { DateTimeTZ },
|
|
|
|
setup() {
|
2022-04-18 17:54:17 +00:00
|
|
|
const botStore = useBotStore();
|
2022-04-15 17:57:17 +00:00
|
|
|
return {
|
|
|
|
formatPercent,
|
2022-04-18 17:54:17 +00:00
|
|
|
botStore,
|
2022-04-15 17:57:17 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
});
|
2020-05-06 04:38:57 +00:00
|
|
|
</script>
|