|
Strategy, often stops. |
CASPI
|
Post subject: Strategy, often stops. |
Post rating: 0
|
Posted: Sat 23 Feb, 2013, 18:31
|
|
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
|
|
|
|
 |
hyperscalper
|
Post subject: Re: Strategy, often stops. |
Post rating: 1
|
Posted: Mon 25 Feb, 2013, 06:44
|
|
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
|
|
|
|
 |
fprophet
|
Post subject: Re: Strategy, often stops. |
Post rating: 0
|
Posted: Mon 04 Mar, 2013, 04:06
|
|
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
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|