Closed RickyLiu-Tarobo closed 1 year ago
xbbg
tries to hide connections and let ppl makes queries directly. In case you need the connection object explicitly, you can use package blp written by Matthew.
Behind the scene, Bloomberg API tries to connect periodically by default. So most of the time it's ok even if you disconnect from time to time.
Got it. Thanks a lot
Hello,
I wonder if there is any function to check connection status and establish the object passing to the further process like using function
bdh
orbds
.I have tried using
blp.conn.connect_bbg()
andblp.conn.bbg_session()
, and it indeed does do the checking purpose and it return the Session object.However, I have no idea how to return an object which can be like a bridge link between Bloomberg API and the local computer and help me do the getting data.
Appreciate!