V129 Strategy Stopped by server Due to exception catch Jforex

Had this strategy running remotely on the jforex platform for around 60 days...this morning it was stopped due to an error...error / exception log attached



level date message
INFO 2020-12-07T10:00:11+00:00 Stopping "Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD" strategy at 2020-12-07 10:00:11.183 GMT on the remote server
INFO 2020-12-07T10:00:01+00:00 Strategy  is going to be stopped - due to caught exception from strategy.
ERROR 2020-12-07T10:00:01+00:00 java.lang.NumberFormatException: Infinite or NaN @ jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.round(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:915)
ERROR 2020-12-07T10:00:01+00:00 " at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor$Worker.run(ScienceThreadPoolExecutor.java:926)"
ERROR 2020-12-07T10:00:01+00:00 " at jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.onBar(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:240)"
ERROR 2020-12-07T10:00:01+00:00 " at jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.calculateIndicatorLineValue(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:2039)"
ERROR 2020-12-07T10:00:01+00:00 " at jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.round(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:915)"
ERROR 2020-12-07T10:00:01+00:00 Infinite or NaN: java.lang.NumberFormatException: Infinite or NaN
ERROR 2020-12-07T10:00:01+00:00 java.lang.NumberFormatException: Infinite or NaN @ jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.round(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:915)

Attachments
Strategy 358105 USDJPY.sqx
(373.50 KiB)
Strategy_3_58_105_USDJPY.java
(132.81 KiB)
image-0.png
(48.35 KiB)
strategy-details.csv
(2.04 KiB)
Strategy_3_58_105_USDJPY.jfx
(100.07 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

N
#1

nathan

07.12.2020 11:36

Task created

N
#2

nathan

07.12.2020 11:36

Description changed:

Had this strategy running remotely on the jforex platform for around 60 days...this morning it was stopped due to an error...error / exception log attached


level date message

INFO 2020-12-07T10:00:11+00:00 Stopping "Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD" strategy at 2020-12-07 10:00:11.183 GMT on the remote server

INFO 2020-12-07T10:00:01+00:00 Strategy  is going to be stopped - due to caught exception from strategy.

ERROR 2020-12-07T10:00:01+00:00 java.lang.NumberFormatException: Infinite or NaN @ jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.round(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:915)

ERROR 2020-12-07T10:00:01+00:00 " at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor$Worker.run(ScienceThreadPoolExecutor.java:926)"

ERROR 2020-12-07T10:00:01+00:00 " at jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.onBar(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:240)"

ERROR 2020-12-07T10:00:01+00:00 " at jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.calculateIndicatorLineValue(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:2039)"

ERROR 2020-12-07T10:00:01+00:00 " at jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.round(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:915)"

ERROR 2020-12-07T10:00:01+00:00 Infinite or NaN: java.lang.NumberFormatException: Infinite or NaN

ERROR 2020-12-07T10:00:01+00:00 java.lang.NumberFormatException: Infinite or NaN @ jforex.Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.round(Strategy_3_58_105_USDJPY_Optimization_0_12_563_JCLOUD.java:915)


TT
#3

Tamas

04.01.2021 16:27

Status changed from New to Fixed

Hopefully fixed in the last version of SQX130 + added better logging of error messages

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please