Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Check for "No Working Orders"

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

    Check for "No Working Orders"

    I am placing orders directly to Ninja from Neoticker strategy over the DLL. I would like to submit orders to Ninja when the market position is flat and when there are no working orders. Iuse the MarketPosition function to determine when I am flat easy enough but how do I go about checking to ensure there are no working orders active? The only solution I see is to inspect the status of each previously submitted order but I assume (and hope) there is an easier way to do this. Please advise.

    Regards,

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    imported post

    Get a list of all order ids via Orders() and then call OrderStatus() on each one.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    118 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    166 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    85 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    130 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    88 views
    0 likes
    Last Post PaulMohn  
    Working...
    X