Skip to content

Possible to get company names in Chinese? #2582

@cheesecracker

Description

@cheesecracker

Describe bug

I would like to know if it's possible to get the Chinese names and/or native names of companies other than English.

Let's take the ticker "1810.HK" as an example. The following code will produce "XIAOMI-W" as the result:

import yfinance as yf
print(yf.Ticker("1810.HK").info['longName'])

However, if we go to https://hk.finance.yahoo.com/ and check out 1810.HK, we could see that the result is shown as
小米集團-W

I'm wondering if we could tell yfinance to connect to hk.finance.yahoo.com instead of finance.yahoo.com.

Thanks

Simple code that reproduces your problem

import yfinance as yf
print(yf.Ticker("1810.HK").info['longName'])

Debug log from yf.enable_debug_mode()

N/A

Bad data proof

No response

yfinance version

0.2.65

Python version

3.13.6

Operating system

Win 11

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