找回密码
 注册
搜索
楼主: 5883

[原创] stock symbol list [nyse, amex, sp500, nasdaq]

[复制链接]
发表于 2015-4-5 11:39 PM | 显示全部楼层


You can always find the newest list here:
http://en.wikipedia.org/wiki/List_of_S%26P_500_companies

However, you need to clean it out by copy paste it into a google spreadsheet, then delete the extra columns.
If you know vi editor, then you can use the following command to clean it
:%s/\s\+.\+$//g
回复 鲜花 鸡蛋

使用道具 举报

发表于 2015-4-5 11:46 PM | 显示全部楼层
本帖最后由 ranchgirl 于 2015-4-5 11:48 PM 编辑

If you think writing a program to do it automatically, it may sound a good idea, but actually it is not. The reason is that wiki is changing by different people. The html format changes often, your program may work a few times, then broken, then broken again.

The SP members change very often. You will find out the fact just read that very long page a little carefully.
回复 鲜花 鸡蛋

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|www.hutong9.net

GMT-5, 2024-5-3 08:54 PM , Processed in 0.029605 second(s), 13 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表