From 759af1f7689e890a39ee1bfdc728dd41c568dd49 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 24 Aug 2020 19:28:46 +0200 Subject: [PATCH] Add cumulative profit chart --- src/components/charts/CumProfitChart.vue | 129 +++++++++++++++++++++++ src/views/Dashboard.vue | 3 + 2 files changed, 132 insertions(+) create mode 100644 src/components/charts/CumProfitChart.vue diff --git a/src/components/charts/CumProfitChart.vue b/src/components/charts/CumProfitChart.vue new file mode 100644 index 00000000..0b41a783 --- /dev/null +++ b/src/components/charts/CumProfitChart.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 31c3baa9..375a057e 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -1,6 +1,7 @@ @@ -11,6 +12,7 @@ import { namespace } from 'vuex-class'; import DailyChart from '@/components/charts/DailyChart.vue'; import HourlyChart from '@/components/charts/HourlyChart.vue'; +import CumProfitChart from '@/components/charts/CumProfitChart.vue'; import { Trade, DailyReturnValue } from '@/store/types'; @@ -20,6 +22,7 @@ const ftbot = namespace('ftbot'); components: { DailyChart, HourlyChart, + CumProfitChart, }, }) export default class Trading extends Vue {