public void OnEquity(double equity) { if (this.HasPosition) { this.timeSeries_0.Add(this.portfolio_0.framework.Clock.DateTime, this.method_4(this.instrument_0)); } }