3

I am trying to use the Bloomberg API emulator instead of the actual Bloomberg API because as far as I understood you need to have a Bloomberg Terminal in order to use it and the emulator will be good enough for my project as I do not need real data to test it. So I have created a new project and imported the Jar file of the bbg emulator and I am able to run it but I get a runtime numberformatexception. Normally I would debug and fix the exception but since I am using the Jar file I do not know how to fix it. Does anyone have any experience with the bbg emulator with java? All I need is to send and receive basic data. If anyone can give some advice or any links It would be appreciated. I have the bbg api documentation

enter image description here

user815693
  • 516
  • 1
  • 6
  • 12
  • You can open the jar file using winzip/winrar or any similar software. And then using a decompiler you can decompile the class which you see in stacktrace – Crickcoder Nov 17 '13 at 12:15

1 Answers1

2

Your string is wrong in English. It should be 0.722 with a dot, and not a comma. If you change it to use the English notation (dots and not commans in decimal numbers) you wont get that error.

Birb
  • 866
  • 10
  • 23
  • I've had similar problem, how do you change it to the English notation in Eclipse – Kiril Nov 17 '13 at 12:53
  • I have found how to do it. http://stackoverflow.com/questions/4947484/how-to-set-eclipse-console-locale-language – Kiril Nov 17 '13 at 13:16