![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Connecting Support for establishing connections to your broker or market data service provider. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
My TWS was doing some strange things and their tech dept had me change my login settings directory for TWS 884. It was changed from C:\Jts to C:\Jts2.
Of course now NT won't connect with IB. IB tech said that you should be able to provide me with a configuration change for the auto-login. Can someone help me with this? TIA |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
You can uncheck Auto Login in your account setup. With this unchecked you can open and log-in to TWS and then connect NinjaTrader.
Jessica
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
I turned off auto-login and I'm still getting this message:
"Login failed: IB.Adapter.MessageLoop No connection could be made because the target machine actively refused it" IB told me that I would have to change the current login script on NT's side in order to be able to login. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
There isn't a way for you to change where the auto login points, but the manual log-in should still work.
The error you are receiving means the client ID of zero in your connection is being used by another program as well. Please check all of your connection information and make sure nothing but NInjaTrader is connecting to TWS.
Jessica
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
Can you tell me how to manually login? What steps do I need to go through?
|
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
Just log-in to TWS first with your password and user name.
Then open NinjaTrader and connect by going to FIle--> Connect--> IB.
Jessica
NinjaTrader Customer Service |
|
|
|
|
|
#7 | |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
"Login fialed: IB.Adapter.MessageLoop No connection could be made because the target machine actively refused it." Just tried it again... same message |
|
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
Try deleting the account connection, repairing your database (Tools--> Options--> Misc--> Repair DB), restart NinjaTrader, and re-create the connection.
If this does not resolve the issue please send your IB log-in credentials to support AT ninjatrader DOT com attn Jessica and I will test this further.
Jessica
NinjaTrader Customer Service |
|
|
|
|
|
#9 | |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
However, as an experiment I switched the settings directory back to C:\Jts and I was able to manually connect right away so whatever the issue is with connecting to NT, it is with settings directory set at C:\Jts2. IB says there should be a way around it but it would probably require a different NT connection script. I wish I could just use the C:\Jts but there is some kind of corruption issue I'm guessing with the TWS 884 that is causing random anomolies while TWS 884 is running. I tried to troubleshoot it with IB and cleared out the Java Temp files and that stopped the problem for a couple of hours and then the issues resurfaced again. Very frustrating. ![]() Any other ideas how NT can connect using the settings directory set at C:\Jts2?
Last edited by crazyhorse2393; 08-28-2008 at 11:47 AM.
|
|
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
Please send me a note at support AT ninjatrader DOT com, and we can see if we can get everything to work with the normal TWS settings.
Jessica
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
Just got off the phone with IB again. They think there might be a chance that the TWS 884 version I downloaded off of the NT website this weekend might be corrupt somewhere causing the anomalies. Unfortunately, IB doesn't have a link where I can download an older version of TWS 884. The only thing they could recommend is a complete uninstall of TWS 884 and upgrade to a newer version. Any thoughts?
The older version of TWS 884 that I had worked great. Never had any problems until I downloaded the new one. |
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
I would suggest uninstalling the version you have now, clearing your browser cache and history, and then downloading it from our website once more.
Jessica
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
I just sent you an email.
|
|
|
|
|
|
#14 |
|
Member
Join Date: Aug 2007
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
|
(WOW, I can't belive I spent all day figuring this out!!)
Okay boys and girls, here is the scoop. I did a complete reinstall of everything on my computer this weekend beginning with a format of the hardrive so everything was freshly installed. The newest version of NT and TWS 884 as found on NT's website. Long LONG story short. The newest version of NT and TWS 884 will only play nice so long as the NT auto-logon feature is NOT used. The moment you enable the auto-logon, NT takes over TWS 884 and causes it to do really screwy things. If you enable the auto-logon and screw TWS up the only way to get TWS back to normal is to do a complete uninstall and reinstall. It probably wouldn't hurt to uninstall and reinstall java as well. (which I've done several times today) Moral of the story, manually connect NT to TWS!!! (and I'm going to keep my fingers crossed) |
|
|
|
|
|
#15 |
|
NinjaTrader Customer Service
Join Date: Oct 2007
Posts: 574
Thanks: 0
Thanked 2 times in 1 post
|
Thank you for the update.
The auto log-in on my connection is working as expected, but if you are using different directory settings you will be better off using the manual log-in.
Jessica
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HowTo change location of database directory? | plipa | Installation and Licensing | 4 | 12-02-2010 08:09 AM |
| Changing Workspace directory? | mazachan | General Programming | 1 | 09-07-2007 12:07 AM |
| eSignal / NT Change Target Size Issue | TaoNhan | Automated Trading | 1 | 08-31-2007 09:47 AM |
| 2x PC Platform ATI Connectivity | javatrader | Automated Trading | 7 | 04-07-2007 03:46 AM |
| Dual Connectivity through IB API | whitmark | Connecting | 18 | 07-21-2006 05:56 PM |