使用股票从Web搜索中检索公司名称

发布于 2025-02-08 21:48:10 字数 598 浏览 3 评论 0原文

我有3000多个签名列表,我想获得各自的公司名称。我找不到使用彭博数据库找到这些名称。

我在Google上手动检查了其中的几个,发现Google搜索中的第一个网页当我输入美国的股票时,它的名称是彭博社的名字。例如,当我搜索“ 0000284D US权益”时,第一页是 https:/https:// /www.bloomberg.com/profile/company/0000284d:us 。对于基于“ 010520 ks股票”之类的非美国股票,显示公司名称的第一页可能是其他的。

我检查了这样的帖子 - - 但找不到相关解决方案。

是否有任何R软件包可以使用股票来帮助从Web搜索获取公司名称?请建议。谢谢。

I have a list of 3000+ tickers for which I would like to get their respective company names. I couldn't find these names using the Bloomberg database.

I manually checked on Google for few of them and found that the first web page in google search that gives the company's name when I enter the US-based tickers is that of Bloomberg. For example, when I searched for "0000284D US Equity", the first page is https://www.bloomberg.com/profile/company/0000284D:US. For non-US based tickers such as "010520 KS Equity", the first page that shows the company's name could be something else.

I checked posts like this one - Finding company name from a ticker in Bloomberg - but couldn't find the relevant solution.

Is there any R package that can help in fetching the company name from web search using the ticker? Please suggest. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

万人眼中万个我 2025-02-15 21:48:11

我找不到R中的软件包,但可以在Python中找到可以提供帮助的软件包。我们可以通过列表中的股票传递,然后将其长名字打印如下。

pip install yfinance
import yfinance as yfin
x = yfin.Ticker("AAPL")
print(x.info['longName'])

I couldn't find a package in R but could find a package in python that can help. We can pass the tickers in a list and then print their long names as below.

pip install yfinance
import yfinance as yfin
x = yfin.Ticker("AAPL")
print(x.info['longName'])
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文