public void SetContext(ProfitAndLossResultContext context)
 {
 }
 public ProfitAndLossResultContext GetContext()
 {
     ProfitAndLossResultContext context = new ProfitAndLossResultContext();
     context.Key = this.Key;
     context.DailyPnL = ConvertDailyPnLToRowTuple();
     context.CumPnL = this._cumPnL;
     context.StartDate = this.StartDate;
     context.EndDate = this.EndDate;
     context.TotalPnL = this.TotalPnL;
     context.InitInvestAmount = this.InitInvestAmount;
     context.PPM = this.PPM;
     context.AvgPnLPerYear = this.AvgPnLPerYear;
     return context;
 }