From 53827fd7329b7357ede06911143f1b5b89e30d1b Mon Sep 17 00:00:00 2001
From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com>
Date: Thu, 19 Nov 2020 12:26:37 +0900
Subject: [PATCH] Balance Prediction & Version update
---
Monitor/Pages/SalesAnalyzer.cshtml | 2 +-
PTMagic/Program.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Monitor/Pages/SalesAnalyzer.cshtml b/Monitor/Pages/SalesAnalyzer.cshtml
index 96ee537..79e99b7 100644
--- a/Monitor/Pages/SalesAnalyzer.cshtml
+++ b/Monitor/Pages/SalesAnalyzer.cshtml
@@ -122,7 +122,7 @@
@{
- double currentTotalBalance = Model.PTData.GetCurrentBalance();
+ double currentTotalBalance = Model.totalCurrentValue;
double estimatedBalance1Month = Math.Round(currentTotalBalance * Math.Pow((1 + (avgDailyGain / 100)), 30.0), 8);
double estimatedBalance3Months = Math.Round(currentTotalBalance * Math.Pow((1 + (avgDailyGain / 100)), 90.0), 8);
double estimatedBalance6Months = Math.Round(currentTotalBalance * Math.Pow((1 + (avgDailyGain / 100)), 180.0), 8);
diff --git a/PTMagic/Program.cs b/PTMagic/Program.cs
index 3eb1a30..76959ac 100644
--- a/PTMagic/Program.cs
+++ b/PTMagic/Program.cs
@@ -6,7 +6,7 @@ using Core.Helper;
using Microsoft.Extensions.DependencyInjection;
-[assembly: AssemblyVersion("2.4.6")]
+[assembly: AssemblyVersion("2.5.1")]
[assembly: AssemblyProduct("PT Magic")]
namespace PTMagic