I’m pretty sure you cannot log in to the terminal programmatically. You can of course pull data in other ways, but it will most likely cost you.I wish to pull data from the BBG terminal using the python API.
I need to progammatically check that I'm logged in to the Terminal, and if I'm not not, I need to get logged in programmatically.
Is this even possible?
Any hint/advice on this is much appreciated.
Thank you.
thank you bearish. this was what i thought but prefered to check with you guys. i wsnt to pull GFS/ECMWF weather forecasts x4 a day. So a quick way to do this would be via the BBG API (modifying code of the pdblp python library). The issue I have though is that my BBG terminal unlogs me automatically overnight. I asked several times over the years to BBG support why, but never got a clear answer).I’m pretty sure you cannot log in to the terminal programmatically. You can of course pull data in other ways, but it will most likely cost you.I wish to pull data from the BBG terminal using the python API.
I need to progammatically check that I'm logged in to the Terminal, and if I'm not not, I need to get logged in programmatically.
Is this even possible?
Any hint/advice on this is much appreciated.
Thank you.
I think the easiest way is to generate (or download) the list of tickers that constitute the curve and use a call like bdh on each ticker with the relevant date(s) and a field like px_last. The active contract object doesn’t seem to have a lot of properties exposed via the API.By chance friends do you know how to get "commodity curves" via the BBG API. E.g. to get the futures curves of Brent I would hit <COA Comdty><CCRV><ENTER> in the Terminal and then I can pick up date(s) for which I want that curve. I want to get that curve programmtically either python or C++. Any point much appreciated, Thank you.
I think the easiest way is to generate (or download) the list of tickers that constitute the curve and use a call like bdh on each ticker with the relevant date(s) and a field like px_last. The active contract object doesn’t seem to have a lot of properties exposed via the API.By chance friends do you know how to get "commodity curves" via the BBG API. E.g. to get the futures curves of Brent I would hit <COA Comdty><CCRV><ENTER> in the Terminal and then I can pick up date(s) for which I want that curve. I want to get that curve programmtically either python or C++. Any point much appreciated, Thank you.