mirror of
https://github.com/freqtrade/frequi.git
synced 2024-09-22 10:31:09 +00:00
33 lines
668 B
Vue
33 lines
668 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<h2>Performance</h2>
|
||
|
<table v-if="performanceStats" class="table table-sm table-hover ">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Pair</th>
|
||
|
<th>Profit</th>
|
||
|
<th>Count</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr v-for="(pair, index) in performanceStats" :key="index">
|
||
|
<td>{{ pair.pair }}</td>
|
||
|
<td>{{ pair.profit }}</td>
|
||
|
<td>{{ pair.count }}</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { mapState } from 'vuex';
|
||
|
|
||
|
export default {
|
||
|
name: 'PerformanceView',
|
||
|
computed: {
|
||
|
...mapState('ftbot', ['performanceStats']),
|
||
|
},
|
||
|
};
|
||
|
</script>
|