下载市场的所有股票代码列表 [英] Download all stock symbol list of a market

查看:143
本文介绍了下载市场的所有股票代码列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以某种方式下载指定市场的所有股票代码的列表.

I need to download in some way a list of all stock symbol of specified market.

我在此链接中找到我该怎么办它以某种方式.

I've found in this link ho can I do it someway.

它使用以下链接来检索统计某些参数的库存清单:

It uses following link in order to retrieve stock list that statisfies some parameters:

我已经修改了删除约束的查询

I've modified the query removing contraints

https://www .google.com/finance?q =%5B%28exchange +%3D%3D +%22NASDAQ%22%29%5D

现在我拥有所有库存清单,但在必须浏览的网页中.

Now I have all stock list but in a web page that I must navigate.

是否可以通过某种标准格式(例如xml,json或其他格式)获取完整列表?

Is there a way to obtain the full list in some standard format, like xml, json or whatever?

推荐答案

交易所通常会在其网页上发布最新的证券列表.例如,这些页面提供CSV下载:

Exchanges will usually publish an up-to-date list of securities on their web pages. For example, these pages offer CSV downloads:

  • http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download
  • http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NYSE&render=download
  • http://www.asx.com.au/asx/research/ASXListedCompanies.csv

纳斯达克更新了他们的网站,因此您必须修改URL:

NASDAQ Updated their site, so you will have to modify the URLS:

纳斯达克

AMEX

NYSE

根据您的要求,您可以通过交换自己的代码来创建这些URL的映射.

Depending on your requirement, you could create the map of these URLs by exchange in your own code.

这篇关于下载市场的所有股票代码列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆