摘要
为更好地揣摩大众股民的心理及情感,提出一种基于网络论坛的股市分析方法。根据python实现相应的网络爬虫,利用该爬虫获取网络论坛中的所有帖子,对每日新帖子的数量进行统计分析,针对每个帖子中的文本内容设计分析工具,以进行情感分析,并将这些情感结果进行统计。实验结果表明,通过对比同一时期内的中国股市走势图,该方法能对其进行较为准确的分析。
In order to figure out the emotion of the public shareholders, this paper proposes an Internet-forum-based stock market analysis method. A python-based Web crawler is implemented. All posts on the Intemet forum are downloaded using this crawler, and analyzes the number of new posts daily. The sentimental analysis tool is also designed to judge the posts' sentiment, and the final result is counted. Experimental results show that by comparing Chinese stock's movement in the same period, it can be found that these methods can be used in relatively accurate analysis.
出处
《计算机工程》
CAS
CSCD
2012年第13期254-256,259,共4页
Computer Engineering
基金
国家"973"计划基金资助项目(2011CB302802)
国家自然科学基金资助项目(61021004)
上海市自然科学基金资助项目(10ZR1410000)
关键词
网络爬虫
股市分析
情感分析
网络论坛
Internet crawler
stock market analysis
sentiment analysis
Intemet forum