alpha-xone / xbbg

An intuitive Bloomberg API
https://xbbg.readthedocs.io/
Apache License 2.0
244 stars 51 forks source link

Some Indexes Aren't Recognized #81

Closed hbfreed closed 1 year ago

hbfreed commented 1 year ago

Hi there, I'm trying to pull some EM Indexes (JPEIDIVR, JCMDCOMP, JGENVUUG), and am having trouble. JPEIDIVR works fine and outputs the expected dataframe, but the other two don't seem to be recognized, so I end up with a dataframe with only JPEIDIVR.

Here's the code I've been using, I'm on version 0.7.7:

from xbbg import blp
import pandas as pd
import numpy as np
df = blp.bdh(
    tickers=['JPEIDIVR Index', 'JCMDCOMP Index', 'JGENVUUG Index'], flds=['px_last'],
    start_date='2018-10-31', end_date='2018-11-30',
    Per = "M"
    )

Thanks a lot,

Sorry if this isn't a good format for submitting an issue, I haven't done it here before.

hbfreed commented 1 year ago

It looks like I just need access to JP Morgan's indexes on Bloomberg.