![]() |
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
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2011
Posts: 279
Thanks: 55
Thanked 7 times in 6 posts
|
Hello,
All my strategies have set ConnectionLossHandling = ConnectionLossHandling.KeepRunning; But when the conditions set on options (I attach screenshot) acomplish all strategies stop. I'm doing something wrong? How to completely avoid stopping strategies on connection loss?
Last edited by guillembm; 07-13-2012 at 02:30 AM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
|
Hi guillembm, sorry I don't follow you here - the screenshot does the handling is set to KeepRunning as well, so if connectivity is restored after an interruption the strategies should continue begin enabled / running, is this not what you see on your end?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jun 2011
Posts: 279
Thanks: 55
Thanked 7 times in 6 posts
|
No.
It happend me twice that after several short-recurring connection loss for some minutes all strategies stop. This happens sometimes with IB |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
|
guillembm, can you please email us your logs with an approx. timestamp where this occurred via Help >> Mail to Support so we could review?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jun 2011
Posts: 279
Thanks: 55
Thanked 7 times in 6 posts
|
This won't be necessary.
I checked the log at the time strategies where disabled and I found this line: /13/2012 7:49:41 AM|3|128|Strategy 'FOREX/74157ea36e7e4062914fbe9dc0fa067a' lost price connection more than 10 times in the past 5 minutes and will be disabled. 7/13/2012 7:49:41 AM|1|128|Disabling NinjaScript strategy 'FOREX/74157ea36e7e4062914fbe9dc0fa067a' Although Handling is set to KeepRunning, strategies have been disabled. Is this correct or it may be considered a bug? To temporaly solve this I set impossible-to-reach settings on "Number of restart attempts" while I get a more elegant solution. |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
|
The strategies were kept running in your case, they were only disabled as your connection loss settings triggered here for the connection quality appeared to get worse.
The handling does not signify they won't be ever disabled, but just how the they react to a temporary connection loss experienced by the platform.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jun 2011
Posts: 279
Thanks: 55
Thanked 7 times in 6 posts
|
So, increasing "Number of restart attempts" to an unreachable value should be enough to solve this.
I know this can happen. This is why i have the IB connection as primary and kinetick as secondary backup connection. |
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 973 times in 956 posts
|
That's correct guillembm. You can run higher #'s here to lessen the risk of seeing this happen.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Bertrand for this post: |
|
![]() |
| Tags |
| connectionlosshandling |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Connection Loss Handling | blar58 | Strategy Development | 4 | 12-12-2011 09:47 AM |
| oco handling | claxxical | SuperDOM and other Order Entry Windows | 9 | 11-09-2011 07:12 AM |
| Order Handling | zerosum666 | Automated Trading | 5 | 04-06-2011 12:11 PM |
| Running strategies with connection loss handling set to 'recalculate' causing problem | adamus | Automated Trading | 8 | 03-29-2011 03:01 AM |
| Handling Stop Loss Orders | troy_xp | Strategy Development | 1 | 09-23-2009 05:06 AM |