NinjaTrader Support Forum  
X

Attention!

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


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 08-02-2007, 07:22 PM   #1
Gumphrie
Senior Member
 
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
Default Programming connections

Is there any way to programmatically (either in C# or the ATI) discconect and reconnect a broker connection?

The reason is that I'm having problems with my live data feed coming back once the broker connection comes back after the exchange closes . It usually takes another 2 hours for the live feed to resume if I just leave it (the Ninja log holds no clues, it just says I am connected). But if I manually disconnect/reconnect the live feed comes back straight away. My broker is FB and from experience FB problems don't get resolved quickly, so any help would be appreciated.

It would be tempting to scan the logs and everytime a "ConnectionLost" appears followed by a "Connected" to kick start the disconnect/reconnect utility.
Gumphrie is offline  
Reply With Quote
Old 08-02-2007, 11:11 PM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

>> Is there any way to programmatically (either in C# or the ATI) discconect and reconnect a broker connection?
Unfortunately no.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 08-13-2007, 07:57 PM   #3
Futures_Shark
Member
 
Join Date: Dec 2006
Location: , ,
Posts: 79
Thanks: 0
Thanked 0 times in 0 posts
Default

I have a similar issue. You can use ipconfig /release to drop your internet connection and ipconfig/renew to bring it back up.
Futures_Shark is offline  
Reply With Quote
Old 08-14-2007, 05:13 PM   #4
Gumphrie
Senior Member
 
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Futures_Shark View Post
I have a similar issue. You can use ipconfig /release to drop your internet connection and ipconfig/renew to bring it back up.
Thanks for the suggesstion. Although I'm sure it would work I'm a bit scared to test it as my NT machine is hosted remotely.
Gumphrie is offline  
Reply With Quote
Old 08-16-2007, 10:35 PM   #5
Futures_Shark
Member
 
Join Date: Dec 2006
Location: , ,
Posts: 79
Thanks: 0
Thanked 0 times in 0 posts
Default

I just found a great program that will allow you to do anything programmatically that you can do with mouse clicks.

www.ranorex.com
Futures_Shark is offline  
Reply With Quote
Old 12-11-2009, 03:04 AM   #6
garron
Junior Member
 
Join Date: Oct 2009
Location: U.S.& A.
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
Default IB Ninja Login tripping over itself! Help.

When i hit connect. Ninja seems to login so fast it enters the password into the same line as the username. Whats the fix?
tanx
a.
garron is offline  
Reply With Quote
Old 12-11-2009, 03:09 AM   #7
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

garron, which NinjaTrader and TWS version are you currently using?

We recommend NinjaTrader 6.5.1000.14 in connection with TWS 898.4 as per our guide here -

http://www.ninjatrader.com/webnew/su...ivebrokers.htm
NinjaTrader_Bertrand is online now  
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
NinjaTrader programming services Raditz Indicator Development 4 06-25-2009 05:37 PM
Need Help Programming Custom Indicator from TS to NT stevestrading Indicator Development 4 06-20-2007 04:31 PM
Select Data Provider from two connections? Folls Market Analyzer 1 05-21-2007 12:30 PM
Multiple Connections through MBTrading eudamonia Connecting 1 02-16-2007 06:34 AM
Frequent connections lost to Patsystems Brightstar Connecting 1 06-16-2006 04:15 AM


All times are GMT -6. The time now is 03:16 AM.