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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    154 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    74 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X