bpsmith / tia

Toolkit for integration and analysis
BSD 3-Clause "New" or "Revised" License
404 stars 165 forks source link

Accessing Bloomberg data from API with terminal running on host #19

Open bmpalatiello opened 7 years ago

bmpalatiello commented 7 years ago

I may be taking a shot in the dark here, but I have a Bloomberg terminal running on the host machine, can I create a Docker container to connect to the session on the host so I can download data with the API, more specifically, using tia from within the container?

bpsmith commented 7 years ago

Have a look at the service.py file in my pybbg project. Basically a cheap way to start a server on the Bloomberg machine and then access remotely. Has been a while but should be able to adjust with minimal modifications.

On Feb 18, 2017, at 12:26 AM, Brett notifications@github.com wrote:

I may be taking a shot in the dark here, but I have a Bloomberg terminal running on the host machine, can I create a Docker container to connect to the session on the host so I can download data with the API, more specifically, using tia from within the container?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Cherokeeli commented 5 years ago

do you open the bloomberg client,when you access data from bloomberg api?

vikaskumar30 commented 4 years ago

Hi @bpsmith How to use your service.py script. I have script which runs weekly. This requires bloomberg terminal to be logged on at the time of run. This is not the case several times and hence I am looking for a solution where another user is logged on, during that time at a different machine.

So basically, lets say I have a bloomberg terminal logged on machine B and want to query it for data by running a script on Machine A. Both machines are windows machine. Is this possible via this script. I am assuming Machine B is the host here. If yes, how do I find the hostport for Machine B. Could you provide some detailed steps of how to run that script.

Also is a similar solution feasible for the tia package.

Thanks