CN110928615A - 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
CN110928615A
CN110928615A CN201911008545.6A CN201911008545A CN110928615A CN 110928615 A CN110928615 A CN 110928615A CN 201911008545 A CN201911008545 A CN 201911008545A CN 110928615 A CN110928615 A CN 110928615A
Authority
CN
China
Prior art keywords
order data
display
data
order
value
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.)
Granted
Application number
CN201911008545.6A
Other languages
Chinese (zh)
Other versions
CN110928615B (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

Images

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 an identifier display parameter of the order data according to the first target data and a set threshold corresponding to the first target data; 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 problem that in the prior art, a user cannot quickly and accurately select an optimal order from existing security software to trade, and accordingly the income and experience of the user are affected is solved, the optimal order is automatically marked for the user, and the selected technical effect is convenient for the user to check.

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, with the continuous development of economy in China, the stock market is large in scale, the number of stocks is increasing, and stock market quotations are easy to check in real time by stocks, and application of stock software is more and more.
However, under the existing securities software, when a user wants to check a trading order of a certain stock, especially when the user wants to buy and sell the stock, it is difficult to quickly and accurately select the optimal order from a display page provided by the current securities software for trading, and the change of the stock quotation is real-time, so that the speed of selecting the order directly affects the income and experience of the user.
Disclosure of Invention
In order to solve the technical problem that the existing security software is difficult to quickly and accurately select the optimal order for trading, and further influences 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 an identifier display parameter of the order data according to the first target data and a set threshold corresponding to the first target data;
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 background color display parameters 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 a background color display parameter according to the second target data and the first target data comprises:
determining a color array corresponding to the order data to be displayed currently according to a preset corresponding relation between second target data and the color array;
acquiring an index value of the order data to be displayed currently;
and determining the color value searched 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 previous order data or not;
and if the first target data in the order data to be displayed currently is the same as the first target data in the previous 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 previous order data.
Optionally, before obtaining the index value of the order data to be currently displayed, the method further includes:
sequencing all the order data to be displayed according to a preset sequencing rule and determining a sequencing value of the order data to be displayed currently;
acquiring the number of colors in a color array corresponding to the order data to be displayed currently;
calculating the remainder of the color number divided by the sorting value;
and determining the remainder as the 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;
loading the histogram display parameters to the histogram display unit.
Optionally, determining a histogram 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 and the maximum parameter value;
and determining the proportion value as the bar graph display parameter.
In a second aspect, the present application further provides an order data display device, including:
the first analysis unit is used for analyzing first target data from the order data;
the first determining unit is used for determining the identifier 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 further provides an order data display device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to any one of the first aspect 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 aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method comprises the steps of firstly analyzing first target data from order data by providing a display method of the order data; then, according to the first target data and a set threshold corresponding to the first target data, determining an identification display parameter of the order data; and then 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, thereby generating the display model comprising the identification display parameters, being convenient for automatically marking a preferred order for a user and being convenient for the user to check and select.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for displaying order data according to an embodiment of the present disclosure;
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 a background color display parameter according to the second target data and the first target data in step S5 provided in the embodiment of the present application;
fig. 5 is a flowchart of a method for displaying order data according to an embodiment of the present application;
fig. 6 is a flowchart of a method for displaying order data according to an embodiment of the present application;
fig. 7 is a flowchart of a method for displaying order data according to an embodiment of the present application;
FIG. 8 is a flowchart of a method for determining bar graph display parameters according to a third target data value in step S10 according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of an order data display device according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a process of drawing a display model of order data according to an embodiment of the present application;
fig. 11 is a flowchart illustrating background colors of order data according to an embodiment of the present disclosure;
fig. 12 is a flowchart of a process for drawing a bar chart of order data according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating order data display 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
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. 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 application.
At present, with the continuous development of economy in China, the stock market is large in scale, the number of stocks is increasing, and stock market quotations are easy to check in real time by stocks, and application of stock software is more and more.
However, when a user wants to check a trading order of a certain stock under the existing security software, especially when the user wants to buy and sell the stock, it is difficult to quickly and accurately select an optimal order from a display page provided by the current security software for trading, and the stock market changes in real time, and the speed of order selection directly affects the income and experience of the user.
For convenience of understanding, first, a method for displaying order data provided in an embodiment of the present application is described, and referring to fig. 1, the method may include the following steps:
step S1, analyzing the first target data from the order data;
step S2, determining the mark display parameter of the order data according to the first target data and the corresponding set threshold;
and step S3, 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 the 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 representing various attributes of the order, and the first target data may be the data representing a certain attribute of the order, and is data that is considered by the user when the user selects the order, 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 quantity value, etc.; the corresponding first target data may be a commission price value that is relatively concerned by the user, for some users concerning the commission quantity value, the first target data may also be the commission quantity value, for some users concerning the order time, the first target data may also be the order time, and specifically, the present invention is not limited herein.
In some embodiments of the present application, the set threshold may be preset data for comparing with the first target data, as described in the above example, when the first target data is an entrusted price value of a stock order, the set threshold may refer to a set price value set by a user according to a requirement for comparing with the entrusted price value, or may refer to a current real-time optimal offer value of the stock obtained from the outside, where the real-time optimal offer value may refer to a buy-sell-one on the current market of the stock, and where the buy-sell-one is order data with the highest entrusted price value in the stock order entrusted to buy at the current time; order data with the lowest consignment price value in the stock orders which are consigned to be sold at the current moment are sold as soon as possible; in the united states, buy-sell-on-the-current market for a stock may be provided directly by a specialized authority that integrates the stock's quote information across all exchanges, where the real-time optimal quote value may preferably be the order of buy-sell-on-the-order of all exchanges by an entrusted price value, the highest entrusted price value for buy orders becoming the real-time optimal quote value, and the lowest entrusted price value for sell orders being the real-time optimal quote value.
In some embodiments of the present application, the identifier display parameter of the order data may refer to a parameter used to characterize the identifier of the order data display; for example, the identifier display parameter may be a parameter representing whether to display an identifier, or may be a specific parameter 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 visually select order data with a display identifier; or, different display identifiers are predefined and correspondingly defined according to different identifier display parameters, for example, the display identifiers may include special symbol identifiers such as underlines, color identifiers, five stars and the like, order data with preferred price is predefined and corresponds to underline identifiers, preferred order data with preferred entrusting quantity value and price value is predefined and corresponds to predefined color identifiers, and preferred order data with preferred order time is predefined and corresponds to five stars symbol identifiers, so that a user may directly select order data with preferred price, preferred entrusting quantity value or preferred order time according to own actual needs.
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 identification display parameters into the display template for controlling displaying the order data. The display terminal may refer to a terminal or a device for displaying order data, for example, a mobile phone, a computer, or other devices capable of displaying order data.
As described in the above example, when the order data is stock order data, a display template as shown in fig. 2, which may include an exchange name, a commission price value, and a commission amount value, may be defined in advance.
According to the order data display method and device, the order data identification display parameters can be determined by analyzing the first target data from the order data and according to the first target data and the corresponding set threshold value of the first target data, further, the order data and the identification display parameters can be loaded to the display template of the order data, so that the display model of the order data is generated and sent to the display terminal, the display terminal can automatically mark the preferred order data for a user according to the order data displayed by the display model, the user can conveniently check and select the order data, the user can conveniently and quickly select the order, the user income is effectively guaranteed, the automation degree is improved, and the user experience is improved.
In practical applications, one stock may be circulated in more than ten main exchange exchanges at the same time, so as to facilitate comparison and check of the multi-level order of each exchange, i.e. multiple pieces of order data.
Further, the existing securities software on the market often only can display the order data of the stock on a single exchange, if the stock is circulated on a plurality of exchanges at the same time, in this case, the user often needs to open different interfaces in sequence to view in sequence, the operation is troublesome and inconvenient for comparison, the requirement of the user for quick operation is difficult to meet, in some embodiments of the present application, the order data may be generated by parsing the fourth target data in the order data, determining display area parameters of the order data for representing the display area according to the analyzed fourth target data, loading the display area parameters into a display template of the order data, generating a display model containing the display area parameters and sending the display model to a display terminal, so that the display terminal can determine the display area of the order data according to the display area parameters when displaying the order data according to the display model; 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 a display area of the seller order data and the seller order data may be determined by parsing the order type of the order data. Furthermore, the current real-time optimal newspaper value of the stock can be displayed simultaneously on the same interface; for example, the fourth target data may also be data used for characterizing the exchange name in the order data, and determine corresponding display area parameters according to the resolved exchange name data, as an example, display area parameters used for controlling display in different display areas may be configured for data of different exchange names, so as to display the order data of different exchanges in different display areas, respectively; likewise, as another example, the orders may be sorted according to the consignment price value without being divided into exchanges, and the display area parameters for controlling the orders to be sequentially displayed are generated according to the sorting result, and the specific display mode is not limited here.
Further, in some embodiments of the present invention, the display model may further include a data switching unit, and the data switching unit may be configured to display the order data of the exchange corresponding to the switching operation when the switching operation of the exchange data source is received. For example, the data switching unit can be arranged to support the operator to select the exchange through a pull-down menu, so that the data from the exchange can be displayed, the operator can view the order data of the selected stock at the selected exchange and analyze the consignment price value and the consignment value condition of the stock at the exchange.
Further, in order to distinguish different order data more clearly, in some implementations 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:
step S4, second target data is analyzed from the order data;
step S5, determining background color display parameters according to the second target data and the first target data;
in step S6, the background color display parameters are loaded to the background color display unit.
As described in the above example, when the order data is order data of a stock, the second target data may indicate an order type, and the order type may include a buyer order and a seller order; in some embodiments of the present application, the background color display parameter may refer to a parameter used to characterize a background color or background pattern at the time of order data display.
In some specific 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 following steps:
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, acquiring the index value of the order data to be displayed currently;
step S53, determining the color value found in the corresponding color array according to the index value as the background color display parameter.
As described in the above example, the second target data may include an order type, as described in the above example, the order data such as stock may include buyer order data and seller order data, in some embodiments of the present application, corresponding initial color arrays may be set for the order data of different second target data, for example, the buyer order data may correspond to a first color array, the seller order data may correspond to a second color array, for example, for more obvious distinguishing the order data of the contrasting order disks, 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 cold colors; here, the display background of the order data may be a color or a pattern, and is not particularly limited.
Further, the method for displaying the index value of the order data to be currently displayed may be preset, or may be randomly generated, as a specific example, in some specific embodiments of the present application, before obtaining the index value of the order data to be currently displayed, referring to fig. 5, the method for displaying the order data provided in the embodiment of the present application may further include the following steps:
step S501, sequencing all order data to be displayed according to a preset sequencing rule and determining a sequencing value of the order data to be displayed currently;
step S502, acquiring the number of colors in a color array corresponding to the current order data to be displayed;
step S503, calculating the remainder of the color number of the whole division of the ranking value;
step S504, determining the remainder as an index value of the order data to be displayed currently.
Here, as described in connection with the above example, the preset ordering rule may be ordered according to the order of the commission price value, or according to the quantity of the commission quantity value, or according to the morning and evening of the generation time of the order data, and the specific ordering rule is not limited specifically here. According to the method and the device, the index value is determined through the ordering value and the number of the colors of the color array, the ordering value is different, the generated index value is different, the background colors of the order data in different orders are different, and finally different order data can be displayed in 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, determining whether the first target data in the order data to be displayed at present is the same as the first target data in the previous order data;
step S8, if the first target data in the order data to be displayed currently is the same as the first target data in the previous 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 previous order data.
Here, as described in connection with the above example, the first target data may be a commission price value, and through 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 neater and easier to distinguish.
In some specific embodiments of the present application, the display template may further include a bar graph display unit, and correspondingly, referring to fig. 7, the method for displaying order data provided in the embodiments of the present application may further include the following steps:
step S9, a third target data value is analyzed from the order data;
step S10, determining a histogram display parameter according to the third target data value;
step S11, the bar graph display parameters are loaded 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 commitment value. The display template for order data may further include a bar graph unit for characterizing a bar graph, the bar graph unit for storing bar graph display parameters for characterizing a bar graph display. As described in connection with the above example, the order quantity value of the order data can be more vividly displayed through the bar graph, which is helpful for the user to more intuitively compare the order quantity of different order data through the bar graph, so that the user can more quickly determine the order data to be selected when the order quantity value is used as the order data comparison element. In some embodiments of the present application, the color of the bar graph may be set to be different from the background color described in the above examples, so that displaying the bar graph more clearly is more helpful for the user to view the order data in contrast.
Specifically, referring to fig. 8, the step S10 of determining the histogram display parameters according to the 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 value of a parameter value corresponding to third target data of order data to be displayed currently and a maximum parameter value;
step S1003, determining the ratio value as the histogram display parameter.
In some embodiments of the present application, the bar graph display parameters may refer to parameters used to characterize the bar graph display. Illustratively, the bar graph display parameter may include a length of the bar graph. In order to make the display of the bar graph more appropriate and accurate, the maximum entrustment value in all the order data to be displayed can be determined, and the height or the length of the displayed bar graph can be controlled by taking the value proportional to the entrustment value of each order data to be displayed and the maximum entrustment value as the bar graph display parameter.
In some embodiments of the present application, referring to fig. 9, there is also provided an order data display device, including:
a first parsing unit 10, configured to parse first target data from order data;
a first determining unit 20, configured to determine an identifier display parameter of the order data according to the first target data and a set threshold corresponding to the first target data;
and the loading generation unit 30 is configured to load the order data and the identification display parameters into 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 further provided an order data display device, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements the steps of the method of any one of the above method embodiments when executing the computer program.
In some embodiments of the present application, there is also provided 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 above method embodiments.
For convenience of understanding, taking a processing process of stock order data as an example, the order data display method provided by the embodiment of the present application may include the following steps:
when displaying stock order data, the buying and selling files of stock orders can be divided into BBO (best Bid and offer) disks and deep disks, wherein the BBO (best Bid and offer) disks display the price and the order quantity value of the exchange providing the best price currently, and the deep disks display the order flow under each exchange.
For deep shuffle, the buyer order flow and the seller order flow may be ordered according to the following rules: price first, quantity first, time first. For buying, from top to bottom: the order number can be sorted if the order price is the same. For sales files, from top to bottom: and if the prices are the same, sorting the orders according to the order numbers. Here the commission price value is the first target data as described in the above example.
On the deep bid, to distinguish orders above and below the optimal buy and sell price of the BBO, the marker display parameters described in the above example can be set as parameters characterizing whether to draw a BBO line. On the deep quotation, if order data with the entrusted price value superior to the optimal buying and selling price of the BBO appear, distinguishing the order data with a BBO line, and particularly, for the quotation, the order data with the entrusted price value greater than or equal to the optimal buying and selling price of the BBO is the preferred order data; for the order, entrusting order data with a price value smaller than the optimal price of the BBO is preferred order data; the identification display parameters in the display model of the preferred order data are parameters for determining drawing of a BBO line, and the BBO line can be controlled to be drawn below the order when the preferred order data are displayed; in some embodiments of the present application, in addition to drawing lines for all preferred order data, for buy orders, it is also possible, for example, to draw lines only under the last price row equal to or greater than the BBO buy order; for a sale, only draw lines below the last price row that is less than or equal to the BBO sale price;
specifically, the process of drawing the display model of each piece of order data may be as shown in fig. 10:
(1) firstly, drawing a background color according to a color selection rule;
(2) then drawing a cylindrical chart corresponding to the consignment values of the BBO wobble plate and the depth wobble plate;
(3) then, drawing characters corresponding to the exchange information, and character information corresponding to the entrusted price value and the entrusted quantity 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, and the threshold value is set to the real-time optimal price value, specifically, in the purchase order data, if it is determined that the commission price value of the order data is equal to or greater than the BBO optimal buyer price, 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 order data of the seller of the order, if the entrusted price value of the order data is judged to be smaller than the optimal seller price of the BBO, the BBO line rule is judged to be met, and when the order data is displayed, a BBO line can be drawn 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 order 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 a preset corresponding relation between the order type and the color array;
(3) acquiring a sorting value of 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 current order data to be displayed;
(5) calculating the remainder of the color number of the whole division of the ranking value as the index value of the order data to be displayed currently;
(6) and searching the color corresponding to the index value in the color array corresponding to the current order data to be displayed to generate a background color display parameter, and loading the background color display parameter to 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 following steps:
step 501, extracting a commission price value in order data to be displayed currently, and judging whether the commission price value of the order data to be displayed currently is the same as the commission price value of the order data to be displayed last;
step 502, if the entrusted price value of the order data to be displayed currently is judged to be the same as the entrusted price value of the order data to be displayed last, the index value of the order data to be displayed currently is the same as the index value of the order data last.
Specifically, as a preferred example, the flowchart for drawing the background color may be as shown in fig. 11, and includes the following steps:
(1) first, initializing a color array: the first color array for buy orders may be denoted as buyColors, and the second color array for sell orders may be denoted as selColors;
(2) the number of the balance to be displayed, i.e., the number of lines of order data to be displayed as described in the above example, is initialized. Here it is noted that: rowCount;
(3) initializing i ═ rowCount-1 and index ═ 0; here, the value corresponding to the ith order data to be displayed is recorded as i, and i can be a positive integer of 1, 2, 1, rowCount-1; the index value described in the above example may be denoted as index, and the initialization setting index is 0;
(4) recording the entrusted price value of the order data to be displayed currently as currOrderPrice, recording the entrusted price value of the order data to be displayed currently and the entrusted price value of the order data to be displayed currently as preOrderPrice, judging whether the entrusted price value currOrderPrice of the order data to be displayed currently is the same as the entrusted price value preOrderPrice of the last order data, if the entrusted price value of the order data to be displayed currently is different from the entrusted price value of the order data to be displayed currently, executing the step (5) if the;
(5) recording the number of the color arrays as colorsCount, taking the remainder of dividing i by the number of the color arrays colorsCount as a corresponding index value, matching the color corresponding to the obtained index value from the color arrays as the background color of the current order data to be displayed according to the index value, recording the background color as background color, and this step can be recorded as: background color background ═ colors [ index% colors count ];
(6) drawing the background color of the order data according to the background color backsgroupcolor;
(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 previous adjacent order data, the background color of the current order data to be displayed is the same as the background color of the previous adjacent order data;
(8) adding 1 to the index value, recording as index + +, and drawing a display model of the next order data; subtracting 1 from the value of i, recording as i- - -, and if i is larger than or equal to zero, skipping to the step (4); if i is less than zero, then end.
In some embodiments of the present application, a flow chart for plotting a histogram of the commitment value can be seen in fig. 12:
(1) firstly, respectively calculating the maximum entrusted value in order data in the order and the order, and respectively recording the maximum entrusted value as selmaxvolume and buyMaxVolume;
(2) calculating the maximum consignation value maxVolume;
(3) calculating a proportional value according to the consignation value and the maximum consignation value maxVolume in the order data to be displayed currently;
(4) and drawing a column diagram of the consignment value of the order data to be displayed currently according to the calculated proportional value.
In addition, in order to conveniently and quickly carry out ordering entrustment according to entrusted price values in order data, in some specific embodiments of the application, the display model further comprises a quick interaction unit, the quick interaction unit can be used for monitoring click selection operations of prices and entrustment quantities on BBO (business to business) placing streams and deep placing order streams, and when the click selection operations are monitored, the selected numerical value of the order data is copied and sent to an input box presented to a user for ordering, so that the work of manually inputting the numerical value is omitted, possible copying errors caused by manual copying are avoided, the operation is simpler and quicker, and the ordering speed of the user is improved. As described in connection with the above example, the interface finally displayed on the display terminal may be as shown in fig. 13.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be 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. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. 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 invention. Thus, the present invention 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 (10)

1. A display method of order data is characterized by comprising the following steps:
analyzing first target data from the order data;
determining an identifier display parameter of the order data according to the first target data and a set threshold corresponding to the first target data;
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.
2. The method of claim 1, wherein the display template further comprises a background color display unit, the method further comprising:
analyzing second target data from the order data;
determining background color display parameters according to the second target data and the first target data;
and loading the background color display parameters to the background color display unit.
3. The method of claim 2, wherein determining background color display parameters from the second target data and the first target data comprises:
determining a color array corresponding to the order data to be displayed currently according to a preset corresponding relation between second target data and the color array;
acquiring an index value of the order data to be displayed currently;
and determining the color value searched in the corresponding color array according to the index value as the background color display parameter.
4. The method of claim 3, further comprising:
judging whether the first target data in the order data to be displayed currently is the same as the first target data in the previous order data or not;
and if the first target data in the order data to be displayed currently is the same as the first target data in the previous 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 previous order data.
5. The method of claim 3, wherein prior to obtaining the index value for the order data currently to be displayed, the method further comprises:
sequencing all the order data to be displayed according to a preset sequencing rule and determining a sequencing value of the order data to be displayed currently;
acquiring the number of colors in a color array corresponding to the order data to be displayed currently;
calculating the remainder of the color number divided by the sorting value;
and determining the remainder as the index value of the order data to be displayed currently.
6. The method of claim 1, wherein the display template further comprises a bar graph display unit, 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;
loading the histogram display parameters to the histogram display unit.
7. The method of claim 6, wherein determining a histogram display parameter based on 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 and the maximum parameter value;
and determining the proportion value as the bar graph display parameter.
8. An order data display device, comprising:
the first analysis unit is used for analyzing first target data from the order data;
the first determining unit is used for determining the identifier 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.
9. Display device of 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 realizes the steps of the method according to any of the preceding claims 1 to 7 when executing the computer program.
10. 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 claims 1 to 7.
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 true CN110928615A (en) 2020-03-27
CN110928615B 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)

Cited By (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 (11)

* 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
US20050044031A1 (en) * 2003-08-21 2005-02-24 Magic Works Llc Equities information and visualization system that processes orders as information is received via data feed in real-time
US20090204548A1 (en) * 2000-09-15 2009-08-13 Charles Schwab & Co. Method and system for executing trades in a user preferred security
US20120116948A1 (en) * 2009-07-28 2012-05-10 Korea Exchange, Inc. Graphic processing apparatus for stock/futures trading conditions
US20120303548A1 (en) * 2011-05-23 2012-11-29 Jennifer Ellen Johnson Dynamic visual statistical data display and navigation system and method for limited display device
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

Patent Citations (11)

* 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
US20090204548A1 (en) * 2000-09-15 2009-08-13 Charles Schwab & Co. Method and system for executing trades in a user preferred security
US20050044031A1 (en) * 2003-08-21 2005-02-24 Magic Works Llc Equities information and visualization system that processes orders as information is received via data feed in real-time
US20120116948A1 (en) * 2009-07-28 2012-05-10 Korea Exchange, Inc. Graphic processing apparatus for stock/futures trading conditions
US20120303548A1 (en) * 2011-05-23 2012-11-29 Jennifer Ellen Johnson Dynamic visual statistical data display and navigation system and method for limited display device
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

Cited By (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

Also Published As

Publication number Publication date
CN110928615B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN110928615A (en) Order data display method, device, equipment and computer readable medium
CN111125560B (en) Data visualization processing method, device and computer system
US20090299877A1 (en) User interface for displaying purchase concentration data for unique items based on consumer-specified constraints
US20110258569A1 (en) Display of filtered data via frequency distribution
US20140280104A1 (en) Trademark search results presentation systems and methods
JP6438565B2 (en) Information search method and information search apparatus
US20090138433A1 (en) Data Aggregation Systems And Methods
CN109255710B (en) Method, device and system for marking listing on market transaction software
JP5017434B2 (en) Information processing apparatus and program
US7644024B2 (en) Financial information display system
WO2016017241A1 (en) Statistical-data-generating server device, statistical-data generation system, and statistical-data generation method
CN115393008A (en) Method and device for recommending portrait of electricity selling company
KR20230055014A (en) Method for operating trademark management interface of company and service server thereof
JP2009009342A (en) Information processing unit and program
WO2020173201A1 (en) Locating method and device, and storage medium
KR20040105013A (en) System and method for providing a service to retrieve stocks automatically, and Recording medium recorded with a program therefor
CN113362174A (en) Data comparison method, device, equipment and storage medium
JP6851285B2 (en) Quotation creation support system, quotation creation support method and program
CN113535162A (en) Front-end interface configuration method, display method and device
JP2010073110A (en) Business support system
US20190050929A1 (en) System and method for alternative product selection and profitability indication
JP2005182633A (en) Electronic catalog processing program
Zavod et al. The automated card-sort as an interface design tool: a comparison of products
Elgabry Design and development of a clinical dashboard for biochemical environments
CN113656486B (en) Method, device, terminal equipment and storage medium for generating visualized object

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