Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Ui strat runner profit report fix profit value and add percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
julesGoullee authored and askmike committed May 28, 2018
1 parent b5ac7fe commit 28b30bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/vue/src/components/gekko/singleStratrunner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
.grd-row-col-3-6 {{ round(report.balance) }}
.grd-row
.grd-row-col-3-6 Market
.grd-row-col-3-6 {{ round(report.market) }} {{ data.watch.currency }}
.grd-row-col-3-6 {{round(report.market / 100 * report.startPrice)}} {{ data.watch.currency }} ({{ round(report.market) }} %)
.grd-row
.grd-row-col-3-6 Profit
.grd-row-col-3-6 {{ round(report.profit) }} {{ data.watch.currency }}
.grd-row-col-3-6 {{ round(report.profit) }} {{ data.watch.currency }} ({{ round(report.relativeProfit) }} %)
.grd-row
.grd-row-col-3-6 Alpha
.grd-row-col-3-6 {{ round(report.alpha) }} {{ data.watch.currency }}
Expand Down

0 comments on commit 28b30bb

Please sign in to comment.