|
How can I check why my strategy is failing on remote server while running fine on the local machine with historical test |
astropata
|
Post subject: How can I check why my strategy is failing on remote server while running fine on the local machine with historical test |
Post rating: 0
|
Posted: Wed 05 Sep, 2012, 21:24
|
|
User rating: 0
Joined: Sat 21 Apr, 2012, 20:28 Posts: 12 Location: Ireland, Dublin
|
I have a problem with my strategy. It is running locally fine but it is not running on remote server and as well on the contest. It is stopping after a while and I don't know the reason. How can I check it? The version downloaded now may have a problem with java heap side but I resolved that by lowing down size of my arrays. Now I don't know the reason what the current problem is. I tested it successfully with historical tester on my local server.
|
|
|
|
 |
LinnuxFX
|
Post subject: Re: How can I check why my strategy is failing on remote server while running fine on the local machine with historical test |
Post rating: 0
|
Posted: Wed 05 Sep, 2012, 21:52
|
|
User rating: 3
Joined: Mon 30 May, 2011, 18:51 Posts: 51 Location: Portugal, Aveiro
|
Hello astropata
To see your strategy errors you must login to your account, and then in the platform menu go to: - Portfolio - Strategy Log
There you can see all activity of your strategy.
LinnuxFX
|
|
|
|
 |
astropata
|
Post subject: Re: How can I check why my strategy is failing on remote server while running fine on the local machine with historical test |
Post rating: 0
|
Posted: Wed 05 Sep, 2012, 22:05
|
|
User rating: 0
Joined: Sat 21 Apr, 2012, 20:28 Posts: 12 Location: Ireland, Dublin
|
It ran only for a while. Version 1.0 had a problem with java heap size. I had to waste a second chance on repairing it. Strangely it was running fine with historical tester on my local computer using demo account. I guess I won't be able to upgrade it during the month because of that. I would change the rules that you can upload and try to start as many times you want but you can only have a second running strategy in one month. My strategy great results but it is very complicated. It has over 1000 lines of code. It has many arrays. But it doesn't overload the processor as it calculates data only once every hour. I'm planning to include more of my ideas and expand my strategy up to 2000 lines next month and then up to 5000 at the end of the year. I have ideas for new not discovered (at least I never saw) indicators - statistical ones.
|
|
|
|
 |
astropata
|
Post subject: Re: How can I check why my strategy is failing on remote server while running fine on the local machine with historical test |
Post rating: 0
|
Posted: Wed 05 Sep, 2012, 22:43
|
|
User rating: 0
Joined: Sat 21 Apr, 2012, 20:28 Posts: 12 Location: Ireland, Dublin
|
In historical tester tab there is a 'custom settings' button. I enabled checkbox 'save messages to'. During the next try it created cvs file with this entry: 2012.09.05 19:28:22,Strategy tester: java.lang.OutOfMemoryError: Java heap space So I started to think that my arrays might be too big for the java engine inside the platform. We it probably assigned by default to smaller size than default so the server can handle so many threads.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|