Dukascopy
 
 
Wiki JStore Search Login

Strategy, often stops.
 Post subject: Strategy, often stops. Post rating: 0   New post Posted: Sat 23 Feb, 2013, 18:31 
User avatar

User rating: 2
Joined: Fri 17 Feb, 2012, 17:50
Posts: 18
Location: Turkey, IZMIR
Hello support,

My strategy, often stops. I'm losing days. Rebooting each time. Sometimes it does not work. Please correct the problem.
with all respect


 
 Post subject: Re: Strategy, often stops. Post rating: 1   New post Posted: Mon 25 Feb, 2013, 06:44 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
My guess would be that your Strategy may be throwing exceptions.
You could use try{...}catch(Exception e){...} around all of the callbacks.
Then, the exceptions would not propagate and your Strategy might
continue to run, provided the exceptions weren't critical to its
ongoing processing logic.
HyperScalper


 
 Post subject: Re: Strategy, often stops. Post rating: 0   New post Posted: Mon 04 Mar, 2013, 04:06 
User avatar

User rating: 1
Joined: Fri 14 Sep, 2012, 02:25
Posts: 57
Location: New Zealand, Christchurch
I am getting the same thing - no exceptions - just these messages in the Strategy Log:

INFO 02.03.2013 08:00:05 Stopping "frog_v45" strategy at 2013-03-02 08:00:05.419 GMT on the remote server
INFO 02.03.2013 08:00:05 Strategy "frog_v45.java" is terminated by Max overload period exceeded : 60 seconds

so I think our contest remote slots aren't getting enough resources ...
I have to restart my contest strategy every day.

UPDATE: turns out I had a real beginners mistake in my (rushed) contest strategy -
I had forgotten to put if (period != selectedPeriod) return; at the start of my onBar logic ...
d'oh !!!! seems to be running fine now that I have corrected this


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com