Unable to start a Bloomberg session
Your program runs fine on my machine. The few things you should check:
- Are you on a Bloomberg terminal machine? (I assume you are using the desktop version)
- Do you have a Bloomberg session open?
- Is the
bbcom.exe
process running?
Just read the last line of your question: you need to have a Bloomberg account to be able to use their API and retrieve data.