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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    75 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    26 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X