Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Manual Orders... Ninja/TWS in Automaition

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

    Manual Orders... Ninja/TWS in Automaition

    When using an automated strategy... How does one pick up manual orders that come from the TWS session as well as the Control Center Orders Tab.

    Is this done in OrderUpdate or PositionChange... Is there a technique or suggestion that can track all orders and the disposition of them...

    Will you please share the steps or conditions that I should expect to see in OrderUpdate..

    1) A New Order -> New Order Accepted -> New Order ? etc...

    2) Cancel Order -> Order Accepted -> Order Canceled? etc...

    3) Change Order -> Order Accepted...

    How can I trap your error message that it is to late to change and order because it just executed... The messagebox show disrupts my application!

    #2
    Welcome to our forums, the OnOrderUpdate() would be called for each order state change event -



    There's unfortunately not supported approach to include manual orders in a NinjaScript strategy, it would only 'know' about it's self generated / maintained order and would not cross communicate to other scripts.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    417 views
    0 likes
    Last Post CaptainJack  
    Working...
    X