NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Connecting

Connecting Support for establishing connections to your broker or market data service provider.

Reply
 
Thread Tools Display Modes
Old 12-02-2008, 10:33 AM   #1
heech
Senior Member
 
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
Default Anyone else seeing connection losses?

Hi,

This isn't really a service request, but am curious if anyone else has seen problems. I'd like to know how to diagnose and prevent.

It looks like this morning NT had lost connection at some point during the night, but it just wasn't aware of it. When I got to the machine, the light on the command center was green. The trace file showed it sending keepalive messages, but the strategy didn't run when the markets opened.

I opened a (new) chart, and then NT went orange/green, showing it lost connection/reconnected. (The logs show it losing connection at the moment I touched the machine.) Most likely, the connection was lost earlier, it just wasn't aware of it.

I'm 99.99% sure it isn't a hardware or network issue. This is running on a monitored, dedicated hosted server almost right next door to TDAmeritrade's API servers (5ms ping).

I've never seen this before... I'm just curious if anyone else had. And more importantly, how I can force NT "detect" a connection loss...? I'm thinking about setting up a QA-type macros that will launch a new random chart at market open every morning, and forcibly refresh the connection.
heech is offline  
Reply With Quote
Old 12-02-2008, 10:38 AM   #2
NinjaTrader_RJ
NinjaTrader Customer Service
 
NinjaTrader_RJ's Avatar
 
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
Default

Quote:
Originally Posted by heech View Post
Hi,

This isn't really a service request, but am curious if anyone else has seen problems. I'd like to know how to diagnose and prevent.

It looks like this morning NT had lost connection at some point during the night, but it just wasn't aware of it. When I got to the machine, the light on the command center was green. The trace file showed it sending keepalive messages, but the strategy didn't run when the markets opened.

I opened a (new) chart, and then NT went orange/green, showing it lost connection/reconnected. (The logs show it losing connection at the moment I touched the machine.) Most likely, the connection was lost earlier, it just wasn't aware of it.

I'm 99.99% sure it isn't a hardware or network issue. This is running on a monitored, dedicated hosted server almost right next door to TDAmeritrade's API servers (5ms ping).

I've never seen this before... I'm just curious if anyone else had. And more importantly, how I can force NT "detect" a connection loss...? I'm thinking about setting up a QA-type macros that will launch a new random chart at market open every morning, and forcibly refresh the connection.

Hello Heech,

Thank you for your post.

Can you make sure you are on the latest version of NinjaTrader, 6.5.1000.7. You can check under Help --> License Key.

If so, please send in your trace and log files by going to Help --> Mail to support. Put attn: Ray Stein in the subject and reference this post. I will have development look into this issue.
NinjaTrader_RJ is offline  
Reply With Quote
Old 12-02-2008, 10:52 AM   #3
heech
Senior Member
 
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by NinjaTrader_RJStein View Post
Hello Heech,

Thank you for your post.

Can you make sure you are on the latest version of NinjaTrader, 6.5.1000.7. You can check under Help --> License Key.

If so, please send in your trace and log files by going to Help --> Mail to support. Put attn: Ray Stein in the subject and reference this post. I will have development look into this issue.
Hi Ray,

I actually already submitted once this morning, when the event happened. I don't mind resubmitting, I just don't want to flood your ticket database unless you say it's okay.

My license starts with 8554-1F28.... if that helps you track down the ticket from this morning. I am executing on 6.5.1000.7.
heech is offline  
Reply With Quote
Old 12-02-2008, 10:56 AM   #4
NinjaTrader_RJ
NinjaTrader Customer Service
 
NinjaTrader_RJ's Avatar
 
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
Default

Thank you for letting me know.

I will let the support representative you are working with continue assisting you. They will take the same steps and send in your files to development. So you do not need to send in a new ticket.
NinjaTrader_RJ is offline  
Reply With Quote
Old 12-02-2008, 11:06 AM   #5
heech
Senior Member
 
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by NinjaTrader_RJStein View Post
Thank you for letting me know.

I will let the support representative you are working with continue assisting you. They will take the same steps and send in your files to development. So you do not need to send in a new ticket.
Well, the response I got back from the representative was pretty dismissive. I don't think he really understood the problem. The exact quote was:

"I do not see anything in your log file that indicates there was any reason for NT to not be "aware" of a disconnection."

I don't know how to parse that sentence. That's why I'm posting here to see if others have had similar problems.

The rep also suggested connection problems, but as I said, I'm 99.99% sure that isn't the issue. I'd appreciate having someone on the development team eyeball the issue.
heech is offline  
Reply With Quote
Old 12-02-2008, 11:13 AM   #6
NinjaTrader_RJ
NinjaTrader Customer Service
 
NinjaTrader_RJ's Avatar
 
Join Date: Jul 2008
Location: Denver, CO, USA
Posts: 1,828
Thanks: 4
Thanked 19 times in 18 posts
Default

Quote:
Originally Posted by heech View Post
Well, the response I got back from the representative was pretty dismissive. I don't think he really understood the problem. The exact quote was:

"I do not see anything in your log file that indicates there was any reason for NT to not be "aware" of a disconnection."

I don't know how to parse that sentence. That's why I'm posting here to see if others have had similar problems.

The rep also suggested connection problems, but as I said, I'm 99.99% sure that isn't the issue. I'd appreciate having someone on the development team eyeball the issue.
Of course, please send me the files using the instructions in post #2 and we can take another look.
NinjaTrader_RJ is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get stop losses or profit targets to execute leemiles Strategy Development 9 11-04-2008 08:56 AM
Stop Losses stefy Strategy Development 2 05-13-2008 07:15 PM
Stop losses lgarcia3 Strategy Development 1 04-12-2008 08:00 AM
Stop losses on Positions from limit orders BenHeaton Strategy Development 5 03-04-2008 11:41 AM
Stop Losses not working? zoltran General Programming 2 11-08-2007 04:00 AM


All times are GMT -6. The time now is 10:14 PM.