From 8f6ed741fbff20f40852491e4ff5096e7c5eeaa0 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Sun, 17 Mar 2019 16:49:19 +0900 Subject: [PATCH] 24h Trend for Possible Buy --- Monitor/Pages/BuyAnalyzer.cshtml | 1 + Monitor/Pages/_get/BuyList.cshtml | 2 ++ Monitor/Pages/_get/DashboardTop.cshtml | 6 +++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Monitor/Pages/BuyAnalyzer.cshtml b/Monitor/Pages/BuyAnalyzer.cshtml index 71835de..7cc1ad8 100644 --- a/Monitor/Pages/BuyAnalyzer.cshtml +++ b/Monitor/Pages/BuyAnalyzer.cshtml @@ -29,6 +29,7 @@ Market + 24H Trend Buy Strategy BT Value Buy Trigger diff --git a/Monitor/Pages/_get/BuyList.cshtml b/Monitor/Pages/_get/BuyList.cshtml index f6afeac..5793cc9 100644 --- a/Monitor/Pages/_get/BuyList.cshtml +++ b/Monitor/Pages/_get/BuyList.cshtml @@ -32,6 +32,7 @@ buyDisabled = true; } + buyLogEntry.PercChange = @buyLogEntry.PercChange * 100; string currentValueText = Core.ProfitTrailer.StrategyHelper.GetCurrentValueText(buyLogEntry.BuyStrategies, buyLogEntry.BuyStrategy, buyLogEntry.CurrentLowBBValue, buyLogEntry.CurrentValue, true); string triggerValueText = Core.ProfitTrailer.StrategyHelper.GetTriggerValueText(Model.Summary, buyLogEntry.BuyStrategies, buyLogEntry.BuyStrategy, buyLogEntry.BBTrigger, buyLogEntry.TriggerValue, 0, true); @@ -40,6 +41,7 @@ } else { @buyLogEntry.Market } + @buyLogEntry.PercChange.ToString("#,#0.00") @if (buyDisabled) { @Html.Raw(buyStrategyText) } else { diff --git a/Monitor/Pages/_get/DashboardTop.cshtml b/Monitor/Pages/_get/DashboardTop.cshtml index ebea21a..5c88333 100644 --- a/Monitor/Pages/_get/DashboardTop.cshtml +++ b/Monitor/Pages/_get/DashboardTop.cshtml @@ -17,7 +17,8 @@ Market - Buy Strategies + 24H Trend + Buy Strategies Ask Price @@ -43,6 +44,8 @@ if (!Core.ProfitTrailer.StrategyHelper.IsValidStrategy(buyStrategyText, true)) { buyDisabled = true; } + + buyLogEntry.PercChange = @buyLogEntry.PercChange * 100; @if (mps == null || mps.ActiveSingleSettings == null || mps.ActiveSingleSettings.Count == 0) { @@ -50,6 +53,7 @@ } else { @buyLogEntry.Market } + @buyLogEntry.PercChange.ToString("#,#0.00") @if (buyDisabled) { @Html.Raw(buyStrategyText) } else {