Commit Latest

This commit is contained in:
2025-07-02 18:24:19 -04:00
parent fb8e7458aa
commit 754113fbdc
21 changed files with 18 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ namespace PortfolioManager.ViewModels
private BollingerBandRenderer bollingerBandRenderer = default;
private bool showInsiderTransactions = true;
private bool showTradeLabels = true;
private bool syncTradeToBand = true;
private bool syncTradeToBand = false;
private bool useLeastSquaresFit = true;
private StopLimits stopLimits = default;
@@ -185,9 +185,9 @@ namespace PortfolioManager.ViewModels
try
{
if (saveParameters.ContainsKey("SyncTradeToBand")) syncTradeToBand = Boolean.Parse((from KeyValuePair<String, String> item in saveParameters where item.Key.Equals("SyncTradeToBand") select item).FirstOrDefault().Value);
else syncTradeToBand = true;
else syncTradeToBand = false;
}
catch (Exception) { syncTradeToBand = true; }
catch (Exception) { syncTradeToBand = false; }
try
{
if (saveParameters.ContainsKey("ShowTradeLabels")) showTradeLabels = Boolean.Parse((from KeyValuePair<String, String> item in saveParameters where item.Key.Equals("ShowTradeLabels") select item).FirstOrDefault().Value);