will NT7 be able to reconnect to MBTrading after their usual disconnections?? if so,, when can we try NT7?? THANKS.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem Reconnect Mbtrading
Collapse
X
-
Hey Josh,
When MBT disconnects, does NT automatically try and reconnect every 10 seconds, or does it wait for a connection event from the MBT Navigator object?
I have been having a lot of issues with NT / MBT reconnecting. During the MBT Navigator reconnection, the MBT window "Loading account" is present and freezes. The solution at this point is to shut down NT and restart. I spoke with Phil at the MBT SDK forum and he states that the MBT Navigator is suppose to reconnect by itself, and a reconnection should not be done by NT. He (and other people who have created software to integrate with the MBT SDK) had the same "Loading Account" freeze when a reconnect was forced to frequently by the software interfacing with it. I am using the latest MB SDK.
To test this theory I loaded up NT6.5.14, and my own C# application on different computers. In my application I didn't have my code attempt to reconnect at all. The result was that at 6:00 AM EST all 3 applications lost the connection to MB. At 6:01, NT6.5 had the frozen "Loading Accounts' window. My application reconnected without issue.
So, I believe its possible that NT6.5.14 is trying to reconnect automatically too frequently, and too fast between attempts.
Can you look into this please. If you want to setup a custom build of 6.5.14 and have me test it I will. I have multiple computers running 6.5.14 which I can use to test this throughly.
Thank you
Comment
-
mrLogik, the MBT navigator would be able to reconnect, but unfortunately the API limitation is that you have to restart NT and reconnect to MBT manually if you loose the full connection (price and order server) - when you only loose the 'perms' / order connection a NT restart and reconnect should not be needed as it would be picked up.BertrandNinjaTrader Customer Service
Comment
-
Hi Bertrand,
Thanks for the reply.
I'm seeing the perms / order connection lost, not the price and order connection loss. Then the "Loading account" window from the MBT Navigator comes up and freezes. MBTs, as well as the SDK community on states they have seen this issue when a reconnect attempt is forced by the application using the SDK to quickly. The accepted solution on their side was to not try and reconnect at all and let the MBT Navigator do it automatically.
I have tested this "fix" with a test application I wrote and it seems to work.
What is the reconnect rate applied by NT?
Thanks?
Comment
-
You're welcome - not sure where this was stated - we don't control this either, if you loose complete connection a restart and reconnect is needed for the MBT API, if you're loosing part of the connection (perms one) it's attempting to reconnect automatically - I'm using this personally and have not have a 'lock' up in this scenario, just the regular restart and reconnect once a day now (on new MBT Nav), which is unfortunately expected.BertrandNinjaTrader Customer Service
Comment
-
Hi Bertrand,
See post #6 and #8
When you say its attempting to reconnect automatically, do you mean NT or MBT?
I think a better question may be, how does NT handle a disconnect (full and partial) with MBT?
Also, Dierk is referring to a temporary disconnection recovery in this post #5. Can you explain what is done.
The freezing gray window I'm talking about looks like the attached, but stays at "Loading Account List."
Thanks again.Last edited by mrlogik; 12-29-2009, 01:43 PM.
Comment
-
I see - thanks - what I meant was if you loose only the 'perms' server connection it should normally not result in having to manually restart / reconnect things. Dierk refers to setting a backup connection to take over once, the primary connection fully fails - for data this should help for MBT, but not for execution as you would need to be connected to MBT as primary connection still for this to be possible.BertrandNinjaTrader Customer Service
Comment
-
Bertrand,
Thank you for your consistent support.
This morning at 6:00 AM EST both of my test computers lost connection to MBT as expected. At 6:01 AM, both computers attempted to reconnect. One computer reconnected without issue and continued to receive data from MBT. The other computer froze with "Loading Account List." This issue occurs on both computers but inconsistently (sometimes it works, other times it does not).
I emailed MBTrading's .log files to them from both computers to see if they can diagnose the problem.
I'll keep you and everyone else updated.
Thanks
Comment
-
Hey Bertrand,
I read over your post #12.
The two minute reconnection I am referring to is from Kyle and Jason in posts 6/8 of the link i posted. They state that NT will try reconnect for 2 minutes.
I understand what you're staying about losing the "perms" server. It should automatically reconnect. I still continue to have this error even when I only lose the perms server at 6:00 AM EST. Furthermore, at 6:15 AM I lost both the order and perms server. A minute later both reconnected without issue. This is why I feel like something else is going on here.
Question.
MBTrading API has a function to Login into an account, or to Reconnect to an account. Does NT call either of these functions to either connect or reconnect after a connection is established with NT? For example, if any connection is lost, what does NT do?
ThanksLast edited by mrlogik; 01-05-2010, 02:47 PM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by llanqui, Yesterday, 09:59 AM
|
8 responses
27 views
0 likes
|
Last Post
by llanqui
Today, 01:57 PM
|
||
Started by quicksandatl, Today, 01:39 PM
|
1 response
2 views
0 likes
|
Last Post
by quicksandatl
Today, 01:40 PM
|
||
Started by md4866, 05-01-2024, 08:15 PM
|
2 responses
18 views
0 likes
|
Last Post
by md4866
Today, 12:33 PM
|
||
Started by samish18, Today, 12:20 PM
|
0 responses
7 views
0 likes
|
Last Post
by samish18
Today, 12:20 PM
|
||
Started by thread, 04-15-2024, 11:58 PM
|
3 responses
48 views
0 likes
|
Last Post
by Georg1o
Today, 12:05 PM
|
Comment