• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Test broken connection

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

  • NinjaTrader_PatrickH
    replied
    Hello Rene,

    Thank you for your post.

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

    Leave a comment:


  • Renejm
    started a topic Test broken connection

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by aprendiz, Today, 08:04 AM
1 response
2 views
0 likes
Last Post NinjaTrader_Jesse  
Started by Martin89, Today, 02:09 AM
1 response
8 views
0 likes
Last Post NinjaTrader_PaulH  
Started by tallpaw, Today, 07:20 AM
3 responses
9 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by leodrz, Yesterday, 10:26 PM
2 responses
32 views
1 like
Last Post leodrz
by leodrz
 
Started by Trade95, Yesterday, 05:38 PM
1 response
8 views
0 likes
Last Post NinjaTrader_EricB  
Working...
X