Post subject: Remote server error when running strategy
Post rating: 0
Posted: Sun 08 Jun, 2014, 23:13
User rating: 0
Joined: Tue 28 Aug, 2012, 12:34 Posts: 10 Location: Spain, Barcelona
Hello, I'm trying to run a strategy in demo account. When local run mode, no problems. Howewer, when I start the strategy on remote server, platform shows me an alert with message ("remote server error: null"). It's an infinite loop and I cannot access to Messages tab to see the error description.
I think the error is due to that strategy uses Pearson Correlation. I added the annotation @Library("commons-math3-3.0.jar")
Please, can you help me? I attach the files (java and jfx).
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
hebasto
Post subject: Re: Remote server error when running strategy
Check remote server with an 'empty' strategy. It seems remote server fails to run strategies for which jfx file is greater then 32KiB.
jgravi
Post subject: Re: Remote server error when running strategy
Post rating: 0
Posted: Mon 09 Jun, 2014, 09:34
User rating: 0
Joined: Tue 28 Aug, 2012, 12:34 Posts: 10 Location: Spain, Barcelona
Thank hebasto! If I don't add the external library, the jfx size is 9KB and it works on the remote server. I don't know if the problem is for jfx size or for the external jar? I'm going to test with a smaller jar.