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 aa731, Today, 02:54 AM
    0 responses
    4 views
    0 likes
    Last Post aa731
    by aa731
     
    Started by thanajo, 05-04-2021, 02:11 AM
    3 responses
    470 views
    0 likes
    Last Post tradingnasdaqprueba  
    Started by Christopher_R, Today, 12:29 AM
    0 responses
    10 views
    0 likes
    Last Post Christopher_R  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    166 responses
    2,237 views
    0 likes
    Last Post sidlercom80  
    Started by thread, Yesterday, 11:58 PM
    0 responses
    4 views
    0 likes
    Last Post thread
    by thread
     
    Working...
    X