public TradingSettings(TradingSettings source)
 {
     this.MonthStart = source.MonthStart;
     this.Weeks      = source.Weeks;
     if (source.RiskParameters != null)
     {
         this.RiskParameters = new RiskParameters(source.RiskParameters);
     }
 }
 public RiskParameters(RiskParameters source)
 {
     this.Name             = source.Name;
     this.Active           = source.Active;
     this.TpaDailyTarget   = source.TpaDailyTarget;
     this.TpaWeeklyTarget  = source.TpaWeeklyTarget;
     this.TpaMonthlyTarget = source.TpaMonthlyTarget;
     this.MyDailyTarget    = source.MyDailyTarget;
     this.MyWeeklyTarget   = source.MyWeeklyTarget;
     this.MyMonthlyTarget  = source.MyMonthlyTarget;
     this.DailyStop        = source.DailyStop;
     this.WeeklyStop       = source.WeeklyStop;
     this.MonthlyStop      = source.MonthlyStop;
 }