I am trying to use the Bloomberg Python API. As I have no idea how to use the blpapi package even after reading the examples, I am trying to use xbbg package. I tried a few of the basic examples such as :
from xbbg import blp
blp.bdp(tickers='NVDA US Equity', flds=['Security_Name', 'GICS_Sector_Name'])
or
from xbbg import blp
blp.bdp('AAPL US Equity', 'Eqy_Weighted_Avg_Px', VWAP_Dt='20181224')
But I always receive an empty DataFrame, whatever the query is...
Do I have to ask a specific Python API access to my Bloomberg sales referent ? I don't really understand how xbbg connects to my Bloomberg account, I only need to have Bloomberg Terminal launched on my machine ?
Any help would be appreciated.