The data visualization method that stock information is labeled in K line charts, Time Index Chart
Technical field
Stock information is entered in K line charts, Time Index Chart the present invention relates to stock information processing technology field, more particularly to one kind
The data visualization method of rower note.
Background technology
With the raising of people's income level, finance sense is also gradually strengthened, and adds stock capital market in recent ten years
Fast development, stock extensively by the people it is cognitive, understand, and as the one of preferred of financing, people's participation is high.
However, stock price appearance fluctuation mainly announced by company, Domestic News, research report, block trade
The each side messages affects such as information, insider transaction information, Capital Flow;Stock invester understands stock real time price and newest for convenience
There is many stock tickers and stock website in message, in the market.
The content of the invention
At present, the stock tickers of in the market and stock website are separate by K line charts, Time Index Chart and message information etc.
Conventional method stock is analyzed, the analysis tool such as K line charts, Time Index Chart and market information independently separate, it is unrelated, not
Price, exchange hand, message information etc. are set up timeliness correspondence, i.e., can not give people intuitively visual experience, it is impossible to intuitively experience
Fluctuation that factor beyond amount valency is brought to share price, influence;Therefore user is when judging or analyzing the trend of stock prices, it usually needs
Multinomial program or multiple pages, interface are opened, while see K line charts/Time Index Chart, while while see message information, complex operation, consumption
When, poorly efficient, and easily error, it is also possible to the information of real influence stock price at that time can be omitted.
To solve the above-mentioned problems in the prior art, stock price ripple can be both checked the invention provides a kind of user
It is dynamic, the related news information occurred at that time with listed company can be known simultaneously again, so as to easily know that these message information are sent out
The fluctuation situation (or knowing the message information before volatility) of share price, simple, convenient, quick, directly perceived after life, and conveniently
User makes the event driven thinking of stock information in order, improves being labeled stock information in K line charts, Time Index Chart of analysis efficiency
Data visualization method.
In order to solve the above technical problems, the present invention is adopted the following technical scheme that:
A kind of data visualization method for being labeled stock information in K line charts or Time Index Chart, obtains institute in real time first
There are announced and listed company and its stock related news and ensure the uniqueness of every message;Then with the issue of message
On the basis of time, the annotated message mark on the K line charts of correspondence stock and/or the corresponding time price point of Time Index Chart simultaneously will
In the messaging list area that message addition is provided with the side of K line charts and/or Time Index Chart;
When on the message mark that mouse is moved to K line charts or Time Index Chart, the corresponding message in messaging list area is in highlighted aobvious
Show;Correspondingly, when mouse is moved on messaging list area a piece of news, K line charts and/or the corresponding message mark of Time Index Chart
In being highlighted;
When mouse clicks on the message mark or mouse click messaging list area's a piece of news of K line charts or Time Index Chart,
Then message mark becomes a message window for including the message content, and the message window is corresponding with K line charts, Time Index Chart
Message mark where time price point between set up line.
Further, the data visualization method that stock information is labeled in K line charts or Time Index Chart, specific bag
Include following steps:
S101. the various news related to listed company, comment on program high frequency orientation crawl internet are passed through;
S102. the content to crawl is formatted processing, intelligent extraction subject matter, compressed content;
S103. other historical contents in the content and database after compression are compared, it is ensured that every content is only
One property;
S104. mouse current position coordinates are detected;
S105. mouse current position coordinates are judged whether on certain a piece of news in messaging list area or message hot-zone,
If when on certain a piece of news or message hot-zone, the corresponding message mark on K line charts or Time Index Chart is highlighted;
S106. message mark or message mark that whether mouse current position coordinates are located on K line charts or Time Index Chart are judged
Hot-zone on, if positioned at message mark or the hot-zone of message mark on when, corresponding message is highlighted in messaging list area;
S107. judge whether to receive the clicking operation of mouse;
S108. message mark becomes message window, imports the message and marks corresponding message content, while setting up the message
The line between time price point and message window where mark.
Further, it is described that the various news related to listed company on internet are captured by program high frequency orientation, commented
By specially:The listed company that setting includes financial web site first, stock supervisory committee specifies announces issuing web site, finance and economics newspapers and magazines
Then multiple financial web sites including online media sites, security research institution website, finance and economics community etc. pass through journey as information source
These financial web sites of ordered pair carry out real-time high frequency crawl, to obtain the various news related to listed company on internet, comment.
Further, institute in described " message mark becomes message window, imports the message and marks corresponding message content "
It is wicket to state message window, and the message content of the importing is eap-message digest;When mouse clicks on the heat of wicket or wicket
Qu Shi, message window amplifies, shows entire message, and the time price set up where message mark automatically according to message-length
Line between point and message window.
Further, the message window is the suspension windows of freely dragging, and it is corresponding with K line charts and/or Time Index Chart
The message mark where time price point between change provided with line with the dragging of message window, i.e., reception message window
Mouth drag operation, and the line set up between the time price point where the message is marked and message window.
Further, reserving message mark mark area is additionally provided with the right side of the K line charts, for marking following expectable hair
The message mark of the every message related to the listed company of cloth;The left and right sides of the Time Index Chart also extends opening quotation respectively
It is preceding with closing quotation after space, with mark the same day stock opening quotation before or closing quotation after institute generation message message mark.
The beneficial effects of the invention are as follows:
The present invention is by above-mentioned technical proposal, while user intuitively can check Stock Price Fluctuation, obtains related
The message information that listed company occurs, so as to quickly know the history message information and these related news information of listed company
The fluctuation situation of share price after generation, is greatly decreased the amount of labour of manual message retrieval, simple, convenient, quick, directly perceived,
The valuable information of omission is avoided, error is reduced;And entered the K line charts and Time Index Chart of message by data visualization technique
Row real-time exhibition, facilitates user to make the event driven thinking of stock information in order, analysis efficiency is improved, while being also convenient for user's sectional drawing
Price change when showing that some message is acted to other people;Therefore the welcome of user is easily obtained, makes to employ this method
Product have very the strong market competitiveness with it is creative, market development easily, so as to obtain commercial success.
Brief description of the drawings
Fig. 1 is a kind of data visualization method for being labeled stock information in K line charts, Time Index Chart of the present invention
The flow chart of embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.
As shown in fig. 1:
A kind of data visualization side for being labeled stock information in K line charts or Time Index Chart described in the embodiment of the present invention
Method, obtain in real time first it is all it is announced with listed company and its stock related news (message includes all bulletins, commented
By, Domestic News, research report, block trade information, insider transaction information, funds flow information etc.), and ensure that every disappears
The uniqueness of breath;Then on the basis of the issuing time of message, K line charts and/or the corresponding time of Time Index Chart in correspondence stock
Annotated message is marked in price point, while the message to be added to the messaging list area being provided with the side of K line charts and/or Time Index Chart
It is interior.When on the message mark that mouse is moved to K line charts or Time Index Chart, the corresponding message in messaging list area is in be highlighted;Phase
Ying Di, when mouse is moved on messaging list area a piece of news, K line charts and/or the corresponding message mark of Time Index Chart are in height
Bright display;When mouse clicks on the message mark or mouse click messaging list area's a piece of news of K line charts or Time Index Chart,
Then message mark becomes a message window for including the message content, and the message window is corresponding with K line charts, Time Index Chart
Message mark where time price point between set up line.Specifically include following steps:
Step A1. is by the various news related to listed company, comment on program high frequency orientation crawl internet (as mutually
Financial web site of networking news list, news web page);
Step A2. is formatted processing, intelligent extraction subject matter, compressed content to the content of crawl;
Other historical contents in content and database after compression are compared step A3., it is ensured that every content
Uniqueness;
Step A4. detects mouse current position coordinates;
Step A5. judges whether mouse current position coordinates are located at certain a piece of news or message hot-zone in messaging list area
On, if be located on certain a piece of news or message hot-zone, the corresponding message mark on K line charts or Time Index Chart is highlighted aobvious
Show;
Step A6. judges the message mark or message mark whether mouse current position coordinates are located on K line charts or Time Index Chart
On the hot-zone of note, if positioned at message mark or the hot-zone of message mark on when, corresponding message is highlighted in messaging list area;
Step A7. judges whether to receive the clicking operation of mouse;
Step A8. message mark becomes message window, imports the message and marks corresponding message content, disappears while setting up this
Cease the line between the time price point and message window where marking.
Wherein, it is described to pass through the various news related to listed company, comment, tool on program high frequency orientation crawl internet
Body is:The listed company that setting includes financial web site first, stock supervisory committee specifies announces issuing web site, finance and economics newspapers and magazines media net
Stand, security research institution website, multiple financial web sites including finance and economics community etc. as information source, then by program to this
A little financial web sites carry out real-time high frequency crawl, to obtain the various news related to listed company on internet, comment.And institute
It can be small window to state message window described in " message mark becomes message window, imports the message and marks corresponding message content "
Mouthful, the message content of the importing is eap-message digest, when mouse clicks on the hot-zone of wicket or wicket (as " display is in full " presses
Button) when, message window amplifies, shows entire message, and the time valency set up where message mark automatically according to message-length
Line between lattice point and message window, i.e.,:Step A9 " judges whether to receive the hot-zone that mouse clicks on wicket or wicket
The operation of (such as " display in full " button) ", "Yes" then perform walk poly- A10 " the time price point set up where message mark with
Line between message window ";The message window can also be the suspension windows of freely dragging, itself and K line charts and/or timesharing
Change between time price point on figure where corresponding message mark provided with line with the dragging of message window, i.e. step
Whether A11 " receives message window drag operation (the long-press operation that mouse whether is received such as in the range of message window) ",
"Yes" then perform the poly- A12 of step " message window can be towed, the time price point and message window set up where message mark it
Between line ".
Message window shutoff operation (mouse clicks on " X marks " position of message window), message window are received in addition, working as
Become the message mark in correspondence time price point again.
So, by using data visualization method of the present invention, user can intuitively check Stock Price Fluctuation
While, obtain the important messages information that related listed company occurs so that know listed company history message information and
The fluctuation situation of share price after these related news information occur, is greatly decreased the amount of labour of manual message retrieval, simple to operate, side
Just, fast, intuitively, it also avoid omitting valuable information, reduce error;And by data visualization technique by message
K line charts and Time Index Chart carry out real-time exhibition, facilitate user to make the event driven thinking of stock information in order, improve analysis efficiency, together
When be also convenient for user's sectional drawing to other people show that some message is acted when price change;Therefore the joyous of user is easily obtained
Meet, make to employ the products such as the stock tickers of this method, stock mobile terminal, stock website have the very strong market competitiveness with
Creativeness, market development is easy, so as to obtain commercial success.
Certainly, the right side of the K line charts can also be provided with reserving message mark mark area, for marking following expectable issue
The every message related to the listed company message mark;The left and right sides of the Time Index Chart can also appropriately respectively extend
With the space after closing quotation before opening quotation, with mark before same day stock opening quotation or after closing quotation institute's generation message message mark;It is i.e. square
Just user checks the following message that will occur of stock, and preferably stock price is expected to hold.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.