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.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    26 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, Yesterday, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    191 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,230 views
    0 likes
    Last Post xiinteractive  
    Working...
    X