aljafp
04-15-2010, 08:37 PM
hi,
IPosition in OnPositionUpdate exposes the Instrument object that is associated with the IPosition. i.e position.Instrument will return Instrument instance
But elsewhere in NinjaScript, users cannot do Position.Instrument or Position[1].Instrument.
I think the Instrument associated with a Position should be consistently made available throughout NinjaScript.
thanks
IPosition in OnPositionUpdate exposes the Instrument object that is associated with the IPosition. i.e position.Instrument will return Instrument instance
But elsewhere in NinjaScript, users cannot do Position.Instrument or Position[1].Instrument.
I think the Instrument associated with a Position should be consistently made available throughout NinjaScript.
thanks