Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Test broken connection

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

    Test broken connection

    Hi, for my automated strategies I use Kinetick as data provider (first connection) and TWS from IB as orderconnection (second connection). So my data is coming from Kinetick making the strategy running and code processed. In the code I use unmanged SubmitOrder for sending orders to IB. All works fine. Now I want to test what happens and if the code is functioning fine if the second connection is broken, meaning the SubmitOrder will fail. Do you have any suggestion how to test this, because I can only enable the strategy if the order connection (connection to IB) is functioning well. How can I simulate the broken order connection?

    Kind regards,
    Rene

    #2
    Hello Rene,

    Thank you for your post.

    You can shut down TWS manually, this would cause a disconnection in NinjaTrader.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Tim-c, Today, 02:10 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    2 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    50 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    10 responses
    399 views
    1 like
    Last Post beobast
    by beobast
     
    Started by lorem, Yesterday, 09:18 AM
    5 responses
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X