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 kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    34 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    29 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    37 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    33 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    144 views
    0 likes
    Last Post SalmaTrader  
    Working...
    X