diff --git a/Core/ProfitTrailer/StrategyHelper.cs b/Core/ProfitTrailer/StrategyHelper.cs index f83cca5..f09c064 100644 --- a/Core/ProfitTrailer/StrategyHelper.cs +++ b/Core/ProfitTrailer/StrategyHelper.cs @@ -139,6 +139,8 @@ namespace Core.ProfitTrailer break; case "max cost reached": result = "COST"; + case "rebuy timeout": + result = "TIMEOUT"; break; default: break; diff --git a/Monitor/Pages/_get/DashboardTop.cshtml b/Monitor/Pages/_get/DashboardTop.cshtml index 0bdbbc4..ea54c18 100644 --- a/Monitor/Pages/_get/DashboardTop.cshtml +++ b/Monitor/Pages/_get/DashboardTop.cshtml @@ -93,10 +93,9 @@ Market Value - DCA - Buy Strats - Sell Strats - + + DCA Buy Strats + Sell Strats Profit @@ -162,7 +161,7 @@ @dcaLogEntry.BoughtTimes; } } else { - Disabled! + } @@ -172,23 +171,18 @@ @Html.Raw(buyStrategyText) } @Html.Raw(sellStrategyText) - - @if (isTrailingSellActive) { - - } - - + @if(!@lostValue) { - @dcaLogEntry.ProfitPercent.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US"))% + @dcaLogEntry.ProfitPercent.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US"))%   } else { No Value! } - + }