CN112884349A - Stock technical index display method, device and system - Google Patents

Stock technical index display method, device and system Download PDF

Info

Publication number
CN112884349A
CN112884349A CN202110269996.6A CN202110269996A CN112884349A CN 112884349 A CN112884349 A CN 112884349A CN 202110269996 A CN202110269996 A CN 202110269996A CN 112884349 A CN112884349 A CN 112884349A
Authority
CN
China
Prior art keywords
data
index
identification information
stock
type
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
Application number
CN202110269996.6A
Other languages
Chinese (zh)
Inventor
安萌
何国立
周朝阳
严亚军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Linlong Technology Co ltd
Original Assignee
Shenyang Linlong Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenyang Linlong Technology Co ltd filed Critical Shenyang Linlong Technology Co ltd
Priority to CN202110269996.6A priority Critical patent/CN112884349A/en
Publication of CN112884349A publication Critical patent/CN112884349A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Technology Law (AREA)
  • Data Mining & Analysis (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a stock technical index display method, a device and a system, wherein the method comprises the following steps: modeling according to stock market basic data and a plurality of selection indexes to obtain corresponding primitive data; judging the type of the scale for the index unit of the primitive data, and drawing multiple groups of primitive data with the same type of the scale in one graph to obtain an index plotting drawing; and binding the set of the ruler type and the index type of the groups of primitive data into a data family. The system and the device are used for realizing the method. The invention solves the problems of inconvenient operation and low service efficiency in the prior art.

Description

Stock technical index display method, device and system
Technical Field
The invention relates to the technical analysis field of stock quotation, in particular to a method, a system and a device for displaying technical indexes of stocks.
Background
The existing software for displaying stock market information on a handheld terminal only fixedly displays one or more index data, and when a user needs to compare various stock technical index data according to own needs, the user usually has two modes: and configuring various technical indexes in two frames or three frames in the screen, and comparing in a chart switching mode. The configuration of various technical indexes has the defects that the configuration is limited by the size of a screen of a handheld terminal, the number of indexes supporting configuration is limited, and a plurality of indexes cannot be compared more intuitively on different charts; the chart switching mode has the defects that stock market data are updated in real time during opening of a stock market, and the chart switching mode cannot ensure accurate and timely comparison and analysis by using a plurality of indexes due to time inconsistency, so that a stock analysis result is influenced, and the decision of a user is further influenced. Especially, when the stock quotation data volume is large, the data update and processing efficiency is lower.
Disclosure of Invention
The invention provides a stock technical index display method, a stock technical index display device and a stock technical index display system, which solve the problems that various stock technical indexes are inconvenient to display and analyze in the existing equipment and the service efficiency is low.
In order to solve the problems, the invention is realized as follows:
the embodiment of the invention provides a stock technical index display method, which comprises the following steps: modeling according to stock market basic data and a plurality of selection indexes to obtain primitive data corresponding to each index; judging the type of a scale for the index unit of the primitive data, and drawing multiple groups of primitive data with the same type of the scale in one graph to obtain a plotted drawing, wherein the abscissa of the plotted drawing is time, and the ordinate is a scale value; binding the set of the ruler types and the index types of the multiple groups of primitive data into a data family to generate first identification information; the stock quotation basic data comprises a closing price, an opening price, a highest price, a lowest price, a volume of interest and/or an amount of interest, a group of primitive data comprises time and a corresponding numerical value of an index, and the scale type of an index unit comprises a stock price and a stock volume.
Further, the method further comprises: integrating the stock market data with different data formats and data updating frequencies from different exchanges to obtain the stock market basic data; determining the index type and the scale type of the data family according to the first identification information; and selecting the stock market data from the stock market data according to the index type and the scale type of the primitive data group, generating second identification information for the index type of the changed data, and updating the stock market basic data.
Further, the first identification information, the second identification information and the stock market basic data are transmitted in real time by using a byte stream communication mode of basic TCP long connection.
Preferably, the type of the ruler is judged for the index unit of each group of the primitive data, and then drawing is carried out immediately; and when the drawing is updated, transmitting the corresponding stock market basic data according to the first identification information, and updating the primitive data.
Preferably, the finger-drawing map is a layered structure, and only the layer with data update is changed according to the second identification information every time of drawing.
The embodiment of the invention also provides a stock technical index display system which is used for realizing any one of the methods and comprises a handheld terminal and a market information server; the handheld terminal is used for modeling according to stock market basic data and a plurality of selection indexes to obtain primitive data corresponding to each index; drawing multiple groups of primitive data with the same ruler type in one graph to obtain a plotting drawing; binding the set of the ruler types and the index types of the multiple groups of primitive data into a data family, generating first identification information, and sending the first identification information to the market server; the market server is used for receiving the first identification information and determining the index type and the scale type of the data family; integrating the stock market data with different data formats and data updating frequencies from different exchanges, and selecting the stock market data according to the index type and the scale type of the primitive data group to obtain the stock market basic data; and generating second identification information for the index type of the changed data.
Preferably, the market server is further configured to send the second identification information; sending stock market basic data corresponding to the first identification information and/or the second identification information; the handheld terminal is further used for receiving stock market basic data corresponding to the first identification information and/or the second identification information; second identification information is received.
Preferably, the handheld terminal is further configured to receive corresponding stock market basic data according to the first identification information, and update the primitive data.
Preferably, the handheld terminal is further configured to change the image layer with the data update according to the second identification information.
The embodiment of the invention also provides a stock technical index display device, which is used for realizing any stock technical index display method, and comprises the following steps: the receiving selection module is used for receiving the second identification information, the stock market basic data and selecting indexes drawn by modeling; the configuration module is used for setting the data family and generating the first identification information; the calculation module is used for modeling according to the stock market basic data and a plurality of selection indexes to obtain corresponding primitive data; the drawing module is used for judging the type of the scale for the index unit of the primitive data and drawing the primitive data with the same scale type in a graph to obtain an index plotting drawing; the drawing updating module is further used for updating the drawing according to the first identification information and the second identification information; a sending module, configured to send the first identification information and the definition of the corresponding data family.
The beneficial effects of the invention include:
the method realizes customized data processing and incremental data processing, reduces data acquisition, transmission and processing burden and improves the working efficiency and performance of the system through the data family corresponding to the first identification information and the data change corresponding to the second identification information. Through the operation of dynamic configuration, a plurality of indexes are combined and displayed in one chart, so that the method can be used for a handheld terminal, the difference of data of different exchanges does not need to be processed, the complexity of processing the data by the handheld terminal is greatly reduced, and the efficiency of the handheld terminal in the scene is improved; after the market basic data are received, data modeling is carried out to obtain a plurality of groups of index data, so that the problem that data display is not timely enough due to time consumption of network transmission is avoided, and the timeliness is improved; the layered display structure improves and increases the refresh display efficiency of the index graph.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method for displaying technical index of stocks;
FIG. 2 is a flow chart of an embodiment of a stock index display method including second identification information;
FIG. 3 is an embodiment of a stock index presentation system;
FIG. 4 is an embodiment of a stock index display apparatus.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the existing stock technical index display method, only one or a plurality of index data are usually fixedly displayed, and when a user needs to compare various stock technical index data according to own needs, the user usually has two modes: 1. and 2, configuring various technical indexes in two frames or three frames in the screen, and 2, comparing in a chart switching mode.
The handheld terminal is limited by the size of a mobile phone screen, only 2-3 technical indexes are usually displayed in one page, and 5 or more technical indexes can not be displayed simultaneously for comparative analysis of indexes as a PC. If a user needs to compare and analyze more than 3 technical indexes, the indexes are usually switched and checked respectively, so that the display time of the index data before and after switching cannot be synchronized in real time, and the real-time performance of stock data is very important.
In the prior art, several indexes are combined to be displayed in a chart, and the combination mode is a common comparison combination mode, such as two indexes of a K line and a volume of business, and two indexes of a K line and a 7-day average line. The user of the combination mode can not combine the indexes according to the needs of the user.
In the prior art, an index chart is usually switched by selecting one index list, and the switched index chart replaces the index chart before switching. After switching, the previous index chart is not displayed any more, so that the index charts before and after switching cannot be compared in real time.
The invention improves the efficiency of data acquisition, transmission and processing by technical means, overcomes the technical defects, realizes self-combination index drawing according to the requirements of users, and aims to eliminate poor user experience and improve the service quality.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flow chart of a stock technical index display method for displaying a selected stock technical index, which, as an embodiment of the present invention, includes the following steps 101 to 103:
step 101, modeling is carried out according to stock market basic data and a plurality of selection indexes, and primitive data corresponding to each index are obtained.
In step 101, the stock market basic data includes closing price, opening price, highest price, lowest price, volume of bargain and/or volume of bargain, and a group of primitive data includes time of an index and corresponding value; the stock market basic data can be provided by a market server, the primitive data can be obtained by modeling the stock market basic data according to a certain rule by a handheld terminal, and generally, all key information of an index is completely described by one primitive data model. Preferably, the stock market basic data is the data after the weight is removed.
In step 101, a stock market data request command sent by a handheld terminal or other devices includes: obtaining the information of stocks or indexes selected by a user, such as the upper syndrome index 000001; acquiring cycle information selected by a user, such as a 1 minute cycle, a 5 minute cycle, a day cycle and the like; acquiring the right removing information selected by the user, such as right removing, right returning and the like; the hand-held terminal transmits the information as a request instruction.
In step 101, the stock market basic data is received by the handheld terminal, and the market server obtains the request instruction sent by the handheld terminal and sends the market basic data to the handheld terminal. For example, the stock market basic data includes: daily opening price taking the daily cycle as an example, daily maximum price taking the daily cycle as an example, daily minimum price taking the daily cycle as an example, daily closing price taking the daily cycle as an example, daily volume taking the daily cycle as an example, and daily volume taking the daily cycle as an example.
In step 101, the market server provides basic data of stock market, which includes: the data source is the exchange, and the data of a plurality of exchanges is uniformly integrated into a data structure through a data server (market server) to uniformly form data pushing opportunity. The handheld terminal uses the basic data of the 'subscription' request, the 'subscribed' request is provided by the data server for data push once, and the data is pushed immediately after the real-time market change, so that the advantages are as follows: multiple exchange data are integrated, and push in a subscription mode is carried out.
After receiving the basic data, the handheld terminal carries out modeling according to a specified rule and converts the basic data into a plurality of specified groups of index data, and the index data have certain characteristics such as time and one or more numerical values. And (4) submitting the converted multiple groups of index data to a chart for graphic drawing and displaying to a user. The advantages are that: modeling can be carried out according to the selection of a terminal user, and a chart drawing graph is visually displayed.
In step 101, the handheld terminal performs modeling based on stock market basic data and configured index combinations to obtain multiple groups of primitive data.
Specifically, the handheld terminal device obtains the stock market basic data from the server, and simultaneously obtains the index combination selected by the user, such as a K line, a 3-day average line, a 10-day average line, an RSI and the like; and modeling the index data according to the stock market basic data and the selected index combination to obtain the primitive data of a plurality of indexes.
A group of primitive data comprises an index of time and corresponding values, specifically: and the time data comprises a timestamp describing time and at least one value attribute describing key information of the index, such as closing price, opening price, highest price, lowest price, volume of bargaining and/or volume of bargaining.
In step 101, different indexes describe different features of market data, and the configured index combination should be of a ruler type with the same unit, and the ruler type includes two types: stock prices and stock volume.
In step 101, modeling is performed according to stock market basic data and a plurality of selection indexes to obtain corresponding primitive data.
Specifically, the input of the model is the stock basic quotation data and a plurality of indexes selected by a user; the output of the model is primitive data comprising time and specific index values; the modeling process can adopt the existing index model building method, for example, each index should have its determined calculation rule, for example, the 7-day average line index is the average value of the closing prices of the current day and 6 days before the current day as the index value of the current day, and each index obtains a set of primitive data of the index through its determined calculation rule.
It should be noted that each index corresponds to a group of primitive data, each group of primitive data is a set of data items, and each data item includes timestamp information describing the index and data information describing a numerical value of the index. When multiple groups of primitive data are combined, the data items in each group are aligned according to the time stamps of the data items, and the graphs are aligned according to the time stamps on the graphs when the primitive data models of each group are displayed, so that the obtained multiple groups of primitive data models are aligned according to the time stamps, and the values of multiple index graphs in each longitudinal unit area on the graphs are all one time.
In step 101, data exchange between the handheld terminal and the market information server uses long connection based on TCP, and transmitted data uses a byte stream format, which greatly reduces occupation of network bandwidth compared with JSON/XML/ProtoBuf and other formats, thereby improving speed transmission speed, and enabling the handheld terminal to display index data more timely.
The data are requested from the market information server by the handheld terminal in a subscription mode by using a byte stream communication mode of basic TCP long connection, the handheld terminal immediately acquires the data of the market information server after subscription, and the market information server sends updated data to the handheld terminal when the market information data is updated; the handheld terminal immediately takes the data as the input of a data modeling process after obtaining the data, and the index drawing module finishes drawing the graph after modeling, and the processes form the complete process of the method.
The subscription type transmission mode based on the TCP ensures the timeliness of data; if the method is not suitable for the conventional request-response type HTTP transmission method, the handheld terminal requests data updating in a polling mode, so that the timeliness of the data cannot be guaranteed, network resources are wasted during the period of non-opening of the stock market, and additional resource overhead (CPU, memory, heating and the like) of the handheld terminal is caused.
In data acquisition, when data of an exchange changes, acquisition and recording are carried out immediately; in data transmission, a request for subscribing based on TCP long connection is used, and the changed data associated with the subscribed handheld terminal can immediately obtain updated data; in the data display process, each group of primitive data is respectively calculated and returned during modeling, and the situation that the data display is not in time caused by the increase of the number of configured indexes is avoided.
And 102, judging the type of the scale for the index unit of the primitive data, and drawing multiple groups of primitive data with the same type of the scale in one graph to obtain a plotted graph, wherein the abscissa of the plotted graph is time, and the ordinate is a scale value.
In step 102, the scale type of the index unit includes the stock price and the stock volume, i.e., the index map includes two types, one is a graph based on the stock price and the other is a graph based on the stock volume.
In step 102, the coordinate system X time axis and Y numerical axis of the plotting chart are calculated according to the primitive data, and the coordinate system and the network line are rendered.
The X axis is a time range, and a user can set a range of the displayed index data on the handheld terminal, namely a timestamp of the first piece of data and a timestamp of the last piece of data which need to be displayed, so as to obtain the X axis range of the index chart; and taking out key information data to be drawn according to the x-axis time range, and dividing the x-axis width range occupied by drawing each data in the chart.
The Y axis is a numerical range, all numerical attributes in the set range in the primitive data of the multiple indexes are taken out, the maximum value and the minimum value of the numerical values in the multiple indexes are calculated, and the Y axis range of the index chart is obtained; and according to the range of the y-axis value, converting the graph to draw the corresponding relation between the median and the coordinate point.
In order to facilitate a user to observe the index chart, the x axis is divided into a plurality of parts equally, time points are marked, and a dotted line mode is used as a grid line; the y-axis is divided into several halves, and the price or the quantity is identified and used as a network line in a dotted line mode.
In step 102, multiple groups of primitive data with the same ruler type are plotted in one graph to obtain a plotted graph, wherein different indexes can adopt a specific plotting mode or an optional plotting mode.
For example, the key information in the primitive data of the K line graph contains the opening price, the closing price, the highest price and the lowest price; the line graph comprises a description of a price or a volume in the key information in the graphic element data model; the key information in the graphic element data model of the histogram comprises a description of a price or a quantity; the energy graph comprises a description of an energy percentage of key information in a graphic primitive data model; the variable color line graph should contain a color change threshold in addition to key information in the line graph.
The plotting chart may include any one of the above-described drawing methods, or may include any combination of plural kinds of the above-described drawing methods.
The single index drawing method is realized by confirming a graph drawing method according to the index type, taking out key information data to be drawn according to an x-axis time range, dividing an x-axis width range occupied by each data in drawing in a chart, and converting the corresponding relation between a graph drawing median and a coordinate point according to a y-axis value range; and according to a graph drawing method, sequentially drawing the key information data from the left to the right of the x axis to finish drawing.
If the index mapping chart contains a plurality of indexes, units of key information described by the indexes need to be consistent, such as stock prices and stock volume.
In step 102, all indexes may be modeled and then drawn, or the index unit of each group of the primitive data may be immediately drawn after judging the type of the ruler.
When a user sets and displays a plurality of indexes, the modeling process can be used for modeling for each index, the process is serial, namely, each index is modeled in sequence, therefore, all indexes can be modeled and then graphically drawn, and a mode of returning for many times can be adopted, one index is modeled and then graphically drawn immediately, and then a second index is modeled.
And a mode of returning for multiple times is adopted, namely, after modeling of each index is completed, the modeling result is drawn, and the timeliness can be improved.
In step 102, the index plot drawing is a hierarchical structure, only the layer with data update is changed during drawing each time, and the index plot drawing comprises: the graph frame layer is used for displaying the coordinate axes of the graph; the plotting layer is used for displaying the numerical value of the graphic primitive data; the cross cursor layer is used for displaying the last or currently selected graphic element data; and the user interaction layer is used for receiving the operation interaction requirement.
The layered display structure drawn by the indexes can improve the refresh display efficiency of the index graph, and the indexes and other elements in the graph and interactive processing are processed in a layered mode to improve the refresh display efficiency.
It should be noted that the range of the graphic coordinate axis of the graphic frame layer can be set manually or according to the primitive data; the index plotting layer is used for plotting graphs of a plurality of indexes, the indexes with the same index unit scale are plotted in the same graph, and whether the indexes are plotted or not can be manually selected; the cross cursor layer is used for displaying the last or currently selected index data and displaying a cross cursor in the long-pressing process of the index graph; the user interaction layer: and the system is used for receiving the operation interaction of the user, such as moving the display area, enlarging and reducing the display range, long-pressing the cross cursor display and the like.
The advantage of this hierarchical rendering is that each rendering process does not necessarily require rendering for each layer, but only for layers that need to be redrawn.
Step 103, binding the set of the ruler type and the index type of the multiple groups of primitive data into a data family, and generating first identification information.
In step 103, a data family is configured through the handheld terminal, and is used for binding the ruler types and the index types of the multiple groups of primitive data into a set, so as to facilitate data indexing.
The handheld terminal is configured into a data family, so that customized services can be provided for users conveniently. When a specific user uses a specific handheld terminal, the specific user usually pays attention to a specific data family with higher frequency and pays attention to other index data with lower frequency; when the generated plurality of first identification information correspond to a plurality of data families, the handheld terminal and the market server are convenient to exchange stock data corresponding to the concerned data family preferentially through the indication of the first identification information without globally updating the stock data, and the data transmission, storage and processing efficiency of the part of data family which is often concerned by the user is obviously improved.
It should be noted that, in step 101, the stock market data request command sent by the handheld terminal or other device may further include the first identification information and/or a data family definition corresponding to the first identification information. When the stock market data request command contains the first identification information, the requested data contains the corresponding stock market basic data, and preferably, the requested data is limited to the stock market basic data corresponding to the first identification information. When the stock market data request instruction contains the data family definition corresponding to the first identification information, the stock market data request instruction informs the market server, and the data family corresponds to the ruler types and the index types, so that the service configuration information of the handheld terminal is transferred to the market server.
It should be noted that the first identification information is also transmitted in real time by means of byte stream communication of the underlying TCP long connection. Therefore, the stock market data can be searched from the stock market data by the market server according to the received first identification information.
It should be noted that, when the drawing is performed in step 102, if the ruler type is determined for each group of index units of the primitive data, the drawing is performed immediately, and when the drawing is updated, the corresponding stock market basic data is transmitted according to the first identification information, so as to update the primitive data.
It should be noted that the above steps 101 to 103 do not limit the continuous relationship, and can be operated circularly.
The invention provides a stock technical index display method, which can be used for customizing display services on a handheld terminal or other terminal equipment, integrating market data of a plurality of transaction platforms into a unified structure in data acquisition, and acquiring and transmitting the data according to the requirements of the customized system services; in the data display process, market data with a unified structure is used as input of primitive data modeling, the modeling configuration information is from used configuration and comprises a plurality of index graphs which need to be drawn, each index graph comprises a plurality of indexes and configurable parameters of each index, and the index data modeling module performs modeling in a grading mode according to input market basic data and configuration information to obtain a plurality of groups of index primitive data; in the data display process, after index primitive data are obtained by modeling each time, the primitive data of the index graph are drawn, each group of primitive data is a combination of a plurality of graphs (such as broken lines, columns, filling lines and the like), and a combined graph of the technical index is obtained after drawing.
FIG. 2 is a flow chart of an embodiment of a stock index display method including second identification information,
step 201, integrating the stock market data of different data formats and data updating frequencies from different exchanges to obtain the stock market basic data.
In step 201, stock market data from different exchanges may be data-integrated by a market server.
Specifically, the market data of a plurality of exchanges (such as an exchange, a deep exchange and a new three-plate exchange) are integrated by the market server, the data differences of the exchanges are shielded by the market server, the integrated fields comprise opening price, closing price, lowest price, highest price, volume of bargain and the like, and simultaneously carry a data conversion digit, the handheld terminal only needs to perform division operation according to the digit field to obtain a correct display numerical value, the differences of data of different exchanges do not need to be processed, the complexity of processing the data by the handheld terminal is greatly reduced, and the efficiency of the handheld terminal on the scene is improved.
For example, the stock market data and the data conversion digit are received by the handheld terminal, and the stock market data is divided by the corresponding data conversion digit to obtain the stock market basic data.
By integrating the stock market data, the data of different formats and different transmission frequencies of different exchanges can be processed uniformly according to time and formats, so that the data of fixed format and transmission frequency can be obtained, the data volume is reduced, and the data processing efficiency is improved.
Step 202, modeling is carried out according to stock market basic data and a plurality of selection indexes, and primitive data corresponding to each index are obtained.
And 203, judging the type of the scale for the index unit of the primitive data, and drawing multiple groups of primitive data with the same type of the scale in one graph to obtain a plotted graph, wherein the abscissa of the plotted graph is time, and the ordinate is an index value.
Step 204, binding the set of the ruler types and the index types of the multiple groups of primitive data into a data family, and generating first identification information.
Steps 202 to 204 are the same as steps 101 to 103 above, and will not be described further.
Step 205, determining the index type and the scale type of the data family according to the first identification information.
In step 205, the first identification information is received by the market server, and the index type and the scale type of the data family are determined.
And step 206, selecting the stock market data from the stock market data according to the index type and the scale type of the data family, generating second identification information for the index type of the stock market data, and updating the stock market basic data.
In step 206, selecting the stock market data by the market server according to the index type and the scale type of the data group determined by the first identification information, generating second identification information for the index type of the changed data, updating the stock market basic data, and sending the updated stock market basic data to the handheld terminal.
Further, the method further comprises: and repeating one or more steps in the steps 202-206 according to the updated stock market basic data, wherein the plotting drawing is of a layered structure, and only the drawing layer updated by the data is changed according to the second identification information during drawing each time.
Preferably, the second identification information includes a name of the index type and/or a name of the stock market data.
In the stock technical index display method provided by the invention, when the stock market data corresponding to the selected index type is changed, the second identification information is generated and used for pointing to the changed index type, so that the data family can be updated in real time, and better user experience is achieved; in addition, only the layer with the updated data is changed during drawing according to the second identification information, so that the drawing efficiency is improved.
Fig. 3 is a diagram of an embodiment of a stock technical index display system, which can be used in any one of the method embodiments of the present invention, and in particular, the stock technical index display system includes: a hand-held terminal 10 and a market server 20.
The handheld terminal is used for modeling according to stock market basic data and a plurality of selection indexes to obtain primitive data corresponding to each index; the system is used for drawing multiple groups of primitive data with the same ruler type in one graph to obtain a finger plotting drawing; and the set of the ruler type and the index type of the multiple groups of primitive data is bound into a data family, first identification information is generated, and the first identification information is sent to the market server.
The market server is used for receiving the first identification information and determining the index type and the scale type of the data family; the stock market data acquisition device is used for carrying out data integration on stock market data with different data formats and data updating frequencies from different exchanges, and selecting the stock market data according to the index type and the scale type of the pixel data family to obtain the stock market basic data; and generating second identification information according to the index type of the changed data.
Preferably, the market server generates a data family index containing the first identification information and the data family definition from the plurality of handheld terminals and stores the data family index in the service database. Further, the first identification information and the data family definition in the service database may also be preset.
Further preferably, the market service database sorts the data family index, the first identification information or the data family, and performs data collection and transmission processing according to priority.
Further preferably, the market service database performs statistics and optimization processing on the data family, generates a standard data family definition, and updates the service database. The data family definition of the specification may include, for example: selecting a commonly used data family according to the statistic value, selecting a commonly used index type and a ruler type according to the statistic value, and selecting a cut set or a union set of the data families uploaded by the handheld terminal (or other terminals).
In the embodiment of the invention, the market server integrates the data formats and the data updating frequencies of a plurality of stock trading markets, the difference of data of each trading market is transparent to the handheld terminal, and the handheld terminal inputs a uniform data structure in the modeling process to complete the modeling process; if the modeling process uses a differentiated data structure as input, the modeling process cannot be completed and the compatible market cannot be effectively expanded due to the fact that a unified index operation formula is used in the modeling process, namely the modeling process is strongly coupled with each large-transaction market.
In the embodiment of the invention, the market server integrates the customized service requirements from a plurality of handheld terminals and generates the service database, wherein the service database comprises the first identification information and the data family definition corresponding to each handheld terminal, thereby realizing customized service, reducing data burden and improving data transmission and processing efficiency.
Further, the market server is further configured to send the second identification information; sending stock market basic data corresponding to the first identification information and/or the second identification information; the handheld terminal is further used for receiving stock market basic data corresponding to the first identification information and/or the second identification information; second identification information is received.
Further, the handheld terminal is further configured to receive corresponding stock market basic data according to the first identification information, and update the primitive data.
Further, the handheld terminal is further configured to change the image layer with the data update according to the second identification information.
In the above process, it can be understood that the indicator type corresponding to the second identification information may be included in the data family corresponding to the first identification information, and therefore, the market server may also transmit only the second identification information and the corresponding stock market basic data to the handheld terminal, and at this time, the handheld terminal may receive the corresponding stock market basic data, update the primitive data, and change the layer with data update according to the second identification information.
That is to say, in the invention, the market quotation server knows the configuration of the handheld terminal to the data family, and searches the stock market quotation basic data from the stock market quotation data according to the requirement; the handheld terminal knows which data in the data collected by the market server change, and only updates the changed data layer. The working process of the system is also reflected in the embodiments of steps 101 to 103, 201 to 206, and is not described herein again.
Fig. 4 is an embodiment of a stock technical index display apparatus, which can be used to implement any one of the above method embodiments, and specifically, the stock technical index display apparatus includes: a receiving selection module 11, a configuration module 12, a calculation module 13, a drawing module 14 and a sending module 15.
The receiving selection module is used for receiving second identification information, stock market basic data and indexes drawn by selecting modeling; the configuration module is used for setting the data family and generating the first identification information; the computing module is used for modeling according to the stock market basic data and a plurality of selection indexes to obtain corresponding primitive data; the drawing module is used for judging the type of the scale for the index unit of the primitive data and drawing the primitive data with the same scale type in a graph to obtain an index plotting drawing; the drawing updating module is further used for updating the drawing according to the first identification information and the second identification information; the sending module is used for sending the first identification information and the definition of the corresponding data family.
The working process of each module is described in detail in the embodiment of the method of the invention.
In the embodiment of the invention, the modeling is performed through the calculation module, because if the modeling process is placed in the market conditions server, the user selects different index parameters and index combinations, the market conditions server needs to perform index modeling for each user, and the concurrency performance cannot be guaranteed, that is, each time the user switches the index combinations or index combinations, the user needs to request the market conditions server to request data, and the data display is not timely enough due to the time consumption of network transmission.
Therefore, the modeling process is put in the calculation module, and a user can directly model according to the current market basic data to obtain new index combination data when switching indexes.
In this embodiment, the user may move the x-axis time range by means of a gesture or a button, increase or decrease the number of data displayed on the x-axis by means of a gesture or a button, and view a specific numerical value of the index data by means of a gesture or a button.
The user can also configure parameters of the modeling process of the index or add a new modeling algorithm, and the user can set a plurality of line-sharing indexes, such as 2-day line-sharing and 30-day line-sharing.
After the setting is completed, the user can also set the data family as a common data family, and the handheld terminal reserves all model configuration information of the data family to generate first identification information.
In a further preferred embodiment, the user can also query the market server through the handheld terminal to select a data family from the service database, such as a normative data family, a preset data family, and a data family uploaded by other terminals.
The invention also provides a handheld terminal and a market information server supporting the stock technical index display device, which are not described again in the embodiment shown in fig. 3. In addition, the stock technical index display device can also be other terminal equipment or equipment integrating a terminal and a server.
The method, the device and the system provided by the embodiment of the invention have the following innovation points: firstly, the display data family is customized through the handheld terminal, so that the customized service of batch data updating is realized through a network, and the data acquisition efficiency is improved; secondly, in at least one embodiment of the invention, the stock market basic data, the first identification information and the second identification information are received in a network mode, and when the exchange data changes, the data received by the method is updated immediately, so that the real-time performance is strong and the accuracy is high; thirdly, in the data acquisition, market data of a plurality of transaction platforms are integrated into a unified structure, market technical data of the unified structure is used as input of primitive data modeling in the data display process, modeling configuration information comes from the used configuration, a plurality of selected indexes can be drawn in the same graph, index comparison is facilitated, each index is immediately drawn after modeling, and data display failure caused by index increase is avoided; fourthly, in the data display process, the display device has a layered display structure, and when indexes change, only the changed layers can be updated, so that the efficiency of increasing the index graph refreshing display is improved.
It is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A stock technical index display method is characterized by comprising the following steps:
modeling according to stock market basic data and a plurality of selection indexes to obtain primitive data corresponding to each index;
judging the type of a scale for the index unit of the primitive data, and drawing multiple groups of primitive data with the same type of the scale in one graph to obtain a plotted drawing, wherein the abscissa of the plotted drawing is time, and the ordinate is a scale value;
binding the set of the ruler types and the index types of the multiple groups of primitive data into a data family to generate first identification information;
the stock quotation basic data comprise closing price, opening price, highest price, lowest price, volume of bargain and/or volume of bargain, a group of primitive data comprise time and corresponding numerical value of an index, and the scale type of an index unit comprises stock price and volume of stocks.
2. The method of displaying a stock technical index of claim 1, wherein the method further comprises:
integrating the stock market data with different data formats and data updating frequencies from different exchanges to obtain the stock market basic data;
determining the index type and the scale type of the data family according to the first identification information;
and selecting the stock market data from the stock market data according to the index type and the scale type of the data family, generating second identification information for the index type of the changed data, and updating the stock market basic data.
3. The stock technical index presentation method of claim 1, wherein the first identification information, the second identification information, and stock market underlying data are transmitted in real time using a byte stream communication manner of an underlying TCP long connection.
4. The stock technical index display method of claim 1, wherein the type of the ruler is determined for each group of the index unit of the graphic primitive data and then drawing is performed immediately;
and when the drawing is updated, transmitting the corresponding stock market basic data according to the first identification information, and updating the primitive data.
5. The stock technical index display method of claim 1, wherein the index plot is a hierarchical structure, and a layer with data update is changed according to the second identification information every time drawing.
6. A stock technical index display system for realizing the method of any one of claims 1 to 5 is characterized by comprising a handheld terminal and a market server;
the hand-held terminal is used for
Modeling according to stock market basic data and a plurality of selection indexes to obtain primitive data corresponding to each index;
drawing multiple groups of primitive data with the same ruler type in one graph to obtain a plotting drawing;
binding the set of the ruler types and the index types of the multiple groups of primitive data into a data family, generating first identification information, and sending the first identification information to the market server;
the market server is used for
Receiving the first identification information, and determining the index type and the scale type of the data family;
integrating the stock market data with different data formats and data updating frequencies from different exchanges, and selecting the stock market data according to the index type and the scale type of the primitive data group to obtain the stock market basic data;
and generating second identification information for the index type of the changed data.
7. The stock technical index presentation system of claim 6,
the market server is also used for
Sending the second identification information;
sending stock market basic data corresponding to the first identification information and/or the second identification information;
the hand-held terminal is also used for
Receiving stock market basic data corresponding to the first identification information and/or the second identification information;
second identification information is received.
8. The stock technical index presentation system of claim 6,
and the handheld terminal is further used for receiving corresponding stock market basic data according to the first identification information and updating the primitive data.
9. The stock technical index presentation system of claim 6,
and the handheld terminal is further used for changing the image layer with the data update according to the second identification information.
10. A stock technical index display device for realizing the stock technical index display method of any one of claims 1 to 5, comprising:
the receiving selection module is used for receiving the second identification information, the stock market basic data and selecting indexes drawn by modeling;
the configuration module is used for setting the data family and generating the first identification information;
the calculation module is used for modeling according to the stock market basic data and a plurality of selection indexes to obtain corresponding primitive data;
the drawing module is used for judging the type of the scale for the index unit of the primitive data and drawing the primitive data with the same scale type in a graph to obtain an index plotting drawing; the drawing updating module is further used for updating the drawing according to the first identification information and the second identification information;
a sending module, configured to send the first identification information and the definition of the corresponding data family.
CN202110269996.6A 2021-03-12 2021-03-12 Stock technical index display method, device and system Pending CN112884349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110269996.6A CN112884349A (en) 2021-03-12 2021-03-12 Stock technical index display method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110269996.6A CN112884349A (en) 2021-03-12 2021-03-12 Stock technical index display method, device and system

Publications (1)

Publication Number Publication Date
CN112884349A true CN112884349A (en) 2021-06-01

Family

ID=76041177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110269996.6A Pending CN112884349A (en) 2021-03-12 2021-03-12 Stock technical index display method, device and system

Country Status (1)

Country Link
CN (1) CN112884349A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114027877A (en) * 2021-11-30 2022-02-11 深圳迈瑞动物医疗科技有限公司 Ultrasonic equipment and ultrasonic image measurement scale generation method
WO2022262440A1 (en) * 2021-06-17 2022-12-22 富途网络科技(深圳)有限公司 Data comparison method and apparatus, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377774A (en) * 2007-08-31 2009-03-04 上海证券交易所 System and method for pre-analyzing according to relationship between metadata and data object
CN108345623A (en) * 2017-01-23 2018-07-31 腾讯科技(北京)有限公司 Data processing method and terminal
CN109254976A (en) * 2017-07-11 2019-01-22 中国移动通信集团北京有限公司 A kind of method for drafting of figure, device, electronic equipment and storage medium
CN109389507A (en) * 2017-08-10 2019-02-26 三竹资讯股份有限公司 Apparatus and method for stock technical index reference table
CN110059267A (en) * 2019-03-01 2019-07-26 平安科技(深圳)有限公司 Methods of exhibiting, device, computer equipment and the storage medium of data analysis result

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377774A (en) * 2007-08-31 2009-03-04 上海证券交易所 System and method for pre-analyzing according to relationship between metadata and data object
CN108345623A (en) * 2017-01-23 2018-07-31 腾讯科技(北京)有限公司 Data processing method and terminal
CN109254976A (en) * 2017-07-11 2019-01-22 中国移动通信集团北京有限公司 A kind of method for drafting of figure, device, electronic equipment and storage medium
CN109389507A (en) * 2017-08-10 2019-02-26 三竹资讯股份有限公司 Apparatus and method for stock technical index reference table
CN110059267A (en) * 2019-03-01 2019-07-26 平安科技(深圳)有限公司 Methods of exhibiting, device, computer equipment and the storage medium of data analysis result

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262440A1 (en) * 2021-06-17 2022-12-22 富途网络科技(深圳)有限公司 Data comparison method and apparatus, device and storage medium
CN114027877A (en) * 2021-11-30 2022-02-11 深圳迈瑞动物医疗科技有限公司 Ultrasonic equipment and ultrasonic image measurement scale generation method

Similar Documents

Publication Publication Date Title
CN107256265B (en) A kind of search-engine results data visualization methods of exhibiting and system
CN108197237B (en) Visual data acquisition and display system
CN106682218B (en) Industrial enterprise Web data graphical system and generation method
CN108874757B (en) Report generation method and system, computer readable medium and electronic equipment
US20190108265A1 (en) Visualizing time metric database
CN108281012B (en) Display method and device of traffic flow data, storage medium and electronic device
CN111414405A (en) Data acquisition method and device and electronic equipment
CN115081414B (en) Spreadsheet generation method, device, equipment and medium based on data model
KR101887594B1 (en) Cloud network based data visualization method and apparatus
CN110008296A (en) A kind of system and method for fast construction geographic information data application
CN112884349A (en) Stock technical index display method, device and system
CN108961406A (en) Geographical information visualization method, apparatus and user terminal
CN110941634A (en) Data processing method and device, storage medium and electronic device
CN105023139A (en) Onsite collection method and device of enterprise quality data
CN111401023B (en) Report generation method, report generation device, server and storage medium
CN111694883A (en) Historical geographic information data visualization system
EP2830289B1 (en) Adaptable reporting in a multi-client telecommunication network
CN115238659A (en) Report data processing method and device
CN113256473B (en) Three-dimensional model format conversion method and device, electronic equipment and system
CN101635711A (en) Programmable character communication method
CN110262973B (en) Data maintenance method, device, equipment and computer storage medium
CN112000669A (en) Environment monitoring data processing method and device, storage medium and terminal
CN112749359A (en) Page visual management system, method and storage medium
CN112698898A (en) Method and system for generating thermodynamic diagram snapshot of play box terminal
CN115826950B (en) Online form page development application system and data processing method

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