protected internal override void OnInit()
{
this.shortValue = 1;
this.longValue = 1;
this.totalValue = 1;
LongValues.Add(Clock.DateTime, this.longValue);
ShortValues.Add(Clock.DateTime, this.shortValue);
TotalValues.Add(Clock.DateTime, this.totalValue);
base.Subscribe(PortfolioStatisticsType.GrossProfit);
base.Subscribe(PortfolioStatisticsType.GrossLoss);
}