Bloomberg Anywhere + pdblp or xbbg + not logged in

1.3k views Asked by At

SO,

I am hoping for some clarity on how the Python API works when you are not logged in. I have a Bberg Anywhere account and have some scripts I'd like to run in the morning before I start my day. Do I need to be logged in? If not, do I need to input any username/password credentials to a Sessions object?

Looking for any assistance on this... it would be greatly appreciated.

2

There are 2 answers

2
ytoledano On

BLPAPI does work for a few days after the last login to Bloomberg anywhere. This is specifically so that you can run scripts after your Terminal login expires. I think it's 3 days to cover the case of scripts running over the weekend when you leave for the week on Friday.

Logging into Bloomberg anywhere on another PC or even enabling real time data on a mobile device will cause your scripts to stop working.

0
NikT On

You can't pass just username and password from your code, but you can get around that altogether using Server API ("SAPI"). You would just point your code to the SAPI server. Just run the SAPI function on the terminal for more information. Also https://www.bloomberg.com/professional/product/server-api/