![]() |
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 |
|
Senior Member
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
|
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. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
>> Is there any way to programmatically (either in C# or the ATI) discconect and reconnect a broker connection?
Unfortunately no.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2006
Location: , ,
Posts: 79
Thanks: 0
Thanked 0 times in 0 posts
|
I have a similar issue. You can use ipconfig /release to drop your internet connection and ipconfig/renew to bring it back up.
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2007
Posts: 218
Thanks: 0
Thanked 1 time in 1 post
|
|
|
|
|
|
|
#5 |
|
Member
Join Date: Dec 2006
Location: , ,
Posts: 79
Thanks: 0
Thanked 0 times in 0 posts
|
I just found a great program that will allow you to do anything programmatically that you can do with mouse clicks.
www.ranorex.com |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Oct 2009
Location: U.S.& A.
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
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
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |