REVERT rogue character-typo fixed nullable error
This commit is contained in:
parent
ccf41b20de
commit
4f77be1f96
|
@ -519,7 +519,7 @@ namespace Core.Main.DataObjects.PTMagicData
|
||||||
public double AverageBuyPrice { get; set; }
|
public double AverageBuyPrice { get; set; }
|
||||||
public double TotalCost { get; set; }
|
public double TotalCost { get; set; }
|
||||||
public double CurrentValue { get; set; }
|
public double CurrentValue { get; set; }
|
||||||
public double TargetGainValue { get; set; }
|
public double? TargetGainValue { get; set; }
|
||||||
public double Amount { get; set; }
|
public double Amount { get; set; }
|
||||||
public double CurrentPrice { get; set; }
|
public double CurrentPrice { get; set; }
|
||||||
public double SellTrigger { get; set; }
|
public double SellTrigger { get; set; }
|
||||||
|
|
|
@ -221,7 +221,7 @@
|
||||||
|
|
||||||
@if ( !(sellStrategyText.Contains("WATCHMODE")) && !(sellStrategyText.Contains("PENDING")))
|
@if ( !(sellStrategyText.Contains("WATCHMODE")) && !(sellStrategyText.Contains("PENDING")))
|
||||||
{
|
{
|
||||||
double TargetGain = leverageValue * dcaLogEntry.TargetGainValue.Value;
|
double TargetGain = leverageValue * dcaLogEntry.TargetGainValue.GetValueOrDefault();
|
||||||
<td>@TargetGain.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US"))%
|
<td>@TargetGain.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US"))%
|
||||||
<br>
|
<br>
|
||||||
<div class="text-autocolor" style="font-size: 1.2em; white-space: nowrap;">@profitPercentage.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US")) %</div>
|
<div class="text-autocolor" style="font-size: 1.2em; white-space: nowrap;">@profitPercentage.ToString("#,#0.00", new System.Globalization.CultureInfo("en-US")) %</div>
|
||||||
|
|
Loading…
Reference in New Issue