PDA

View Full Version : Position


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

NinjaTrader_Ray
04-16-2010, 07:17 AM
Thanks for this suggestion, does make sense. I will put this on our list for future consideration post NT7 production release.