diff --git a/Monitor/Pages/_get/DashboardBottom.cshtml b/Monitor/Pages/_get/DashboardBottom.cshtml index 046e4c7..b95bd52 100644 --- a/Monitor/Pages/_get/DashboardBottom.cshtml +++ b/Monitor/Pages/_get/DashboardBottom.cshtml @@ -38,7 +38,7 @@
-

Live TCV Trend +

TCV Trend @if (!Model.TotalCurrentValueLiveChartDataJSON.Equals("")) {
diff --git a/Monitor/Pages/_get/DashboardTop.cshtml b/Monitor/Pages/_get/DashboardTop.cshtml index c0805d1..914f18d 100644 --- a/Monitor/Pages/_get/DashboardTop.cshtml +++ b/Monitor/Pages/_get/DashboardTop.cshtml @@ -221,7 +221,7 @@ @if ( !(sellStrategyText.Contains("WATCHMODE")) && !(sellStrategyText.Contains("PENDING"))) { - double TargetGain = leverageValue * dcaLogEntry.TargetGainValue.Value; + double TargetGain = leverageValue * dcaLogEntry.TargetGainValue.GetValueOrDefault(); @TargetGain.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US"))%
@profitPercentage.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US")) %