CN108268451A - One B shareB affection index construction method and system - Google Patents
One B shareB affection index construction method and system Download PDFInfo
- Publication number
- CN108268451A CN108268451A CN201810204850.1A CN201810204850A CN108268451A CN 108268451 A CN108268451 A CN 108268451A CN 201810204850 A CN201810204850 A CN 201810204850A CN 108268451 A CN108268451 A CN 108268451A
- Authority
- CN
- China
- Prior art keywords
- emotion
- document
- time period
- word
- polarity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Machine Translation (AREA)
Abstract
本发明提供一种股票情感指数构建方法及系统,所述方法包括:S1,根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;S2,根据各所述语句中各词语的情感极性确定各所述语句的情感极性,根据各所述文档中各语句的情感极性确定各所述文档的情感极性;S3,根据各所述文档的情感极性,构建所述目标股票当前时间段的情感指数。本发明构建方法简单,更精确反应人们对目标股票所持有的态度,有助于指导投资者进行风险规避和投资决策。
The present invention provides a method and system for constructing a stock sentiment index. The method includes: S1, dividing each document into sentences according to the punctuation marks in each document related to the target stock issued in the current time period; S2, according to The emotional polarity of each word in each described sentence determines the emotional polarity of each described sentence, determines the emotional polarity of each described document according to the emotional polarity of each sentence in each described document; S3, according to each described document The emotional polarity of the target stock is used to construct the emotional index of the target stock in the current time period. The construction method of the invention is simple, more accurately reflects people's attitudes towards target stocks, and helps guide investors to avoid risks and make investment decisions.
Description
技术领域technical field
本发明属于数据分析技术领域,更具体地,涉及一种股票情感指数构建方法及系统。The invention belongs to the technical field of data analysis, and more specifically relates to a method and system for constructing a stock sentiment index.
背景技术Background technique
对股市具有深刻了解的证券分析人员根据股票行情的发展对未来股市发展方向以及涨跌程度进行预测。投资者可以参考对股市的预测结果进行风险规避和投资决策。因此,预测结果的精确程度对投资的成败具有重要影响。Securities analysts who have a deep understanding of the stock market predict the future development direction of the stock market and the degree of ups and downs based on the development of the stock market. Investors can refer to the forecast results of the stock market to make risk aversion and investment decisions. Therefore, the accuracy of forecasting results has an important impact on the success or failure of investment.
在股票市场中,股票价格的变化与国家的宏观经济发展,法律法规的制定、公司的运营、投资心理和交易技术等都有关联,很难准确预测。证券分析师的预测行为只是基于假定因素为既定前提条件进行预测,其预测只能作为投资者的参考意见。目前通用的股票预测方法一般基于股票开盘价格、收盘价格和交易量等标准化金融数据。近年来,金融学界大量学术研究发现非标准化金融数据,例如投资者关于市场的情感极性波动指数、关于监管层面政策不确定性的相关指数,以及投资者在网络上发表的关于投资的正负言论等,对于解释和分析股票市场的波动起到关键性作用。In the stock market, changes in stock prices are related to the country's macroeconomic development, the formulation of laws and regulations, the company's operations, investment psychology, and trading techniques, which are difficult to predict accurately. The forecasting behavior of securities analysts is only based on assumptions and preconditions, and their forecasts can only be used as reference opinions for investors. The current common stock forecasting methods are generally based on standardized financial data such as stock opening price, closing price and trading volume. In recent years, a large number of academic studies in the field of finance have found non-standardized financial data, such as investors' sentimental polarity volatility index on the market, related indices on regulatory policy uncertainty, and positive and negative investment reports published by investors on the Internet. Speech, etc., play a key role in explaining and analyzing stock market fluctuations.
目前构建非标准化金融数据的方法很少且不精确,因此,亟需构建新的非标准化金融数据用于股票预测。Currently, there are few and imprecise methods for constructing non-standardized financial data. Therefore, there is an urgent need to construct new non-standardized financial data for stock forecasting.
发明内容Contents of the invention
为克服上述目前构建非标准化金融数据的方法很少且不精确的问题或者至少部分地解决上述问题,本发明提供了一种股票情感指数构建方法及系统。In order to overcome the above-mentioned problem of few and inaccurate methods for constructing non-standardized financial data, or at least partially solve the above-mentioned problem, the present invention provides a method and system for constructing a stock sentiment index.
根据本发明的第一方面,提供一种股票情感指数构建方法,包括:According to a first aspect of the present invention, a kind of stock sentiment index construction method is provided, comprising:
S1,根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;S1, according to the punctuation marks in each document related to the target stock released in the current time period, divide each document into sentences;
S2,根据各所述语句中各词语的情感极性确定各所述语句的情感极性,根据各所述文档中各语句的情感极性确定各所述文档的情感极性;S2. Determine the emotional polarity of each of the sentences according to the emotional polarity of each word in each of the sentences, and determine the emotional polarity of each of the documents according to the emotional polarity of each of the sentences in each of the documents;
S3,根据各所述文档的情感极性,构建所述目标股票当前时间段的情感指数。S3. According to the sentiment polarity of each document, construct the sentiment index of the target stock in the current time period.
具体地,所述步骤S2中根据各所述语句中各词语的情感极性确定各所述语句的情感极性具体包括:Specifically, in the step S2, determining the emotional polarity of each of the sentences according to the emotional polarity of each word in each of the sentences specifically includes:
对于任一所述语句,若该语句中积极情感的词语的个数大于该语句中消极情感的词语的个数,则该语句的情感极性为积极情感;For any of the sentences, if the number of words with positive emotion in the sentence is greater than the number of words with negative emotion in the sentence, then the emotional polarity of the sentence is positive emotion;
对于任一所述语句,若该语句中积极情感的词语的个数等于该语句中消极情感的词语的个数,则该语句的情感极性为中性情感;For any of the sentences, if the number of words with positive emotion in the sentence is equal to the number of words with negative emotion in the sentence, then the emotional polarity of the sentence is neutral emotion;
对于任一所述语句,若该语句中积极情感的词语的个数小于该语句中消极情感的词语的个数,则该语句的情感极性为消极情感。For any sentence, if the number of words with positive emotion in the sentence is less than the number of words with negative emotion in the sentence, then the emotion polarity of the sentence is negative emotion.
具体地,所述步骤S2中根据各所述文档中各语句的情感极性确定各所述文档的情感极性具体包括:Specifically, determining the emotional polarity of each of the documents according to the emotional polarity of each sentence in each of the documents in the step S2 specifically includes:
对于任一所述文档,若该文档中积极情感的语句的个数大于该文档中消极情感的语句的个数,则该文档的情感极性为积极情感;For any of the documents, if the number of positive sentiment statements in the document is greater than the number of negative sentiment statements in the document, then the sentiment polarity of the document is positive sentiment;
对于任一所述文档,若该文档中积极情感的语句的个数等于该文档中消极情感的语句的个数,则该文档的情感极性为中性情感;For any of the documents, if the number of sentences with positive sentiment in the document is equal to the number of sentences with negative sentiment in the document, then the sentiment polarity of the document is neutral sentiment;
对于任一所述文档,若该文档中积极情感的语句的个数小于该文档中消极情感的语句的个数,则该文档的情感极性为消极情感。For any document, if the number of sentences with positive sentiment in the document is less than the number of sentences with negative sentiment in the document, then the sentiment polarity of the document is negative sentiment.
具体地,所述步骤S3中通过以下公式构建所述目标股票当前时间段的情感指数:Specifically, in the step S3, the sentiment index of the current time period of the target stock is constructed by the following formula:
其中,St为第t个时间段目标股票的情感指数,为第t个时间段发布的积极情感的文档的个数,为第t个时间段发布的消极情感的文档的个数。Among them, S t is the sentiment index of the target stock in the tth time period, is the number of positive sentiment documents published in the tth time period, The number of documents with negative sentiment published for the tth time period.
具体地,所述步骤S2还包括:Specifically, the step S2 also includes:
对于任一所述词语,若该词语的情感极性为积极情感且该词语的前一个词语为否定词,则将该词语和所述否定词合成为一个词语,合成的词语的情感极性为消极情感;For any of the words, if the emotional polarity of the word is positive emotion and the preceding word of the word is a negative word, then the word and the negative word are combined into a word, and the emotional polarity of the synthetic word is negative emotion;
对于任一所述词语,若该词语的情感极性为消极情感且该词语的前一个词语为否定词,则将该词语和所述否定词合成为一个词语,合成的词语的情感极性为积极情感。For any of the words, if the emotional polarity of the word is negative emotion and the previous word of the word is a negative word, then this word and the negative word are combined into a word, and the emotional polarity of the synthetic word is positive emotion.
具体地,所述步骤S3之后还包括当所述当前时间段为周一时,通过以下公式对所述目标股票当前时间段的情感指数进行调整:Specifically, after the step S3, it also includes when the current time period is Monday, adjusting the sentiment index of the target stock in the current time period by the following formula:
其中,St'为所述目标股票第t个时间段调整后的情感指数,St为所述目标股票第t个时间段调整前的情感指数,St-1为所述目标股票第t-1个时间段调整前的情感指数,St-2为所述目标股票第t-2个时间段调整前的情感指数,a1、a2和a3为常数,a1>a2>a3,λ为预设参数。Wherein, S t ' is the sentiment index after adjustment of the tth time period of the target stock, S t is the sentiment index before the adjustment of the tth time period of the target stock, and S t-1 is the tth time period of the target stock Sentiment index before adjustment in -1 time period, S t-2 is the sentiment index of the target stock before adjustment in the t-2th time period, a 1 , a 2 and a 3 are constants, a 1 >a 2 > a 3 , λ are preset parameters.
具体地,所述步骤S3之后还包括当所述目标股票连续k天休市时,通过以下公式对所述目标股票当前时间段的情感指数进行调整:Specifically, after the step S3, it also includes adjusting the sentiment index of the target stock in the current time period by the following formula when the target stock is closed for k consecutive days:
Sk+1'=e-kλS1+e-(k-1)λS2+…+e-λSk+Sk+1;S k+1 '=e -kλ S 1 +e -(k-1)λ S 2 +...+e -λ S k +S k+1 ;
其中,k表示所述当前时间段的前k个时间段休市,Sk+1'为所述目标股票当前时间段调整后的情感指数,Sk+1为所述目标股票当前时间段调整前的情感指数,S1为所述休市的第一个时间段目标股票的情感指数,S2为所述休市的第二个时间段目标股票的情感指数,Sk为所述休市的第k个时间段目标股票的情感指数,λ为预设参数。Wherein, k represents that the first k time periods of the current time period are closed, S k+1 ' is the adjusted sentiment index of the current time period of the target stock, and S k+1 is before the adjustment of the current time period of the target stock Sentiment index, S 1 is the sentiment index of the target stock in the first time period of the market break, S 2 is the sentiment index of the target stock in the second time period of the market break, S k is the kth of the market break The sentiment index of the target stock in the time period, λ is a preset parameter.
根据本发明的第二方面,提供一种股票情感指数构建系统,包括:According to a second aspect of the present invention, a kind of stock sentiment index construction system is provided, comprising:
划分模块,用于根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;A division module, configured to divide each document into sentences according to the punctuation marks in each document related to the target stock issued in the current time period;
获取模块,用于根据各所述语句中各种情感极性的词语的个数获取各所述语句的情感极性,根据各所述文档中各种情感极性的所述语句的个数获取各所述文档的情感极性;An acquisition module, configured to acquire the emotional polarity of each of the sentences according to the number of words of various emotional polarities in each of the sentences, and acquire according to the number of the sentences of various emotional polarities in each of the documents the sentimental polarity of each said document;
构建模块,用于根据各种情感极性的所述文档的个数,构建所述目标股票当前时间段的情感指数。The construction module is used to construct the sentiment index of the target stock in the current time period according to the number of the documents with various sentiment polarities.
根据本发明的第三方面,提供一种股票情感指数构建设备,包括:According to a third aspect of the present invention, a kind of stock sentiment index construction equipment is provided, comprising:
至少一个处理器、至少一个存储器和总线;其中,at least one processor, at least one memory, and a bus; wherein,
所述处理器和存储器通过所述总线完成相互间的通信;The processor and the memory complete mutual communication through the bus;
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如前所述的方法。The memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the aforementioned method.
根据本发明的第四方面,提供一种非暂态计算机可读存储介质,用于存储如前所述方法的计算机程序。According to a fourth aspect of the present invention, there is provided a non-transitory computer-readable storage medium for storing the computer program of the aforementioned method.
本发明提供一种股票情感指数构建方法及系统,该方法通过获取与目标股票相关的各文档,根据文档中组成各语句的词语的情感极性确定文档中各语句的情感极性,根据组成文档的各语句的情感极性确定各文档的情感极性,根据各文档的情感极性构建目标股票的情感指数,构建方法简单,更精确反应人们对目标股票所持有的态度,有助于指导投资者进行风险规避和投资决策。The invention provides a method and system for constructing a stock sentiment index. The method obtains documents related to target stocks, determines the sentiment polarity of each sentence in the document according to the sentiment polarity of the words that make up each sentence in the document, and determines the sentiment polarity of each statement according to the constituent documents. The emotional polarity of each statement determines the emotional polarity of each document, and constructs the sentiment index of the target stock according to the emotional polarity of each document. The construction method is simple, and it more accurately reflects people’s attitude towards the target stock, which is helpful for guiding Investors make risk aversion and investment decisions.
附图说明Description of drawings
图1为本发明实施例提供的股票情感指数构建方法整体流程示意图;Fig. 1 is the overall schematic flow chart of the stock sentiment index construction method that the embodiment of the present invention provides;
图2为本发明实施例提供的股票情感指数构建系统整体结构示意图;Fig. 2 is a schematic diagram of the overall structure of the stock sentiment index construction system provided by the embodiment of the present invention;
图3为本发明实施例提供的股票情感指数构建设备整体结构示意图。Fig. 3 is a schematic diagram of the overall structure of the stock sentiment index construction device provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
在本发明的一个实施例中提供一种股票情感指数构建方法,图1为本发明实施例提供的股票情感指数构建方法整体流程示意图,该方法包括:S1,根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;S2,根据各所述语句中各种情感极性的词语的个数获取各所述语句的情感极性,根据各所述文档中各种情感极性的语句的个数获取各所述文档的情感极性;S3,根据各种情感极性的所述文档的个数,构建所述目标股票当前时间段的情感指数。In one embodiment of the present invention, a method for constructing a stock sentiment index is provided. Fig. 1 is a schematic diagram of the overall process flow of the method for constructing a stock sentiment index provided by an embodiment of the present invention. The punctuation mark in each relevant document divides each described document into sentences; S2, obtains the emotional polarity of each described sentence according to the number of words of various emotional polarities in each described sentence, and according to each described The number of sentences of various emotional polarities in the document obtains the emotional polarity of each document; S3, constructing the emotional index of the target stock in the current time period according to the number of the documents of various emotional polarities.
具体地,S1中,所述当前时间段可以为一个月、一天、一周、一小时或一分钟,因此可以对目标股票每个时间段的情感指数进行构建,形成时间序列的情感指数。所述目标股票为需要构建情感指数的股票。所述与目标股票相关的文档包括从网页中获取的用户关于所述目标股票的言论,以及证券分析人员、股票研究人员或投资者发布的关于所述目标股票的文章等。根据各所述文档中的标点符合,将各所述文档划分成一个或多个语句。所述标点符合包括句号、逗号、冒号、分号和感叹号中的一种或多种。Specifically, in S1, the current time period can be one month, one day, one week, one hour or one minute, so the sentiment index of each time period of the target stock can be constructed to form a time series sentiment index. The target stock is a stock that needs to construct a sentiment index. The documents related to the target stock include the user's remarks on the target stock acquired from webpages, articles about the target stock issued by securities analysts, stock researchers or investors, and the like. Each of the documents is divided into one or more sentences according to the punctuation in each of the documents. The punctuation marks include one or more of full stop, comma, colon, semicolon and exclamation point.
S2中,对各所述语句进行分词,通过语义分析领域通用的情感极性词典确定各所述语句中各词语的情感极性。所述情感极性又称情感倾向性,是指文本的感情色彩,如积极,消极和中立等。本实施例中不限于情感极性的种类。对于任一所述语句,分别统计该语句中各种情感极性的词语的个数,根据该语句中各种情感极性的词语的个数确定该语句的情感极性。对于任一所述文档,分别统计该文档中各种情感极性的语句的个数,根据该文档中各种情感极性的语句的个数确定该文档的情感极性。In S2, word segmentation is performed on each of the sentences, and the emotional polarity of each word in each of the sentences is determined through an emotion polarity dictionary commonly used in the field of semantic analysis. The emotional polarity, also known as emotional orientation, refers to the emotional color of the text, such as positive, negative, and neutral. The type of emotional polarity is not limited in this embodiment. For any sentence, the number of words of various emotional polarities in the sentence is counted respectively, and the emotional polarity of the sentence is determined according to the number of words of various emotional polarities in the sentence. For any document, count the number of sentences with various emotional polarities in the document, and determine the emotional polarity of the document according to the number of sentences with various emotional polarities in the document.
S3中,分别统计各种情感极性的所述文档的个数,根据各种情感极性的所述文档的个数构建所述目标股票当前时间段的情感指数。所述情感指数反映人们对所述目标股票所持有的态度。本实施例中构建的情感指数更为合理和直观,可以作为投资者的参考,从而进行风险规避和投资决策。In S3, the number of the documents of various emotional polarities is counted respectively, and the sentiment index of the current time period of the target stock is constructed according to the number of the documents of various emotional polarities. The sentiment index reflects people's attitude towards the target stock. The sentiment index constructed in this embodiment is more reasonable and intuitive, and can be used as a reference for investors to avoid risks and make investment decisions.
本实施例通过获取与目标股票相关的各文档,根据文档中组成各语句的词语的情感极性确定文档中各语句的情感极性,根据组成文档的各语句的情感极性确定各文档的情感极性,根据各文档的情感极性构建目标股票的情感指数,构建方法简单,更精确反应人们对目标股票所持有的态度,有助于指导投资者进行风险规避和投资决策。In this embodiment, by obtaining each document related to the target stock, the sentiment polarity of each sentence in the document is determined according to the sentiment polarity of the words that make up each sentence in the document, and the sentiment of each document is determined according to the sentiment polarity of each sentence that makes up the document Polarity, according to the emotional polarity of each document to construct the sentiment index of the target stock, the construction method is simple, more accurately reflects people's attitude towards the target stock, and helps guide investors to avoid risks and make investment decisions.
在上述实施例的基础上,本实施例中所述步骤S2中根据各所述语句中各词语的情感极性确定各所述语句的情感极性具体包括:对于任一所述语句,若该语句中积极情感的词语的个数大于该语句中消极情感的词语的个数,则该语句的情感极性为积极情感;对于任一所述语句,若该语句中积极情感的词语的个数等于该语句中消极情感的词语的个数,则该语句的情感极性为中性情感;对于任一所述语句,若该语句中积极情感的词语的个数小于该语句中消极情感的词语的个数,则该语句的情感极性为消极情感。On the basis of the above-mentioned embodiments, determining the emotional polarity of each of the sentences according to the emotional polarity of each word in the step S2 in this embodiment specifically includes: for any of the sentences, if the The number of words of positive emotion in the sentence is greater than the number of words of negative emotion in the sentence, then the emotional polarity of the sentence is positive emotion; for any described sentence, if the number of words of positive emotion in the sentence Equal to the number of words of negative emotion in this sentence, then the emotion polarity of this sentence is neutral emotion; For any described sentence, if the number of words of positive emotion in this sentence is less than the words of negative emotion in this sentence , then the emotional polarity of the statement is negative emotion.
具体地,由于语句相比于词语更能表达完整的态度和观点,故以语句为单位可以更好地确定文档所表达的情绪。为了确定文档中各语句的情感极性,首先根据各所述文档中的标点符号将各文档划分为语句,分别统计各语句中包含积极情感的词语和消极情感的词语的个数。对于任一语句i,假设语句i包含积极情感的词语的个数为pi,包含消极情感的词语的个数为ni。若pi>ni,则确定语句i的情感极性为积极情感;若pi=ni,则确定语句i的情感极性为中性情感;若pi<ni,则确定语句i的情感极性为消极情感。Specifically, since sentences can express more complete attitudes and opinions than words, the sentiment expressed in a document can be better determined in units of sentences. In order to determine the emotional polarity of each sentence in the document, first divide each document into sentences according to the punctuation marks in each document, and count the number of words containing positive emotions and words with negative emotions in each sentence. For any sentence i, it is assumed that the number of words in sentence i containing positive emotions is p i , and the number of words containing negative emotions is n i . If p i >n i , then determine the emotion polarity of sentence i as positive emotion; if p i =n i , determine the emotion polarity of sentence i as neutral emotion; if p i <n i , determine sentence i The emotional polarity of is negative emotion.
在上述实施例的基础上,本实施例中所述步骤S2中根据各所述文档中各语句的情感极性确定各所述文档的情感极性具体包括:对于任一所述文档,若该文档中积极情感的语句的个数大于该文档中消极情感的语句的个数,则该文档的情感极性为积极情感;对于任一所述文档,若该文档中积极情感的语句的个数等于该文档中消极情感的语句的个数,则该文档的情感极性为中性情感;对于任一所述文档,若该文档中积极情感的语句的个数小于该文档中消极情感的语句的个数,则该文档的情感极性为消极情感。On the basis of the above-mentioned embodiments, determining the emotional polarity of each document according to the emotional polarity of each statement in the step S2 in this embodiment specifically includes: for any of the documents, if the If the number of sentences with positive sentiment in the document is greater than the number of sentences with negative sentiment in the document, then the sentiment polarity of the document is positive sentiment; for any document, if the number of sentences with positive sentiment in the document Equal to the number of sentences with negative sentiment in the document, the sentiment polarity of the document is neutral sentiment; for any document, if the number of sentences with positive sentiment in the document is less than the sentence with negative sentiment in the document , the sentiment polarity of the document is negative sentiment.
具体地,本实施例根据各文档中各语句的情感极性,确定各文档的情感极性。对于任一文档j,,假设文档j包含积极情感的语句的个数为pj,包含消极情感的语句的个数为nj。若pj>nj,则确定文档j的情感极性为积极情感;若pj=nj,则确定文档j的情感极性为中性情感;若pj<nj,则确定文档j的情感极性为消极情感。Specifically, in this embodiment, the emotional polarity of each document is determined according to the emotional polarity of each sentence in each document. For any document j, suppose the number of sentences in document j containing positive sentiment is p j , and the number of sentences containing negative sentiment is n j . If p j >n j , determine the sentiment polarity of document j as positive sentiment; if p j =n j , determine the sentiment polarity of document j as neutral sentiment; if p j <n j , determine document j The emotional polarity of is negative emotion.
在上述实施例的基础上,本实施例中所述步骤S3中通过以下公式构建所述目标股票当前时间段的情感指数:On the basis of the foregoing embodiments, in step S3 described in this embodiment, the sentiment index of the current time period of the target stock is constructed by the following formula:
其中,St为第t个时间段目标股票的情感指数,为第t个时间段发布的积极情感的文档的个数,为第t个时间段发布的积极情感的文档个数。Among them, S t is the sentiment index of the target stock in the tth time period, is the number of positive sentiment documents published in the tth time period, The number of positive sentiment documents published for the tth time period.
具体地,一个时间段会发布多篇关于所述目标股票的文档,假设第t个时间段发布的积极情感的文档个数为发布的消极情感的文档个数为则所述目标股票时间序列的情感指数为:Specifically, multiple documents about the target stock will be released in a time period, assuming that the number of positive emotional documents released in the tth time period is The number of published documents with negative sentiment is Then the sentiment index of the target stock time series is:
由上述公式可知,情感指数St的值在[-1,1]区间变换。若St>0,则说明人们对所述目标股票持有积极态度;若St=0,则说明人们对股票市场持有中立态度;若St<0,则说明人们对股票市场持有消极态度。将所述当前时间段作为所述第t个时间段,使用上述公式计算当前时间段的情感指数。It can be seen from the above formula that the value of the sentiment index S t changes in the interval [-1,1]. If S t >0, it means that people have a positive attitude towards the target stock; if S t =0, it means that people have a neutral attitude towards the stock market; if S t <0, it means that people have a positive attitude towards the stock market Negative attitude. Taking the current time period as the tth time period, using the above formula to calculate the sentiment index of the current time period.
在上述各实施例的基础上,本实施例中所述步骤S2还包括:对于任一所述词语,若该词语的情感极性为积极情感且该词语的前一个词语为否定词,则将该词语和所述否定词合成为一个词语,合成的词语的情感极性为消极情感;对于任一所述词语,若该词语的情感极性为消极情感且该词语的前一个词语为否定词,则将该词语和所述否定词合成为一个词语,合成的词语的情感极性为积极情感。On the basis of the above-mentioned embodiments, the step S2 in this embodiment also includes: for any of the words, if the emotional polarity of the word is a positive emotion and the previous word of the word is a negative word, then the The word and the negative word are synthesized into one word, and the emotional polarity of the synthesized word is negative emotion; for any of the words, if the emotional polarity of the word is negative emotion and the preceding word of the word is a negative word , then the word and the negative word are synthesized into one word, and the emotional polarity of the synthesized word is positive emotion.
具体地,对于任一语句中的任一词语,若该词语的前一个词语为否定词,所述否定词为表示否定意义的词语,则将否定词语和该词语视为同一个词语,表达与该词语相反的情感。Specifically, for any word in any sentence, if the previous word of the word is a negative word, and the negative word is a word expressing a negative meaning, then the negative word and the word are regarded as the same word, and the expression is the same as The opposite sentiment of the word.
在上述各实施例的基础上,本实施例中所述步骤S3之后还包括当所述当前时间段为周一时,通过以下公式对所述目标股票当前时间段的情感指数进行调整:On the basis of the above-mentioned embodiments, after the step S3 in this embodiment, it also includes when the current time period is Monday, adjusting the sentiment index of the target stock in the current time period by the following formula:
其中,St'为所述目标股票第t个时间段调整后的情感指数,St为所述目标股票第t个时间段调整前的情感指数,St-1为所述目标股票第t-1个时间段调整前的情感指数,St-2为所述目标股票第t-2个时间段调整前的情感指数,a1、a2和a3为常数,a1>a2>a3,λ为预设参数。Wherein, S t ' is the sentiment index after adjustment of the tth time period of the target stock, S t is the sentiment index before the adjustment of the tth time period of the target stock, and S t-1 is the tth time period of the target stock Sentiment index before adjustment in -1 time period, S t-2 is the sentiment index of the target stock before adjustment in the t-2th time period, a 1 , a 2 and a 3 are constants, a 1 >a 2 > a 3 , λ are preset parameters.
具体地,本实施例考虑到日历效应对股票情绪指数构建的影响。所述日历效应是金融市场异象的典型表现,是指周一的平均收益率显著低于一周内其他交易日的收益率。其原包括周五闭市后,市场上堆积了大量的新闻,这些新闻对人们的投资决策产生了显著影响。因此,当所述当前时间段为周一时,将周一的情绪指数St调整为:Specifically, this embodiment takes into account the impact of the calendar effect on the construction of the stock sentiment index. The calendar effect is a typical manifestation of financial market anomalies, which means that the average return rate on Monday is significantly lower than the return rate on other trading days within a week. It originally included a flood of news that piled up in the market after the market closed on Friday, which had a significant impact on people's investment decisions. Therefore, when the current time period is Monday, adjust Monday's sentiment index S t to:
其中,等号右侧St为周一调整前的情绪指数,St-1为周日调整前的情感指数,St-2为周六调整前的情感指数。a1、a2和a3为常数,可以设置为a1=2,a2=1,a3=0。调整后周一的情感指数St'是调整前周五、周六和周日的情感指数的加权值,权重表示为指数函数的形式。随着时间距离周一逐渐变远,权重以指数量级递减,因此a1>a2>a3。本实施例通过考虑到日历效应,对目标股票周一的情感指数进行调整,从而使构建的情感指数更精确。Among them, S t on the right side of the equal sign is the sentiment index before Monday’s adjustment, S t-1 is the sentiment index before Sunday’s adjustment, and S t-2 is the sentiment index before Saturday’s adjustment. a 1 , a 2 and a 3 are constants, and can be set as a 1 =2, a 2 =1, and a 3 =0. The sentiment index S t ' of Monday after adjustment is the weighted value of the sentiment indices of Friday, Saturday and Sunday before adjustment, and the weight is expressed in the form of an exponential function. As time gets farther away from Monday, the weight decreases exponentially, so a 1 >a 2 >a 3 . In this embodiment, the sentiment index of the target stock on Monday is adjusted by considering the calendar effect, so that the constructed sentiment index is more accurate.
在上述各实施例的基础上,本实施例中所述步骤S3之后还包括当所述当前时间段的前一个或多个时间段休市时,通过以下公式对所述目标股票当前时间段的情感指数进行调整:On the basis of the above-mentioned embodiments, after the step S3 in this embodiment, it also includes when the market is closed in one or more time periods before the current time period, the sentiment of the target stock in the current time period by the following formula The index is adjusted:
Sk+1'=e-kλS1+e-(k-1)λS2+…+e-λSk+Sk+1;S k+1 '=e -kλ S 1 +e -(k-1)λ S 2 +...+e -λ S k +S k+1 ;
其中,k表示所述当前时间段的前k个时间段休市,Sk+1'为所述目标股票当前时间段调整后的情感指数,Sk+1为所述目标股票当前时间段调整前的情感指数,S1为所述休市的第一个时间段目标股票的情感指数,S2为所述休市的第二个时间段目标股票的情感指数,Sk为所述休市的第k个时间段目标股票的情感指数,λ为预设参数。Wherein, k represents that the first k time periods of the current time period are closed, S k+1 ' is the adjusted sentiment index of the current time period of the target stock, and S k+1 is before the adjustment of the current time period of the target stock Sentiment index, S 1 is the sentiment index of the target stock in the first time period of the market break, S 2 is the sentiment index of the target stock in the second time period of the market break, S k is the kth The sentiment index of the target stock in the time period, λ is a preset parameter.
具体地,本实施例考虑到假期情形的日历效应的推广。股票市场在国家法定节假日和一下特殊的日期会休市。当连续休市k个时间段时,第k+1个时间段的情感指数,即开市后第一个时间段的情感指数可调整为:In particular, this embodiment takes into account the generalization of calendar effects for holiday situations. The stock market will be closed on national statutory holidays and the following special dates. When the market is closed for k consecutive time periods, the sentiment index of the k+1th time period, that is, the sentiment index of the first time period after the market opens, can be adjusted as follows:
Sk+1'=e-kλS1+e-(k-1)λS2+…+e-λSk+Sk+1。S k+1 ′=e −kλ S 1 +e −(k−1)λ S 2 + . . . +e −λ S k +S k+1 .
本实施例考虑股票市场在国家法定节假日和一些特殊日期休市的情况,对休市后的第一个时间段的情感指数进行调整,从而使构建的情感指数更精确。This embodiment considers the situation that the stock market is closed on national statutory holidays and some special dates, and adjusts the sentiment index in the first time period after the market close, so as to make the constructed sentiment index more accurate.
在本发明的另一个实施例中提供一种股票情感指数构建系统,图2为本发明实施例提供的股票情感指数构建系统整体结构示意图,该系统包括划分模块1、获取模块2和构建模块3,其中:In another embodiment of the present invention, a kind of stock sentiment index construction system is provided, and Fig. 2 is the stock sentiment index construction system overall structure schematic diagram that the embodiment of the present invention provides, and this system comprises division module 1, acquisition module 2 and construction module 3 ,in:
所述划分模块1用于根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;所述获取模块2用于根据各所述语句中各种情感极性的词语的个数获取各所述语句的情感极性,根据各所述文档中各种情感极性的所述语句的个数获取各所述文档的情感极性;所述构建模块3用于根据各种情感极性的所述文档的个数,构建所述目标股票当前时间段的情感指数。The division module 1 is used to divide each document into sentences according to the punctuation marks in each document related to the target stock released in the current time period; The number of words of polarity obtains the emotional polarity of each described sentence, obtains the emotional polarity of each described document according to the number of described sentences of various emotional polarities in each described document; the building block 3 It is used to construct the sentiment index of the target stock in the current time period according to the number of the documents with various sentiment polarities.
具体地,所述当前时间段可以为一个月、一天、一周、一小时或一分钟,因此可以对目标股票每个时间段的情感指数进行构建,形成时间序列的情感指数。所述目标股票为需要构建情感指数的股票。所述与目标股票相关的文档包括从网页中获取的用户关于所述目标股票的言论,以及证券分析人员、股票研究人员或投资者发布的关于所述目标股票的文章等。所述划分模块1根据各所述文档中的标点符合,将各所述文档划分成一个或多个语句。所述标点符合包括句号、逗号、冒号、分号和感叹号中的一种或多种。Specifically, the current time period may be one month, one day, one week, one hour or one minute, so the sentiment index of each time period of the target stock may be constructed to form a time series sentiment index. The target stock is a stock that needs to construct a sentiment index. The documents related to the target stock include the user's remarks on the target stock acquired from webpages, articles about the target stock issued by securities analysts, stock researchers or investors, and the like. The division module 1 divides each document into one or more sentences according to the punctuation in each document. The punctuation marks include one or more of full stop, comma, colon, semicolon and exclamation point.
所述获取模块2对各所述语句进行分词,通过语义分析领域通用的情感极性词典确定各所述语句中各词语的情感极性。所述情感极性又称情感倾向性,是指文本的感情色彩,如积极,消极和中立等。本实施例中不限于情感极性的种类。对于任一所述语句,分别统计该语句中各种情感极性的词语的个数,根据该语句中各种情感极性的词语的个数确定该语句的情感极性。对于任一所述文档,分别统计该文档中各种情感极性的语句的个数,根据该文档中各种情感极性的语句的个数确定该文档的情感极性。The acquisition module 2 performs word segmentation on each of the sentences, and determines the emotional polarity of each word in each of the sentences through the sentimental polarity dictionary commonly used in the field of semantic analysis. The emotional polarity, also known as emotional orientation, refers to the emotional color of the text, such as positive, negative, and neutral. The type of emotional polarity is not limited in this embodiment. For any sentence, the number of words of various emotional polarities in the sentence is counted respectively, and the emotional polarity of the sentence is determined according to the number of words of various emotional polarities in the sentence. For any document, count the number of sentences with various emotional polarities in the document, and determine the emotional polarity of the document according to the number of sentences with various emotional polarities in the document.
所述构建模块3分别统计各种情感极性的所述文档的个数,根据各种情感极性的所述文档的个数构建所述目标股票当前时间段的情感指数。所述情感指数反映人们对所述目标股票所持有的态度。本实施例中构建的情感指数更为合理和直观,可以作为投资者的参考,从而进行风险规避和投资决策。The construction module 3 counts the number of documents of various emotional polarities respectively, and constructs the sentiment index of the target stock in the current time period according to the number of documents of various emotional polarities. The sentiment index reflects people's attitude towards the target stock. The sentiment index constructed in this embodiment is more reasonable and intuitive, and can be used as a reference for investors to avoid risks and make investment decisions.
本实施例通过获取与目标股票相关的各文档,根据文档中组成各语句的词语的情感极性确定文档中各语句的情感极性,根据组成文档的各语句的情感极性确定各文档的情感极性,根据各文档的情感极性构建目标股票的情感指数,构建方法简单,更精确反应人们对目标股票所持有的态度,有助于指导投资者进行风险规避和投资决策。In this embodiment, by obtaining each document related to the target stock, the sentiment polarity of each sentence in the document is determined according to the sentiment polarity of the words that make up each sentence in the document, and the sentiment of each document is determined according to the sentiment polarity of each sentence that makes up the document Polarity, according to the emotional polarity of each document to construct the sentiment index of the target stock, the construction method is simple, more accurately reflects people's attitude towards the target stock, and helps guide investors to avoid risks and make investment decisions.
在上述实施例的基础上,本实施例中所述获取模块具体用于:对于任一所述语句,若该语句中积极情感的词语的个数大于该语句中消极情感的词语的个数,则该语句的情感极性为积极情感;对于任一所述语句,若该语句中积极情感的词语的个数等于该语句中消极情感的词语的个数,则该语句的情感极性为中性情感;对于任一所述语句,若该语句中积极情感的词语的个数小于该语句中消极情感的词语的个数,则该语句的情感极性为消极情感。On the basis of the above-mentioned embodiments, the acquisition module in this embodiment is specifically used for: for any of the sentences, if the number of words with positive emotions in the sentence is greater than the number of words with negative emotions in the sentence, Then the emotion polarity of this sentence is positive emotion; For any described sentence, if the number of words of positive emotion in this sentence is equal to the number of words of negative emotion in this sentence, then the emotion polarity of this sentence is middle Sexual emotion; For any one of the sentences, if the number of words of positive emotion in the sentence is less than the number of words of negative emotion in the sentence, then the emotional polarity of the sentence is negative emotion.
在上述实施例的基础上,本实施例中所述获取模块具体用于:对于任一所述文档,若该文档中积极情感的语句的个数大于该文档中消极情感的语句的个数,则该文档的情感极性为积极情感;对于任一所述文档,若该文档中积极情感的语句的个数等于该文档中消极情感的语句的个数,则该文档的情感极性为中性情感;对于任一所述文档,若该文档中积极情感的语句的个数小于该文档中消极情感的语句的个数,则该文档的情感极性为消极情感。On the basis of the above embodiments, the acquisition module in this embodiment is specifically configured to: for any document, if the number of sentences with positive emotions in the document is greater than the number of sentences with negative emotions in the document, Then the sentiment polarity of the document is positive sentiment; for any document, if the number of positive sentiment sentences in the document is equal to the number of negative sentiment sentences in the document, then the sentiment polarity of the document is medium sexual sentiment; for any document, if the number of sentences with positive sentiment in the document is less than the number of sentences with negative sentiment in the document, then the sentiment polarity of the document is negative sentiment.
在上述实施例的基础上,本实施例中所述构建单元通过以下公式构建所述目标股票当前时间段的情感指数:On the basis of the foregoing embodiments, the construction unit in this embodiment constructs the sentiment index of the current time period of the target stock through the following formula:
其中,St为第t个时间段目标股票的情感指数,为第t个时间段发布的积极情感的文档的个数,为第t个时间段发布的积极情感的文档个数。Among them, S t is the sentiment index of the target stock in the tth time period, is the number of positive sentiment documents published in the tth time period, The number of positive sentiment documents published for the tth time period.
在上述各实施例的基础上,本实施例中所述获取单元还用于:对于任一所述词语,若该词语的情感极性为积极情感且该词语的前一个词语为否定词,则将该词语和所述否定词合成为一个词语,合成的词语的情感极性为消极情感;对于任一所述词语,若该词语的情感极性为消极情感且该词语的前一个词语为否定词,则将该词语和所述否定词合成为一个词语,合成的词语的情感极性为积极情感。On the basis of the above-mentioned embodiments, the acquisition unit in this embodiment is further configured to: for any of the words, if the emotional polarity of the word is positive and the previous word of the word is a negative word, then This word and described negation word are synthesized into a word, and the emotional polarity of the compound word is negative emotion; For any described word, if the emotional polarity of this word is negative emotion and the preceding word of this word is negation word, then the word and the negative word are synthesized into one word, and the emotional polarity of the synthesized word is positive emotion.
在上述各实施例的基础上,本实施例中还包括第一调整单元,用于当所述当前时间段为周一时,通过以下公式对所述目标股票当前时间段的情感指数进行调整:On the basis of the above embodiments, this embodiment also includes a first adjustment unit, which is used to adjust the sentiment index of the target stock in the current time period by the following formula when the current time period is Monday:
其中,St'为所述目标股票第t个时间段调整后的情感指数,St为所述目标股票第t个时间段调整前的情感指数,St-1为所述目标股票第t-1个时间段调整前的情感指数,St-2为所述目标股票第t-2个时间段调整前的情感指数,a1、a2和a3为常数,a1>a2>a3,λ为预设参数。Wherein, S t ' is the sentiment index after adjustment of the tth time period of the target stock, S t is the sentiment index before the adjustment of the tth time period of the target stock, and S t-1 is the tth time period of the target stock Sentiment index before adjustment in -1 time period, S t-2 is the sentiment index of the target stock before adjustment in the t-2th time period, a 1 , a 2 and a 3 are constants, a 1 >a 2 > a 3 , λ are preset parameters.
在上述各实施例的基础上,本实施例中还包括第二调整单元,用于当所述当前时间段的前一个或多个时间段休市时,通过以下公式对所述目标股票当前时间段的情感指数进行调整:On the basis of the above embodiments, this embodiment also includes a second adjustment unit, which is used to adjust the current time period of the target stock by the following formula when the market is closed in one or more time periods before the current time period The sentiment index is adjusted by:
Sk+1'=e-kλS1+e-(k-1)λS2+…+e-λSk+Sk+1;S k+1 '=e -kλ S 1 +e -(k-1)λ S 2 +...+e -λ S k +S k+1 ;
其中,k表示所述当前时间段的前k个时间段休市,Sk+1'为所述目标股票当前时间段调整后的情感指数,Sk+1为所述目标股票当前时间段调整前的情感指数,S1为所述休市的第一个时间段目标股票的情感指数,S2为所述休市的第二个时间段目标股票的情感指数,Sk为所述休市的第k个时间段目标股票的情感指数,λ为预设参数。Wherein, k represents that the first k time periods of the current time period are closed, S k+1 ' is the adjusted sentiment index of the current time period of the target stock, and S k+1 is before the adjustment of the current time period of the target stock Sentiment index, S 1 is the sentiment index of the target stock in the first time period of the market break, S 2 is the sentiment index of the target stock in the second time period of the market break, S k is the kth The sentiment index of the target stock in the time period, λ is a preset parameter.
本实施例提供一种股票情感指数构建设备,图3为本发明实施例提供的股票情感指数构建设备整体结构示意图,该设备包括:至少一个处理器31、至少一个存储器32和总线33;其中,The present embodiment provides a stock sentiment index construction device, and Fig. 3 is a schematic diagram of the overall structure of the stock sentiment index construction device provided by the embodiment of the present invention, the device includes: at least one processor 31, at least one memory 32 and a bus 33; wherein,
所述处理器31和存储器32通过所述总线33完成相互间的通信;The processor 31 and the memory 32 complete mutual communication through the bus 33;
所述存储器32存储有可被所述处理器31执行的程序指令,所述处理器调用所述程序指令能够执行上述各方法实施例所提供的方法,例如包括:S1,根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;S2,根据各所述语句中各种情感极性的词语的个数获取各所述语句的情感极性,根据各所述文档中各种情感极性的语句的个数获取各所述文档的情感极性;S3,根据各种情感极性的所述文档的个数,构建所述目标股票当前时间段的情感指数。The memory 32 stores program instructions that can be executed by the processor 31, and the processor calls the program instructions to execute the methods provided by the above-mentioned method embodiments, for example, including: S1, issued according to the current time period Punctuation marks in each document related to the target stock, each described document is divided into sentences; S2, obtain the emotional polarity of each described sentence according to the number of words of various emotional polarities in each described sentence, according to The number of sentences of various emotional polarities in each described document obtains the emotional polarity of each described document; S3, according to the number of the described documents of various emotional polarities, constructs the current time period of the target stock emotional index.
本实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:S1,根据当前时间段发布的与目标股票相关的各文档中的标点符号,将各所述文档划分为语句;S2,根据各所述语句中各种情感极性的词语的个数获取各所述语句的情感极性,根据各所述文档中各种情感极性的语句的个数获取各所述文档的情感极性;S3,根据各种情感极性的所述文档的个数,构建所述目标股票当前时间段的情感指数。This embodiment provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the methods provided in the above method embodiments, for example, including : S1, divide each document into sentences according to the punctuation marks in each document related to the target stock released in the current time period; S2, obtain each The emotional polarity of the sentence is obtained according to the number of sentences of various emotional polarities in each of the documents; S3, according to the number of the documents of various emotional polarities, A sentiment index for the current time period of the target stock is constructed.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
以上所描述的股票情感指数构建设备实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The above-described stock sentiment index construction device embodiment is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units , which can be located in one place, or can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后,本申请的方法仅为较佳的实施方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, the method of the present application is only a preferred embodiment, and is not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810204850.1A CN108268451A (en) | 2018-03-13 | 2018-03-13 | One B shareB affection index construction method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810204850.1A CN108268451A (en) | 2018-03-13 | 2018-03-13 | One B shareB affection index construction method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108268451A true CN108268451A (en) | 2018-07-10 |
Family
ID=62774769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810204850.1A Pending CN108268451A (en) | 2018-03-13 | 2018-03-13 | One B shareB affection index construction method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108268451A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112561699A (en) * | 2020-12-11 | 2021-03-26 | 山证科技(深圳)有限公司 | Method, system and storage medium for processing dealer client data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008134365A1 (en) * | 2007-04-24 | 2008-11-06 | Research Foundation Of The State University Of New York | Large-scale sentiment analysis |
CN103778215A (en) * | 2014-01-17 | 2014-05-07 | 北京理工大学 | Stock market forecasting method based on sentiment analysis and hidden Markov fusion model |
CN105740353A (en) * | 2016-01-26 | 2016-07-06 | 中国人民解放军国防科学技术大学 | Calculation method and system for relevance degree of individual share and article |
CN106227802A (en) * | 2016-07-20 | 2016-12-14 | 广东工业大学 | A kind of based on Chinese natural language process and the multiple source Forecasting of Stock Prices method of multi-core classifier |
CN107357860A (en) * | 2017-06-30 | 2017-11-17 | 中山大学 | A kind of personal share mood assemblage method based on news data |
CN107403017A (en) * | 2017-08-09 | 2017-11-28 | 上海数旦信息技术有限公司 | A kind of method that real-time news of intellectual analysis influences on financial market |
-
2018
- 2018-03-13 CN CN201810204850.1A patent/CN108268451A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008134365A1 (en) * | 2007-04-24 | 2008-11-06 | Research Foundation Of The State University Of New York | Large-scale sentiment analysis |
CN103778215A (en) * | 2014-01-17 | 2014-05-07 | 北京理工大学 | Stock market forecasting method based on sentiment analysis and hidden Markov fusion model |
CN105740353A (en) * | 2016-01-26 | 2016-07-06 | 中国人民解放军国防科学技术大学 | Calculation method and system for relevance degree of individual share and article |
CN106227802A (en) * | 2016-07-20 | 2016-12-14 | 广东工业大学 | A kind of based on Chinese natural language process and the multiple source Forecasting of Stock Prices method of multi-core classifier |
CN107357860A (en) * | 2017-06-30 | 2017-11-17 | 中山大学 | A kind of personal share mood assemblage method based on news data |
CN107403017A (en) * | 2017-08-09 | 2017-11-28 | 上海数旦信息技术有限公司 | A kind of method that real-time news of intellectual analysis influences on financial market |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112561699A (en) * | 2020-12-11 | 2021-03-26 | 山证科技(深圳)有限公司 | Method, system and storage medium for processing dealer client data |
CN112561699B (en) * | 2020-12-11 | 2024-09-27 | 山证科技(深圳)有限公司 | Method, system and storage medium for processing dealer customer data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kölbel et al. | Ask BERT: How regulatory disclosure of transition and physical climate risks affects the CDS term structure | |
Gao et al. | Words matter: The role of texts in online credit markets | |
Loughran et al. | Regulation and financial disclosure: The impact of plain English | |
US11257161B2 (en) | Methods and systems for predicting market behavior based on news and sentiment analysis | |
Makololo et al. | The effect of economic policy uncertainty and herding on leverage: An examination of the BRICS countries | |
Hearn | The political institutional and firm governance determinants of liquidity: Evidence from North Africa and the Arab Spring | |
Makosa et al. | Does economic policy uncertainty aggravate financial constraints? | |
Engsted | Fama on bubbles | |
Hunt et al. | Forward mortality rates in discrete time I: Calibration and securities pricing | |
da Veiga et al. | It pays to violate: how effective are the Basel accord penalties in encouraging risk management? | |
Xing et al. | Intelligent asset management | |
Kebe et al. | High-frequency effects of novel news on the eurusd exchange rate | |
O’Donnell | Clarifying Keynes’s Theory of Consumption and Psychological Law | |
Hardy et al. | Market-consistent valuation and funding of cash balance pensions | |
CN108268451A (en) | One B shareB affection index construction method and system | |
Hanif et al. | Dynamic modeling of systemic risk and firm value: A case of Pakistan | |
Druz et al. | Reading managerial tone: How analysts and the market respond to conference calls | |
Sun et al. | The impact of economic policy uncertainty on household portfolios effectiveness: Evidence from China | |
Cazares Aguilar et al. | Presidential Communication and Its Impact on the Mexican Stock Market: Evidence Using a Sentiment Analysis Approach | |
Borggreve | Effects of annual report sentiment on stock returns | |
Novotný et al. | Testing for co-jumps in financial markets | |
Chen et al. | What makes cryptocurrencies special? investor sentiment and return predictability | |
Siano | Contextualized news in corporate disclosures: a neural language approach | |
Sokic | The monetary analysis of hyperinflation and the appropriate specification of the demand for money | |
Goyal et al. | Central bank communications and professional forecasts: Evidence from India |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180710 |
|
RJ01 | Rejection of invention patent application after publication |