Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Position

    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

    #2
    Thanks for this suggestion, does make sense. I will put this on our list for future consideration post NT7 production release.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X