sales analzyer page charts are all-time
This commit is contained in:
parent
5d47c045f2
commit
829a950777
|
@ -146,6 +146,9 @@ namespace Core.ProfitTrailer
|
|||
case "min/max change perc":
|
||||
result = "MIN/MAX";
|
||||
break;
|
||||
case "buy value below dust":
|
||||
result = "MIN DUST";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace Monitor.Pages
|
|||
if (PTData.SellLog.Count > 0)
|
||||
{
|
||||
MinSellLogDate = PTData.SellLog.OrderBy(sl => sl.SoldDate).First().SoldDate.Date;
|
||||
DateTime graphStartDate = DateTimeNow.DateTime.Date.AddDays(-30);
|
||||
DateTime graphStartDate = DateTimeNow.DateTime.Date.AddDays(-1850);
|
||||
if (MinSellLogDate > graphStartDate) graphStartDate = MinSellLogDate;
|
||||
|
||||
int tradeDayIndex = 0;
|
||||
|
|
Loading…
Reference in New Issue