Stock information is carried out the data visualization method marked at K line chart, Time Index Chart
Technical field
The present invention relates to stock information processing technology field, particularly relate to a kind of data visualization method stock information being carried out mark at K line chart, Time Index Chart.
Background technology
Along with the raising of people's income level, finance sense is also strengthened gradually, adds the fast development in recent ten years of stock capital market, stock extensively cognitive by the people, understand, and one of preferred as what manage money matters, people's participation is high.
But the appearance fluctuation of stock price is mainly subject to each side messages affect such as company's bulletin, Domestic News, research report, block trade information, insider transaction information, Capital Flow; Conveniently stock invester understands stock real time price and latest news, market occurs a lot of stock tickers and stock website.
Summary of the invention
At present, stock tickers on market and stock website are analyzed stock by separate classic methods such as K line chart, Time Index Chart and message information, the analysis tools such as K line chart, Time Index Chart and market information independently separately, unrelated, price, trading volume, message information etc. are not set up timeliness correspondence, namely can not give people's visual experience intuitively, cannot the factor intuitively beyond detecting impedence valency bring to share price fluctuation, impact; Therefore user is when judging or analyze the trend of stock prices, usually needs to open multinomial program or multiple page, interface, sees K line chart/Time Index Chart, simultaneously while see message information, complicated operation, consuming time, poor efficiency, and easily make mistakes, also may omit the information really affecting stock price at that time.
For solving the above-mentioned problems in the prior art, the invention provides a kind of user and both can check Stock Price Fluctuation, the related news information occurred with listed company at that time can be known again simultaneously, thus know that the fluctuation situation (or knowing the message information before volatility) of rear share price occurs these message information easily, simple, convenient, quick, directly perceived, and facilitate user to make the event driven thinking of stock information in order, improve data visualization method stock information being carried out mark at K line chart, Time Index Chart of analysis efficiency.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
Stock information is carried out the data visualization method marked at K line chart or Time Index Chart, first Real-time Obtaining is all announcedly guarantees the uniqueness of every bar message with listed company and stock related news thereof; Then with the issuing time of message for benchmark, the K line chart of corresponding stock and/or the corresponding time price point of Time Index Chart mark message marking, in the messaging list district be simultaneously provided with on the side that this message is added on K line chart and/or Time Index Chart;
When on the message marking that mouse moves to K line chart or Time Index Chart, message corresponding to messaging list district is highlighted display; Correspondingly, when mouse moves on messaging list district a piece of news, K line chart and/or message marking corresponding to Time Index Chart are highlighted display;
When mouse clicks the message marking of K line chart or Time Index Chart or mouse clicks messaging list district a piece of news, then this message marking becomes the message window that includes this message content, sets up line between the time price point at the message marking place that described message window is corresponding with on K line chart, Time Index Chart.
Further, described data visualization method stock information being carried out mark at K line chart or Time Index Chart, specifically comprises the following steps:
S101. the various news relevant to listed company, comment on internet is captured by program high frequency orientation;
S102. format process is carried out to the content captured, intelligent extraction subject matter, compressed content;
S103. the content after compression and other historical content in database are compared, guarantee the uniqueness of every bar content;
S104. mouse current position coordinates is detected;
S105. judge whether mouse current position coordinates is arranged on messaging list district a piece of news or message hot-zone, if when being positioned on certain a piece of news or message hot-zone, be positioned at the highlighted display of message marking of the correspondence on K line chart or Time Index Chart;
S106. judge whether mouse current position coordinates is positioned on the hot-zone of message marking on K line chart or Time Index Chart or message marking, if on the hot-zone being positioned at message marking or message marking time, the highlighted display of message corresponding in messaging list district;
S107. the clicking operation receiving mouse is judged whether;
S108. message marking becomes message window, imports the message content that this message marking is corresponding, sets up the line between the time price point at this message marking place and message window simultaneously.
Further, described by the various news relevant to listed company, comment on program high frequency orientation crawl internet, be specially: multiple financial web site of first setting comprises financial web site, stock supervisory committee specifies listed company bulletin issuing web site, finance and economics newspapers and magazines online media sites, security research institution website, finance and economics community etc. are as information source, then by program, real-time high frequency crawl is carried out to these financial web site, to obtain the various news relevant to listed company, comment on internet.
Further, described in described " message marking becomes message window, imports the message content that this message marking is corresponding ", message window is wicket, and the message content of described importing is eap-message digest; When mouse clicks the hot-zone of wicket or wicket, message window amplifies automatically according to message-length, display entire message, and sets up the line between the time price point at this message marking place and message window.
Further, described message window is the suspension window of freely dragging, be provided with line between the time price point at its this message marking place corresponding with on K line chart and/or Time Index Chart to change with the dragging of message window, namely at receipt message window drag operation, and the line between the time price point at this message marking place and message window is set up.
Further, the right side of described K line chart is also provided with reserving message mark mark district, can expect the message marking of the every message relevant to this listed company issued future for marking; The left and right sides of described Time Index Chart also extend respectively before opening quotation with closing quotation after space, with before marking stock opening quotation on the same day or after closing quotation the message marking of generation message.
The invention has the beneficial effects as follows:
The present invention passes through technique scheme, while user can check Stock Price Fluctuation intuitively, obtain the message information that relevant listed company occurs, thus know the history message information of listed company and the fluctuation situation of the rear share price of these related news information generation fast, significantly reduce the labor capacity of manual message retrieval, simple, convenient, quick, directly perceived, it also avoid and omit valuable information, minimizing makes mistakes; And by data visualization technique, the K line chart of message and Time Index Chart are carried out real-time exhibition, user is facilitated to make the event driven thinking of stock information in order, improve analysis efficiency, price change when simultaneously also facilitating user's sectional drawing to show certain message generation effect to other people; Therefore very easily obtain the welcome of user, make the product that have employed the method have the very strong market competitiveness with creative, market development is easy, thus obtains coml success.
Accompanying drawing explanation
Fig. 1 is a kind of process flow diagram stock information being carried out the data visualization method embodiment marked at K line chart, Time Index Chart of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in fig. 1:
A kind of data visualization method stock information being carried out mark at K line chart or Time Index Chart described in the embodiment of the present invention, first Real-time Obtaining is all announced with listed company and stock related news (this message comprises all bulletins, comment, Domestic News, research report, block trade information, insider transaction information, funds flow information etc.) thereof, and guarantees the uniqueness of every bar message; Then with the issuing time of message for benchmark, the K line chart of corresponding stock and/or the corresponding time price point of Time Index Chart mark message marking, in the messaging list district be simultaneously provided with on the side that this message is added on K line chart and/or Time Index Chart.When on the message marking that mouse moves to K line chart or Time Index Chart, message corresponding to messaging list district is highlighted display; Correspondingly, when mouse moves on messaging list district a piece of news, K line chart and/or message marking corresponding to Time Index Chart are highlighted display; When mouse clicks the message marking of K line chart or Time Index Chart or mouse clicks messaging list district a piece of news, then this message marking becomes the message window that includes this message content, sets up line between the time price point at the message marking place that described message window is corresponding with on K line chart, Time Index Chart.Specifically comprise the following steps:
Steps A 1. captures the various news relevant to listed company, comment (as internet financial web site news list, news web page) on internet by program high frequency orientation;
Steps A 2. carries out format process to the content captured, intelligent extraction subject matter, compressed content;
Content after compression and other historical content in database are compared by steps A 3., guarantee the uniqueness of every bar content;
Steps A 4. detects mouse current position coordinates;
Steps A 5. judges whether mouse current position coordinates is arranged on messaging list district a piece of news or message hot-zone, if when being positioned on certain a piece of news or message hot-zone, is positioned at the highlighted display of message marking of the correspondence on K line chart or Time Index Chart;
Steps A 6. judges whether mouse current position coordinates is positioned on the hot-zone of message marking on K line chart or Time Index Chart or message marking, if on the hot-zone being positioned at message marking or message marking time, the highlighted display of message corresponding in messaging list district;
Steps A 7. judges whether the clicking operation receiving mouse;
Steps A 8. message marking becomes message window, imports the message content that this message marking is corresponding, sets up the line between the time price point at this message marking place and message window simultaneously.
Wherein, described by the various news relevant to listed company, comment on program high frequency orientation crawl internet, be specially: multiple financial web site of first setting comprises financial web site, stock supervisory committee specifies listed company bulletin issuing web site, finance and economics newspapers and magazines online media sites, security research institution website, finance and economics community etc. are as information source, then by program, real-time high frequency crawl is carried out to these financial web site, to obtain the various news relevant to listed company, comment on internet.And described " message marking becomes message window, import the message content that this message marking is corresponding " described in message window can be wicket, the message content of described importing is eap-message digest, when mouse clicks hot-zone (as " display in full " button) of wicket or wicket, message window amplifies automatically according to message-length, display entire message, and the line set up between the time price point at this message marking place and message window, that is: steps A 9 " judging whether to receive the operation that mouse clicks the hot-zone (as " display in full " button) of wicket or wicket ", "Yes" then performs the poly-A10 of step and " sets up the line between the time price point at this message marking place and message window ", described message window also can be the suspension window of freely dragging, be provided with line between the time price point at its this message marking place corresponding with on K line chart and/or Time Index Chart to change with the dragging of message window, i.e. steps A 11 " whether receiving message window drag operation (as whether received the length of mouse by operation within the scope of message window) ", "Yes" then performs the poly-A12 " message window can be towed, sets up the line between the time price point at this message marking place and message window " of step.
In addition, when receiving message window shutoff operation (mouse clicks " X mark " position of message window), message window becomes the message marking in corresponding time price point again.
Like this, by adopting data visualization method of the present invention, while user can check Stock Price Fluctuation intuitively, obtain the important messages information that relevant listed company occurs, thus know the history message information of listed company and the fluctuation situation of the rear share price of these related news information generation, and significantly reduce the labor capacity of manual message retrieval, simple, convenient, quick, directly perceived, it also avoid and omit valuable information, minimizing makes mistakes; And by data visualization technique, the K line chart of message and Time Index Chart are carried out real-time exhibition, user is facilitated to make the event driven thinking of stock information in order, improve analysis efficiency, price change when simultaneously also facilitating user's sectional drawing to show certain message generation effect to other people; Therefore very easily obtain the welcome of user, make the product such as stock tickers, stock mobile terminal, stock website that have employed the method have the very strong market competitiveness with creative, market development is easy, thus obtains coml success.
Certainly, the right side of described K line chart also can be provided with reserving message mark mark district, can expect the message marking of every message relevant to this listed company issued future for marking; The left and right sides of described Time Index Chart also can suitably extend respectively before opening quotation with closing quotation after space, with before marking stock opening quotation on the same day or after closing quotation the message marking of generation message; Namely facilitate user to check the following message that will occur of stock, better stock price expection is held.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications are also considered as protection scope of the present invention.