Hi all,
I'm getting this error while AidoATP is running:
2013-04-25 19:43:07,248 : MtGox High USD :- Last: USD 149.00000 | Bid: USD 145.00000 | Ask: USD 149.00000 | Volume: 170675 | Currency: BTC | TimeStamp: Thu Apr 25 19:10:01 BRT 2013
2013-04-25 19:43:07,249 : MtGox Low USD :- Last: USD 139.10000 | Bid: USD 139.10001 | Ask: USD 140.20000 | Volume: 177262 | Currency: BTC | TimeStamp: Thu Apr 25 19:28:17 BRT 2013
2013-04-25 19:43:07,249 : MtGox Current USD :- Last: USD 142.50000 | Bid: USD 142.50000 | Ask: USD 142.99999 | Volume: 178132 | Currency: BTC | TimeStamp: Thu Apr 25 19:43:07 BRT 2013
Exception in thread "Thread-5" java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1011)
at java.lang.Double.valueOf(Double.java:504)
at org.aido.atp.TrendTradingAgent.(TrendTradingAgent.java:83)
at org.aido.atp.TrendObserver.run(TrendObserver.java:233)
at java.lang.Thread.run(Thread.java:722)
I get this wither in simulation or live modes.
My environment is as follow:
Linux 3.7.10
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (Slackware)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
It is related to number formats conversion. Is it serious and lead to losses?