Skip to content

change currency of current data #49

Description

@larryx2000

Can someone tell me how to change currency when I request current data? I can do it using get_historical

sids = ['IBM US Equity']
now = datetime.datetime.now()
sids.get_historical(['CUR_MKT_CAP'],now,now,currency="JPY")

but since I have quite a big number of securities and I'm only interested in current data, I would like to avoid using get_historical. I tried the following

sids.get_attributes(['CUR_MKT_CAP'],currency='JPY')

but it still retrieve the data in USD (i.e. the local currency)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions