CN110928615B - Order data display method, device, equipment and computer readable medium - Google Patents

Order data display method, device, equipment and computer readable medium Download PDF

Info

Publication number
CN110928615B
CN110928615B CN201911008545.6A CN201911008545A CN110928615B CN 110928615 B CN110928615 B CN 110928615B CN 201911008545 A CN201911008545 A CN 201911008545A CN 110928615 B CN110928615 B CN 110928615B
Authority
CN
China
Prior art keywords
order data
display
data
value
order
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.)
Active
Application number
CN201911008545.6A
Other languages
Chinese (zh)
Other versions
CN110928615A (en
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.)
Shenzhen Futu Network Technology Co Ltd
Original Assignee
Shenzhen Futu Network 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 Shenzhen Futu Network Technology Co Ltd filed Critical Shenzhen Futu Network Technology Co Ltd
Priority to CN201911008545.6A priority Critical patent/CN110928615B/en
Publication of CN110928615A publication Critical patent/CN110928615A/en
Application granted granted Critical
Publication of CN110928615B publication Critical patent/CN110928615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a display method of order data, which comprises the following steps: analyzing first target data from the order data; determining identification display parameters of the order data according to the first target data and the corresponding set threshold value; the order data and the identification display parameters are loaded to a display template of the order data, a display model of the order data is generated and sent to a display terminal, so that the display terminal can display the order data according to the display model, the technical problems that in the prior art, a user is difficult to quickly and accurately select an optimal order from existing security software to conduct transaction, and further the income and experience of the user are affected are solved, the optimal order is marked for the user automatically, and the user can check the selected technical effect conveniently are achieved.

Description

Order data display method, device, equipment and computer readable medium
Technical Field
The present application relates to the field of order processing technologies, and in particular, to a method, an apparatus, a device, and a computer readable medium for displaying order data.
Background
At present, along with the continuous development of the economy in China, the stock market has quite large scale, the number of stakeholders is also increasing, and in order to facilitate the stakeholders to check the stock market quotations in real time, the application of stock software is also increasing.
However, under the existing stock software, when a user wants to check a trade order of a certain stock, especially when he wants to purchase the stock, it is difficult to quickly and accurately select the most ideal order from the display page provided by the current stock software for trade, and the change of stock quotation is real-time, so that the income and experience of the user are directly affected by the speed of order selection.
Disclosure of Invention
In order to solve the technical problem that the conventional security software is difficult to quickly and accurately select the optimal order for trade, and further influence the income and experience of a user, the application provides a method, a device, equipment and a computer readable medium for displaying order data.
In a first aspect, the present application provides a method for displaying order data, including:
analyzing first target data from the order data;
determining identification display parameters of the order data according to the first target data and the corresponding set threshold value;
and loading the order data and the identification display parameters to a display template of the order data, generating a display model of the order data and sending the display model to a display terminal so that the display terminal can display the order data according to the display model.
Optionally, the display template further includes a background color display unit, and correspondingly, the method further includes:
analyzing second target data from the order data;
determining a background color display parameter according to the second target data and the first target data;
and loading the background color display parameters to the background color display unit.
Optionally, determining the background color display parameter according to the second target data and the first target data includes:
determining a color array corresponding to the order data to be displayed currently according to the corresponding relation between the preset second target data and the color array;
acquiring an index value of the order data to be displayed currently;
and determining the found color value and the found color value in the corresponding color array according to the index value as the background color display parameter.
Optionally, the method further comprises:
judging whether the first target data in the order data to be displayed currently is the same as the first target data in the last order data;
and if the first target data in the order data to be displayed currently is the same as the first target data in the last order data, determining that the background color parameter corresponding to the order data to be displayed currently is the same as the background color parameter of the last order data.
Optionally, before obtaining the index value of the order data to be currently displayed, the method further includes:
ordering all the order data to be displayed according to a preset ordering rule, and determining an ordering value of the current order data to be displayed;
acquiring the number of colors in a color array corresponding to the order data to be displayed currently;
calculating the remainder of the integer division of the sorting value by the number of the colors;
and determining the remainder as an index value of the order data to be displayed currently.
Optionally, the display template further includes a bar graph display unit, and correspondingly, the method further includes:
analyzing a third target data value from the order data;
determining a bar graph display parameter according to the third target data value;
and loading the bar graph display parameters to the bar graph display unit.
Optionally, determining a bar graph display parameter according to the third target data value includes:
inquiring a maximum parameter value corresponding to the third target data in the order data to be displayed;
calculating a ratio value of a parameter value corresponding to the third target data of the order data to be displayed currently to the maximum parameter value;
and determining the scale value as the bar graph display parameter.
In a second aspect, the present application also provides a display device for order data, including:
the first analyzing unit is used for analyzing first target data from the order data;
the first determining unit is used for determining the identification display parameters of the order data according to the first target data and the corresponding set threshold value;
and the loading generation unit is used for loading the order data and the identification display parameters to a display template of the order data, generating a display model of the order data and sending the display model to a display terminal so that the display terminal can display the order data according to the display model.
In a third aspect, the present application also provides a display device for order data, comprising a memory, a processor, the memory storing a computer program executable on the processor, wherein the processor implements the steps of the method according to any of the first aspects when executing the computer program.
In a fourth aspect, the present application also provides a computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of the first aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the application provides a display method of order data, which comprises the steps of firstly analyzing first target data from the order data; then, according to the first target data and the corresponding set threshold value, determining the identification display parameters of the order data; and then loading the order data and the identification display parameters into a display template of the order data, generating a display model of the order data and sending the display model to a display terminal so that the display terminal can display the order data according to the display model, thereby generating the display model comprising the identification display parameters, facilitating automatic marking of a preferred order for a user, and facilitating viewing and selection of the user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flowchart of a method for displaying order data according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a display template of order data according to an embodiment of the present application;
FIG. 3 is a flowchart of another method for displaying order data according to an embodiment of the present application;
FIG. 4 is a flowchart of a method for determining background color display parameters according to second target data and first target data in step S5 according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for displaying order data according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for displaying order data according to an embodiment of the present application;
FIG. 7 is a flowchart of another method for displaying order data according to an embodiment of the present application;
FIG. 8 is a flowchart of a method for determining a histogram display parameter according to a third target data value in step S10 according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a display device for order data according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a drawing process of a display model of order data according to an embodiment of the present application;
FIG. 11 is a flow chart of a background color rendering of order data according to an embodiment of the present application;
FIG. 12 is a flow chart of a drawing process of a bar chart of order data provided by an embodiment of the present application;
fig. 13 is a schematic diagram showing order data according to an embodiment of the present application.
Icon:
10-a first parsing unit; 20-a first determination unit; 30-load generation unit.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
At present, along with the continuous development of the economy in China, the stock market has quite large scale, the number of stakeholders is also increasing, and in order to facilitate the stakeholders to check the stock market quotations in real time, the application of stock software is also increasing.
However, under existing stock software, when a user wants to check a trade order of a certain stock, especially when he wants to purchase the stock, it is difficult to quickly and accurately select an optimal order from a display page provided by the current stock software to trade, and the change of stock quotation is real-time, so that the speed of order selection directly affects the income and experience of the user.
For easy understanding, first, an embodiment of the present application is described to provide a method for displaying order data, referring to fig. 1, which may include the following steps:
step S1, analyzing first target data from order data;
step S2, determining identification display parameters of order data according to the first target data and the corresponding set threshold value;
and S3, loading the order data and the identification display parameters into a display template of the order data, generating a display model of the order data, and sending the display model to a display terminal so that the display terminal can display the order data according to the display model.
Specifically, in some embodiments of the present application, the order data may include data characterizing attributes of various aspects of the order, the first target data may be the data characterizing attributes of certain aspects of the order, and the first target data is data that is considered by a user when making an order selection, where, as an example, in some embodiments of the present application, the order data may refer to stock order data, where the stock order data may include the following data: stock identification, exchange name, commission price value, commission value, etc.; the corresponding first target data may be a commission price value that the user is concerned with, for some users concerned with commission values, the first target data may also be a commission value, for some users concerned with order time, the first target data may also be order time, and in particular, without limitation.
In some embodiments of the present application, the set threshold may be preset data for comparing with the first target data, where, as described in the above examples, when the first target data is a consignment price value of a stock order, the set threshold may refer to a set price value set by a user and used for comparison with the consignment price value, which is set according to a requirement of the user, or may be a current real-time optimal report value of the stock obtained from the outside, where, the real-time optimal report value may refer to buying or selling the stock on the current market, where, buying or is the order data with the highest consignment price value in the stock order consigned at the current moment; the selling step is order data with the lowest consignment price value in stock orders consigned to be sold at the current moment; in the united states, the current market of stocks may be provided directly by a special authority that integrates the stock's quote information at all exchanges, where, preferably, the real-time optimal reporting value may be to rank all exchanges' buying versus selling with the commission price value, with the commission price value highest being the real-time optimal reporting value for the buying plate and the commission price value lowest being the real-time optimal reporting value for the selling plate.
In some embodiments of the present application, the identification display parameters of the order data may refer to parameters used to characterize the display identification of the order data; the identifier display parameter may be a parameter representing whether to display an identifier, or may be a parameter specifically defining a specific data display identifier, for example, the identifier display parameter may include a display identifier and a non-display identifier, so that a user may intuitively select order data with the display identifier; or, different display identifiers are defined correspondingly by different identifier display parameters, and the display identifiers can comprise special symbol identifiers such as underlines, color identifiers, five-pointed star identifiers and the like, wherein the predefined underline identifiers correspond to price preferred order data, the predefined color identifiers correspond to preferred order data corresponding to commission value price values, and the predefined five-pointed star identifiers correspond to order time preferred order data, so that a user can directly select price preferred or commission value preferred or order time preferred order data according to actual needs of the user.
In some embodiments of the present application, the display template may refer to a template for displaying order data, and the display model may refer to a data model generated by loading order data and identifying display parameters to the display template for controlling the display of order data. The display terminal may refer to a terminal or device for displaying order data, and may refer to a mobile phone, a computer, or other devices capable of displaying order data, for example.
As described in the above example, when the order data is stock order data, a display template as shown in fig. 2 may be predefined, and the exchange name, the commission price value, and the commission amount value may be included in the display template.
According to the embodiment of the application, the first target data can be analyzed from the order data, the identification display parameters of the order data can be determined according to the first target data and the corresponding set threshold value, further, the order data and the identification display parameters can be loaded to the display template of the order data, so that a display model of the order data is generated and sent to the display terminal, the display terminal can display the order data according to the display model, the preferable order data can be marked for a user automatically, the user can check and select conveniently, the user can select the order rapidly, the user income can be effectively ensured, the automation degree is improved, and the user experience is improved.
In practical application, a stock may be traded in more than ten main exchanges at the same time, so as to facilitate comparison and check of multiple orders, i.e. multiple order data, of each exchange.
Further, existing stock software on the market can only display order data of the stock in a single exchange, if the stock is circulated in a plurality of exchanges at the same time, in this case, a user needs to open different interfaces in turn to view the stock in turn, so that the operation is troublesome and difficult to compare, and the requirement of the user for quick operation is difficult to meet. Here, as an example, the fourth target data may include an order type of a stock order, and the order type may include a buyer order and a seller order, so that the display area of the seller order data and the display area of the seller order data may be determined by analyzing the order type of the order data. Further, the current real-time optimal report value of the stock can be displayed at the same interface; the fourth target data may be data for representing the trade name in the order data, and determine corresponding display area parameters according to the parsed trade name data, and as an example, display area parameters for controlling display in different display areas may be configured for different trade name data, so that different trade order data are respectively displayed in different display areas; similarly, as another example, the display area parameters for controlling the sequential display of the orders may be generated according to the ordering result without dividing the exchange, and the specific display mode is not limited herein.
Further, in some embodiments of the present application, a data switching unit may be further included in the display model, where the data switching unit may be configured to display order data of an exchange corresponding to a switching operation when the switching operation of the exchange data source is received. By way of example, the data switching unit is configured to support the operator to select the exchange through the drop-down menu, so that the data from the exchange can be presented, so that the operator can view the order data of the selected stock at the selected exchange, and analyze the consignment price value and consignment value of the stock at the exchange.
Further, in order to more clearly distinguish different order data, in some embodiments of the present application, the display template may further include a background color display unit, and correspondingly, referring to fig. 3, the method for displaying order data provided in the embodiment of the present application may further include the following steps:
s4, analyzing second target data from the order data;
step S5, determining background color display parameters according to the second target data and the first target data;
step S6, loading the background color display parameters to a background color display unit.
As described in the above example, when the order data is of stock, the second target data may refer to an order type, which may include a buyer order and a seller order; in some embodiments of the present application, the background color display parameters may refer to parameters used to characterize the background color or background pattern at the time of the order data display.
In some embodiments of the present application, referring to fig. 4, the step S5 of determining the background color display parameter according to the second target data and the first target data may include the steps of:
step S51, determining a color array corresponding to the order data to be displayed currently according to the corresponding relation between the preset second target data and the color array;
step S52, obtaining an index value of order data to be displayed currently;
and step S53, determining the color value searched in the corresponding color array according to the index value as the background color display parameter.
As described in the above examples, the second target data may include order types, such as the order data of stocks may include buyer order data and seller order data, and in some embodiments of the present application, corresponding initial color arrays may be set for the order data of different second target data, illustratively, the buyer order data may correspond to a first color array, the seller order data may correspond to a second color array, illustratively, for more significantly distinguishing the order data of a comparison bid/ask, the colors of the first color array and the second color array may be different, preferably, the first color array may be a set of warm colors, and the second color array may be a set of cool colors. Here, the display background of the order data may be color or pattern, and is not particularly limited here.
Further, the method of the index value of the order data to be displayed currently may be preset or may be randomly generated, and as a specific example, in some embodiments of the present application, before the index value of the order data to be displayed currently is obtained, referring to fig. 5, the method of displaying the order data provided by the embodiment of the present application may further include the following steps:
step S501, sorting all the order data to be displayed according to a preset sorting rule and determining the sorting value of the current order data to be displayed;
step S502, obtaining the number of colors in a color array corresponding to the order data to be displayed currently;
step S503, calculating remainder of the integer division of the sorting value into the number of colors;
step S504, determining the remainder as the index value of the order data to be displayed currently.
Here, as described in connection with the above example, the preset ranking rule may be ranking according to the order price value, ranking according to the order value, or ranking according to the order data generation time, which is not particularly limited herein. According to the embodiment of the application, the index value is determined by the sequence value and the number of colors of the color array, the sequence value is different, the generated index value is different, the background color obtained by the order data with different sequences is different, and finally, different order data can be displayed with different colors.
In some embodiments of the present application, referring to fig. 6, the method for displaying order data may further include the steps of:
step S7, judging whether the first target data in the order data to be displayed currently is the same as the first target data in the last order data;
step S8, if the first target data in the current order data to be displayed is the same as the first target data in the last order data, determining that the background color parameter corresponding to the current order data to be displayed is the same as the background color parameter of the last order data.
Here, as described in connection with the above example, the first target data may be assigned a price value, and by using the embodiment of the present application, order data having the same first target data may have the same background color, so as to avoid visual confusion caused by too much background color, and thus, a display interface presented to a user is tidier and easier to distinguish.
In some embodiments of the present application, the display template may further include a bar chart display unit, and correspondingly, referring to fig. 7, the method for displaying order data provided in the embodiment of the present application may further include the following steps:
step S9, analyzing a third target data value from the order data;
step S10, determining a bar graph display parameter according to a third target data value;
step S11, loading the bar graph display parameters to the bar graph display unit.
In some embodiments of the present application, the third target data value may refer to data used to characterize the delegate value. The display template of the order data may further comprise a bar graph unit for characterizing a bar graph, the bar graph unit being for storing bar graph display parameters for characterizing a bar graph display. By combining the description of the examples, the order data consignment value can be displayed more vividly through the bar graph, and the situation that a user compares the consignment values of different order data more intuitively through the bar graph is facilitated, so that the user can determine the order data to be selected more quickly when the consignment value is taken as an order data comparison element. In some embodiments of the present application, the bar graph may be colored differently from the background color described in the above examples to more clearly display the bar graph to more facilitate the user's contrast viewing of order data.
Specifically, referring to fig. 8, step S10 of determining a bar graph display parameter according to a third target data value may include the steps of:
step S1001, inquiring a maximum parameter value corresponding to third target data in order data to be displayed;
step S1002, calculating a ratio of a parameter value corresponding to third target data of the order data to be displayed currently to a maximum parameter value;
step S1003, determining the scale value as the histogram display parameter.
In some embodiments of the present application, the histogram display parameters may refer to parameters used to characterize the histogram display. For example, the bar graph display parameter may include a length of the bar graph. In order to make the display of the bar graph more proper and accurate, the maximum consistence value in all the order data to be displayed can be determined first, the value proportional to the consistence value of each piece of the order data to be displayed and the maximum consistence value is used as a bar graph display parameter, and the height or length of the displayed bar graph is controlled.
In some embodiments of the present application, referring to fig. 9, there is also provided a display device of order data, including:
a first parsing unit 10, configured to parse first target data from order data;
a first determining unit 20, configured to determine an identification display parameter of the order data according to the first target data and the corresponding set threshold value thereof;
the loading generating unit 30 is configured to load the order data and the identification display parameter to a display template of the order data, generate a display model of the order data, and send the display model to the display terminal, so that the display terminal displays the order data according to the display model.
In some embodiments of the present application, there is also provided a display device for order data, including a memory, a processor, in which a computer program is stored which is executable on the processor, wherein the processor implements the steps of the method of any of the above method embodiments when the computer program is executed.
In some embodiments of the application, a computer readable medium having non-volatile program code executable by a processor is also provided, wherein the program code causes the processor to perform the method of any of the above-described method embodiments.
In order to facilitate understanding, taking a processing procedure of stock order data as an example, a method for displaying order data provided in an embodiment of the present application may include the following steps:
when the stock order data is displayed, the buying and selling files of the stock order can be divided into BBO swaying discs and deep swaying discs, the BBO (Best Bid and Offer) swaying discs display the price and the entrusting value of the exchange which currently provides the optimal quotation, and the deep swaying discs display the order flows of the exchanges.
For depth wobble, the buyer and seller order streams may be ordered according to the following rules: price priority, quantity priority, time priority. For buying a file, top down: the order price value is high, and if the price is the same, the order numbers can be ordered. For the vendor, top down: and ordering the lower price value, and if the price is the same, ordering according to the order number. Here the commission price value is the first target data as described in the above example.
On the deep wobble plate, in order to distinguish orders above and below the BBO optimal buying and selling price, the mark display parameters described in the above example can be set as parameters characterizing whether or not to draw BBO lines. On the deep wobble plate, if order data with a consignment price value being superior to the optimal buying and selling price of BBO appear, distinguishing the order data by using a BBO line, specifically, for buying the plate, the order data with the consignment price value being more than or equal to the optimal buying price of BBO is optimal order data; for sales, order data with a commission price value smaller than the BBO optimal seller price is preferred order data; the identification display parameters in the display model of the preferred order data are parameters for determining the drawing of the BBO line, and the BBO line can be controlled to be drawn below the preferred order data when the preferred order data are displayed; in some embodiments of the present application, in addition to scribing all of the preferred order data, exemplary, for buying a disc, the line may be drawn just below the last price line that is greater than or equal to the BBO buying price; for sales, only draw lines below the last price row less than or equal to the BBO sales price;
specifically, the drawing process of the display model of each piece of order data may be as shown in fig. 10:
(1) Firstly, drawing background colors according to color selection rules;
(2) Then drawing a bar chart corresponding to the entrusted values of the BBO wobble disc and the depth wobble disc;
(3) Then drawing characters corresponding to the exchange information, the consignment price value and the character information corresponding to the consignment value;
(4) Judging whether to draw a BBO dividing line according to the rule of the BBO line;
(5) If the BBO line rule is satisfied, drawing the BBO line, otherwise, ending.
Here, the rule of the BBO line, that is, the rule of determining the identification display parameter described in the above embodiment, is described in connection with the above example, the first target data is the commission price value, the threshold is set to the real-time optimal price value, specifically, in the buying disc, if it is determined that the commission price value of the order data is equal to or greater than the BBO optimal buying price, for the buying disc, it is determined that the BBO line rule is satisfied, and when the order data is displayed, the BBO line may be drawn under the displayed order data. Similarly, for the seller order data of the sales plate, if the consignment price value of the order data is smaller than the BBO optimal seller price, the BBO line rule is judged to be satisfied, and when the order data is displayed, the BBO line can be marked under the displayed order data.
Here, as described in connection with the above example, the process of configuring the background color for the order data may include the steps of:
(1) Identifying the type of the order data to be displayed currently;
(2) Respectively acquiring a first color array corresponding to the buyer order data and a second color array corresponding to the seller order data according to the corresponding relation between the preset order type and the color array;
(3) Acquiring the sorting value of the current order data to be displayed after sorting all the order data to be displayed according to a preset sorting rule;
(4) Acquiring the number of colors in a color array corresponding to the order data to be displayed currently;
(5) Calculating remainder of the number of the sorting value dividing the colors as an index value of the order data to be displayed currently;
(6) And searching the color array corresponding to the current order data to be displayed for the color corresponding to the index value to generate a background color display parameter, and loading the background color display parameter into a background color display unit in the display template.
Further, the process of configuring the background color for the order data may further include the steps of:
step 501, extracting a commission price value in the current order data to be displayed, and judging whether the commission price value of the current order data to be displayed is the same as the commission price value of the last order data to be displayed;
step 502, if it is determined that the consignment price value of the current to-be-displayed order data is the same as the consignment price value of the last to-be-displayed order data, the index value of the current to-be-displayed order data is the same as the index value of the last to-be-displayed order data.
Specifically, as a preferred example, a flowchart for drawing the background color may be as shown in fig. 11, including the steps of:
(1) First initialize the color array: the first color array for the buyer can be named as buyColors, and the second color array for the seller can be named as sellColors;
(2) Initializing the number of wobble files to be displayed, namely the number of lines of order data to be displayed as described in the above example. Here, it is noted that: rowCount;
(3) Initializing i=rowcount-1, index=0; here, the value corresponding to the ith order data to be displayed is denoted as i, i can be a positive integer of 1, 2, rowCount-1; the index value described in the above example may be denoted as index, and the initialization setting index=0;
(4) The consignment price value of the current order data to be displayed is recorded as currOrderprice, the consignment price value of the last order data of the current order data to be displayed is recorded as preOrderprice, whether the consignment price value currOrderprice of the current order data to be displayed is identical with the consignment price value preOrderprice of the last order data is judged, if the consignment price values are different, the step (5) is executed, and if the consignment price value is identical, the step (7) is executed;
(5) The number of the color array is recorded as colorcount, the remainder of dividing i by the number of the color array is used as a corresponding index value, the color corresponding to the obtained index value is matched with the color array to be the background color of the order data to be displayed currently according to the index value, the background color is recorded as backgroupcolor, and the steps can be recorded as follows: background color backgroudcolor = colors [ index% color count ];
(6) Drawing the background color of the order data according to the extracted background color backgroupcolor;
(7) If the consignment price value currOrderPrice of the current order data to be displayed is the same as the consignment price value preOrderPrice of the adjacent last order data, the background color of the current order data to be displayed is the same as the background color of the adjacent last order data;
(8) Adding 1 to the index value, marking as index++, and entering the drawing of a display model of the next order data; the value of i is reduced by 1 and is marked as i-, if i is greater than or equal to zero, the step (4) is skipped; if i is less than zero, then end.
In some embodiments of the present application, a flow chart for plotting the delegate values may be seen in fig. 12:
(1) Firstly, respectively calculating the maximum entrusting values in order data in buying discs and selling discs, and respectively marking the entrusting values as sellMaxVolume and buyMaxVolume;
(2) Calculating the maximum delegation value maxVolume;
(3) Calculating a proportion value according to the delegation value and the maximum delegation value maxVolume in the order data to be displayed currently;
(4) And drawing a bar chart of the delegation value of the order data to be displayed currently according to the calculated proportion value.
In addition, in order to make it convenient and fast to order according to the commission price value in the order data, in some embodiments of the present application, the display model may further include a shortcut interaction unit, where the shortcut interaction unit may be used to monitor click selection operations of the price and commission number on the BBO wobble plate and the deep wobble plate order stream, and when the click selection operations are monitored, the selected numerical value of the order data is copied to an input box presented to the user for order, so as to omit the work of manually inputting the numerical value, avoid possible transcription errors in manual transcription, make the operations simpler and faster, and improve the order speed of the user. As described in connection with the above example, the interface finally displayed on the display terminal may be as shown in fig. 13.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A method for displaying order data, comprising:
analyzing first target data from the order data, wherein the first target data is data determined by a user;
determining identification display parameters of the order data according to the first target data and the corresponding set threshold value, wherein the identification display parameters are parameters representing display identifications, and different identification display parameters correspond to different display identifications;
loading the order data and the identification display parameters to a display template of the order data, generating a display model of the order data and sending the display model to a display terminal so that the display terminal can display the order data according to the display model;
wherein the display template further comprises a background color display unit, the method further comprising:
analyzing second target data from the order data;
determining a background color display parameter from the second target data and the first target data, comprising: determining a color array corresponding to the order data to be displayed currently according to the corresponding relation between the preset second target data and the color array; ordering all the order data to be displayed according to a preset ordering rule, and determining an ordering value of the current order data to be displayed; acquiring the number of colors in a color array corresponding to the order data to be displayed currently; calculating the remainder of the integer division of the sorting value by the number of the colors; determining the remainder as an index value of the order data to be displayed currently; acquiring an index value of the order data to be displayed currently; determining the color value found in the corresponding color array according to the index value as the background color display parameter;
and loading the background color display parameters to the background color display unit.
2. The method according to claim 1, wherein the method further comprises:
judging whether the first target data in the order data to be displayed currently is the same as the first target data in the last order data;
and if the first target data in the order data to be displayed currently is the same as the first target data in the last order data, determining that the background color display parameter corresponding to the order data to be displayed currently is the same as the background color display parameter of the last order data.
3. The method of claim 1, wherein the display template further comprises a bar graph display unit, and correspondingly, the method further comprises:
analyzing third target data from the order data;
determining a bar graph display parameter according to the third target data;
and loading the bar graph display parameters to the bar graph display unit.
4. A method according to claim 3, wherein determining a bar graph display parameter from the third target data value comprises:
inquiring a maximum parameter value corresponding to the third target data in the order data to be displayed;
calculating a ratio value of a parameter value corresponding to the third target data of the order data to be displayed currently to the maximum parameter value;
and determining the scale value as the bar graph display parameter.
5. A display device for order data, comprising:
the first analyzing unit is used for analyzing first target data from the order data, wherein the first target data is data determined by a user;
the first determining unit is used for determining the identification display parameters of the order data according to the first target data and the corresponding set threshold value, wherein the identification display parameters are parameters representing display identifications, and different identification display parameters correspond to different display identifications;
the loading generation unit is used for loading the order data and the identification display parameters to a display template of the order data, generating a display model of the order data and sending the display model to a display terminal so that the display terminal can display the order data according to the display model;
wherein, the display template still includes background colour display element, display device still includes: the background display unit is used for analyzing second target data from the order data; determining a background color display parameter from the second target data and the first target data, comprising: determining a color array corresponding to the order data to be displayed currently according to the corresponding relation between the preset second target data and the color array; ordering all the order data to be displayed according to a preset ordering rule, and determining an ordering value of the current order data to be displayed; acquiring the number of colors in a color array corresponding to the order data to be displayed currently; calculating the remainder of the integer division of the sorting value by the number of the colors; determining the remainder as an index value of the order data to be displayed currently; acquiring an index value of the order data to be displayed currently; determining the color value found in the corresponding color array according to the index value as the background color display parameter; and loading the background color display parameters to the background color display unit.
6. A display device for order data, comprising a memory, a processor, in which a computer program is stored which is executable on the processor, characterized in that the processor, when executing the computer program, carries out the steps of the method according to any of the preceding claims 1 to 4.
7. A computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1 to 4.
CN201911008545.6A 2019-10-22 2019-10-22 Order data display method, device, equipment and computer readable medium Active CN110928615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911008545.6A CN110928615B (en) 2019-10-22 2019-10-22 Order data display method, device, equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911008545.6A CN110928615B (en) 2019-10-22 2019-10-22 Order data display method, device, equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN110928615A CN110928615A (en) 2020-03-27
CN110928615B true CN110928615B (en) 2023-12-01

Family

ID=69849295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911008545.6A Active CN110928615B (en) 2019-10-22 2019-10-22 Order data display method, device, equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN110928615B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112365346A (en) * 2020-10-30 2021-02-12 北京数秦科技有限公司 Method, device and storage medium for determining and displaying stock trading entrustment order
CN112529705A (en) * 2020-12-04 2021-03-19 深圳市富途网络科技有限公司 Method for processing orders of port stocks and related products
CN113688298A (en) * 2021-08-24 2021-11-23 北京房江湖科技有限公司 Data presentation method and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161247A (en) * 1997-11-25 1999-06-18 Kokusai Electric Co Ltd Market information display device
US6343278B1 (en) * 1998-09-04 2002-01-29 Ebs Dealing Resources, Inc. Combined order limit for a group of related transactions in an automated dealing system
CN107316156A (en) * 2017-06-30 2017-11-03 北京金山安全软件有限公司 Data processing method, device, server and storage medium
CN107633064A (en) * 2017-09-21 2018-01-26 山东浪潮云服务信息科技有限公司 A kind of data visualization method, device, computer-readable recording medium and storage control
CN108335203A (en) * 2018-01-30 2018-07-27 上海宽全智能科技有限公司 The strong and weak analysis method of transaction, equipment and storage medium
CN108876612A (en) * 2018-06-05 2018-11-23 浙江爱宽投资管理有限公司 A kind of preferred method suitable for Money Market Fund trade variety
CN109410296A (en) * 2018-09-21 2019-03-01 东软集团股份有限公司 A kind of method and device realizing data and showing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7962398B1 (en) * 2000-09-15 2011-06-14 Charles Schwab & Co. Method and system for executing trades in a user preferred security
US8482563B2 (en) * 2003-08-21 2013-07-09 Algo Engineering Llc Equities information and visualization system that processes orders as information is received via data feed in real-time
KR101078941B1 (en) * 2009-07-28 2011-11-01 (주)한국거래소 The device which graphic handles of the stock/futures trades status
US8972295B2 (en) * 2011-05-23 2015-03-03 Visible Market, Inc. Dynamic visual statistical data display and method for limited display device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161247A (en) * 1997-11-25 1999-06-18 Kokusai Electric Co Ltd Market information display device
US6343278B1 (en) * 1998-09-04 2002-01-29 Ebs Dealing Resources, Inc. Combined order limit for a group of related transactions in an automated dealing system
CN107316156A (en) * 2017-06-30 2017-11-03 北京金山安全软件有限公司 Data processing method, device, server and storage medium
CN107633064A (en) * 2017-09-21 2018-01-26 山东浪潮云服务信息科技有限公司 A kind of data visualization method, device, computer-readable recording medium and storage control
CN108335203A (en) * 2018-01-30 2018-07-27 上海宽全智能科技有限公司 The strong and weak analysis method of transaction, equipment and storage medium
CN108876612A (en) * 2018-06-05 2018-11-23 浙江爱宽投资管理有限公司 A kind of preferred method suitable for Money Market Fund trade variety
CN109410296A (en) * 2018-09-21 2019-03-01 东软集团股份有限公司 A kind of method and device realizing data and showing

Also Published As

Publication number Publication date
CN110928615A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110928615B (en) Order data display method, device, equipment and computer readable medium
CN110045953B (en) Method and computing device for generating business rule expression
CN109614424B (en) Page layout generation method, device, computing equipment and medium
WO2019080501A1 (en) Electronic apparatus, multi-model sample training method and system, and computer-readable storage medium
CN111125560B (en) Data visualization processing method, device and computer system
CN109408764B (en) Page area dividing method, device, computing equipment and medium
US10955993B2 (en) Image processing apparatus, method for processing information, and non-transitory computer readable medium storing program for adding comments to image information
JP6438565B2 (en) Information search method and information search apparatus
CN111401722A (en) Intelligent decision method and intelligent decision system
CN114116441A (en) UI (user interface) testing method and device, electronic equipment and storage medium
JP5017434B2 (en) Information processing apparatus and program
CN108153465A (en) Label setting method and device based on enterprise SaaS applications
CN111966600B (en) Webpage testing method, webpage testing device, computer equipment and computer readable storage medium
US11392260B2 (en) Display control device, display control method, and display control program
KR102246537B1 (en) Online shopping mall banner design auto-generating method and apparatus
KR102247877B1 (en) Image crop method and apparatus for generating online shopping mall banner design
CN117054846A (en) Visual test method, system and device for chip and storage medium
KR20200094637A (en) Method, apparatus, device, and storage medium for providing visual representation of set of objects
JP2009009342A (en) Information processing unit and program
US20170262144A1 (en) Multiple product attribute visualization
CN111949271B (en) Method, transaction system, device and storage medium for customizing transaction policy
CN114415911A (en) Data entry method and device
CN108268192B (en) List operation method and device
CN113535162A (en) Front-end interface configuration method, display method and device
CN110647454A (en) Method and device for determining system user access information

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
GR01 Patent grant
GR01 Patent grant