A transaction processing method and system, electronic device, storage medium
By using the aggregation module and client of the transaction processing system, the problem of incomplete market data calculation in interbank spot bond trading has been solved, enabling efficient cross-pool market data processing and trading, and improving trading efficiency.
Patent Information
- Application Number
- CN202311001297.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-08-09
AI Technical Summary
In existing technologies, interbank spot bond trading suffers from incomplete market data calculations, low trading efficiency, and difficulty in quickly obtaining the best market price due to the independence of different trading mechanisms.
The aggregation module of the transaction processing system obtains market data under each target trading mechanism, sorts the data by price and time for each institution, generates aggregated market data, and displays and splits and assembles transaction orders on the client side to realize cross-pool market data calculation.
It improves transaction efficiency, enabling users to quickly obtain the best market prices, simplifies the order placement process, and reduces transaction delays and the risk of being preempted.
Smart Images

Figure CN117011061B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of securities trading technology, and in particular to a trading processing method and system, electronic device, and storage medium. Background Technology
[0002] Currently, interbank spot bonds are mainly traded through two methods: market-making click trading and anonymous spot bond click trading, abbreviated as X-bond. These two methods are based on different trading mechanisms. The former primarily involves market makers providing stable price quotes to the market. The latter mainly involves institutions with X-bond permissions sending limit orders to the market. Therefore, the two methods are completely independent and require trading through two different mechanisms.
[0003] Because the two methods are completely independent and based on different mechanisms, institutional users find it difficult to quickly obtain the best market prices. Therefore, a cross-pool market data calculation method is currently used. This method unifies the calculation of market data from both methods and provides the calculated market data to institutional users. Institutional users then refer to the calculation results, select the bonds with lower prices, and trade accordingly.
[0004] However, due to the differences in the calculation rules between the two methods, the existing unified calculation method cannot guarantee an accurate reflection of market conditions. Furthermore, current trading is primarily high-frequency trading, and users still need to select and click on each trade individually, resulting in relatively slow efficiency and making it easy for others to trade first. Summary of the Invention
[0005] In view of the shortcomings of the prior art, this application provides a transaction processing method and system, electronic device and storage medium to solve the problems that the market data provided by the prior art is not comprehensive enough and the transaction efficiency is relatively slow.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] The first aspect of this application provides a transaction processing method applied to a transaction processing system, the transaction processing system including an aggregation module and multiple clients, the transaction processing method including:
[0008] The aggregation module acquires the current market data under each target trading mechanism;
[0009] The aggregation module sorts the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution.
[0010] The aggregation module sends the aggregated market data corresponding to the current institution to the client of the current institution;
[0011] The client of the current institution will display the aggregated market data corresponding to the current institution;
[0012] The client of the current institution responds to the user's order scanning operation and obtains the price information of each market level selected by the user from the aggregated market data corresponding to the current institution.
[0013] The client of the current institution will split and reassemble the price information of each market level according to each target trading mechanism to obtain the current trading order corresponding to each target trading mechanism;
[0014] The client of the current target institution conducts transactions on the current transaction orders corresponding to each of the target transaction mechanisms.
[0015] Optionally, in the above transaction processing method, before the aggregation module obtains the current market data under each target trading mechanism, it further includes:
[0016] The institutions that currently need to perform market data calculations are defined as the current institutions;
[0017] Based on the information of each of the current institutions, market data calculation nodes corresponding to each of the current institutions are created in the aggregation module;
[0018] Retrieve the market data for the day from the database, and perform market inversion based on the market data to obtain the initial market data;
[0019] The market data in each market calculation node corresponding to the current institution is initialized using the initial market data.
[0020] Optionally, in the above transaction processing method, the aggregation module, for each current institution, sorts the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution, including:
[0021] For each of the current institutions, the market data belonging to the current institution in the current market data under each of the target trading mechanisms is distributed to the computing node corresponding to the current institution.
[0022] The received market data is sorted by price and time using the computing node corresponding to the current institution to obtain the aggregated market data corresponding to the current institution.
[0023] Optionally, the above transaction processing method further includes:
[0024] The aggregation module stores the aggregated market data corresponding to the current institution into the database through the computing node corresponding to the current institution.
[0025] Optionally, in the above transaction processing method, the aggregation module sends the aggregated market data corresponding to the current institution to the client of the current institution, including:
[0026] The aggregated market data corresponding to the current institution is segmented, and the segmented aggregated market data corresponding to the current institution is sent to the client of the current institution in batches according to a preset time interval.
[0027] Optionally, in the above transaction processing method, the client of the current institution displays the aggregated market data corresponding to the current institution, including:
[0028] Convert the aggregated market data corresponding to the current institution into a view model;
[0029] A two-way data binding method is used to bind the user interface components to the view model, so that the aggregated market data corresponding to the current institution can be displayed in the format of the view model through the user interface components.
[0030] A second aspect of this application provides a transaction processing system, comprising:
[0031] The aggregation module and multiple clients;
[0032] The aggregation module is used to obtain the current market data under each target trading mechanism, and for each current institution, sort the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution, and send the aggregated market data corresponding to the current institution to the client of the current institution.
[0033] The client is used to display the aggregated market data corresponding to the current institution, respond to the user's order scanning operation, obtain the price information of each market level selected by the user from the displayed aggregated market data corresponding to the current institution, and split and assemble the price information of each market level according to each target trading mechanism to obtain the current trading order corresponding to each target trading mechanism, and perform trading on the current trading order corresponding to each target trading mechanism based on each target trading mechanism.
[0034] Optionally, in the above-described transaction processing system, the aggregation module is further configured to:
[0035] The institutions that currently need to perform market data calculations are defined as the current institutions;
[0036] Based on the information of each of the current institutions, market data calculation nodes corresponding to each of the current institutions are created in the aggregation module;
[0037] Retrieve the market data for the day from the database, and perform market inversion based on the market data to obtain the initial market data;
[0038] The market data in each market calculation node corresponding to the current institution is initialized using the initial market data.
[0039] Optionally, in the above-described transaction processing system, when the aggregation module performs the step of sorting the market data belonging to the current institution from the current market data under each of the target trading mechanisms according to price and time to obtain the aggregated market data corresponding to the current institution, it is used for:
[0040] For each of the current institutions, the market data belonging to the current institution in the current market data under each of the target trading mechanisms is distributed to the computing node corresponding to the current institution.
[0041] The received market data is sorted by price and time using the computing node corresponding to the current institution to obtain the aggregated market data corresponding to the current institution.
[0042] Optionally, in the above-described transaction processing system, the aggregation module is further configured to:
[0043] The aggregated market data corresponding to the current institution is stored in the database through the computing node corresponding to the current institution.
[0044] Optionally, in the above-described transaction processing system, when the aggregation module executes the step of sending the aggregated market data corresponding to the current institution to the client of the current institution, it is used to:
[0045] The aggregated market data corresponding to the current institution is segmented, and the segmented aggregated market data corresponding to the current institution is sent to the client of the current institution in batches according to a preset time interval.
[0046] Optionally, in the above-described transaction processing system, when the client executes the step of displaying the aggregated market data corresponding to the current institution, it is used for:
[0047] Convert the aggregated market data corresponding to the current institution into a view model;
[0048] A two-way data binding method is used to bind the user interface components to the view model, so that the aggregated market data corresponding to the current institution can be displayed in the format of the view model through the user interface components.
[0049] A third aspect of this application provides an electronic device, comprising:
[0050] Memory and processor;
[0051] The memory is used to store programs;
[0052] The processor is used to execute the program, which, when executed, is specifically used to implement the transaction processing method as described in any of the above.
[0053] A fourth aspect of this application provides a computer storage medium for storing a computer program, which, when executed, implements the transaction processing method as described in any of the preceding claims.
[0054] This application provides a transaction processing method applied to a transaction processing system, which includes an aggregation module and multiple clients. The aggregation module acquires current market data for each target trading mechanism, instead of using a uniform calculation method, directly retrieving pre-calculated market data for each mechanism. Then, for each institution, the market data belonging to that institution within the current market data for each target trading mechanism is sorted by price and time to obtain the aggregated market data corresponding to that institution. This aggregated market data is then sent to the institution's client. The client then displays this aggregated market data, allowing users to quickly access the best market price and facilitating subsequent order placement. When a user performs an order placement operation, the client responds by acquiring the price quotes selected by the user from the displayed aggregated market data for that institution. The client then splits and reassembles these quotes according to each target trading mechanism to obtain the current trading orders corresponding to each mechanism. The client of each target institution then executes the current trading orders corresponding to each target trading mechanism. This enables order sweep transactions, eliminating the need for users to perform transaction operations for each transaction individually, thus effectively improving transaction efficiency. Attached Figure Description
[0055] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0056] Figure 1 A schematic diagram of the architecture of an aggregation module provided in an embodiment of this application;
[0057] Figure 2 A schematic diagram of a client architecture provided for an embodiment of this application;
[0058] Figure 3 A flowchart of a transaction processing method provided in an embodiment of this application;
[0059] Figure 4 A flowchart illustrating a system initialization method provided in this application embodiment;
[0060] Figure 5 A flowchart for calculating aggregated market data is provided as an embodiment of this application;
[0061] Figure 6A flowchart illustrating a method for displaying aggregated market data, provided as an embodiment of this application;
[0062] Figure 7 This application provides a schematic diagram of the architecture of a transaction processing system.
[0063] Figure 8 This is a schematic diagram of the architecture of an electronic device provided in an embodiment of this application. Detailed Implementation
[0064] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0065] In this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0066] This application provides a transaction processing method applied to a transaction processing system, which includes an aggregation module and multiple clients.
[0067] Optionally, embodiments of this application provide an aggregation module, such as... Figure 1 As shown, it specifically includes: a message routing module, a market data calculation module, and a market data publishing module. Furthermore, to enable system initialization and monitoring, it can include a market data inversion module, a data persistence module, and a monitoring module.
[0068] The message routing module is mainly responsible for receiving market data under various target trading mechanisms and routing it to the corresponding computing nodes in the market data calculation module.
[0069] The market data calculation module is mainly responsible for aggregating and calculating the received market data, and then sending the calculated market data results to the market data publishing module for market data publishing.
[0070] The market data publishing module interacts with the client through a unified access layer, feeding back market data results to the client.
[0071] The data persistence module is mainly used to save the calculation results of the computing nodes to the database. The market data inversion module then performs market data inversion based on the data in the database and initializes the computing nodes with the inverted market data.
[0072] The monitoring module is used to monitor specific load conditions and to achieve load balancing, etc.
[0073] Optionally, another embodiment of this application provides a client, such as Figure 2 As shown, it mainly includes:
[0074] The message receiving module, data controller, UIController component, UIComponent component, transaction dispatcher, and components corresponding to each target transaction mechanism.
[0075] In this embodiment of the application, the components corresponding to each target trading mechanism are mainly the market making quotation trading component and the X-bond trading component.
[0076] The message receiving module is mainly used to receive aggregated market data from the aggregation module through the unified access layer and based on the market data service.
[0077] The data controller is mainly used to convert aggregated market data into corresponding data models for display purposes, and to obtain relevant information about the various market levels selected by the user when the user performs a sweep order.
[0078] The UIComponent component is used to bind the data module after the aggregated market data is converted to the user interface, so that the aggregated market data can be displayed on the user interface for users to select.
[0079] The UIController component is primarily used to monitor user actions on the user interface and send corresponding instructions to the data controller.
[0080] The transaction dispatcher is used to split and assemble the relevant information obtained by the data controller to obtain the orders corresponding to each target transaction mechanism, and distribute the corresponding orders to the corresponding transaction components. Each transaction component then calls the corresponding transaction service to realize the final transaction.
[0081] Based on the transaction processing system provided above, this application provides a transaction processing method, such as... Figure 3 As shown, it includes the following steps:
[0082] S301 and the aggregation module respectively obtain the current market data under each target trading mechanism.
[0083] The target trading mechanism refers to a specific trading mechanism, currently mainly referring to the market-making click trading mechanism and X-bond. Of course, if more trading mechanisms emerge later, more trading data up to the current market conditions can be obtained.
[0084] Specifically, the current market data for each target trading mechanism can be obtained from the corresponding quote calculation module. It should be noted that the current market data for each target trading mechanism is processed by the quote calculation module corresponding to that mechanism and calculated using appropriate rules. That is, in this embodiment, a unified rule is no longer used for unified calculation; instead, each target trading mechanism still uses its own rules for calculation, and then the calculated market data is aggregated.
[0085] It should be noted that, in another embodiment of this application, system initialization is required before executing step S301. For example... Figure 4 As shown in the embodiment of this application, a system initialization method includes:
[0086] S401. Identify the institutions that need to perform market data calculations as the current institutions.
[0087] It should be noted that since different institutions may quote different prices, and different institutions may need to calculate market data at different times, in this embodiment of the application, it is necessary to first identify the institutions that need to perform market data calculations as the current institutions.
[0088] S402. Based on the information of each current institution, create market data calculation nodes corresponding to each current institution in the aggregation module.
[0089] Since different institutions may offer different quotes, in order to process the relevant market data of each current institution separately, in this embodiment of the application, a corresponding market data calculation node will be created in the aggregation module for each current institution to process the relevant market data of each current institution.
[0090] S403. Retrieve the market data for the day from the database, and perform market inversion based on the market data to obtain the initial market data.
[0091] Considering the possibility of incomplete current market data, this embodiment initializes the market data for each market calculation node. Since the database stores processed market data, it is necessary to invert the current day's market data to obtain the unprocessed market data, and then initialize it via step S404.
[0092] S404. Initialize the market data in the market calculation nodes corresponding to each current institution using the initial market data.
[0093] It should be noted that after initialization, when the market data calculation node receives the current market data, it can replace the existing market data.
[0094] S302. The aggregation module sorts the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution.
[0095] Specifically, from the current market data under each target trading mechanism, the market data belonging to each current institution is determined, resulting in aggregated market data for each current institution across all target trading mechanisms. This aggregated data is then sorted according to price and time priority to facilitate subsequent order placement by users. Specifically, buy orders are sorted in descending order (price from highest to lowest), while sell orders are sorted in ascending order (price from lowest to highest), allowing users to quickly find the best market price. For time, earlier times are less timely and are therefore sorted later. Optionally, price and time can be sorted according to their respective weights, considering both simultaneously. Alternatively, one factor can be prioritized, with the other considered only if they are equal.
[0096] Optionally, when using Figure 4 When the system is initialized in the manner shown, a specific implementation of step S302 is as follows: Figure 5 As shown, it includes:
[0097] S501. For each current institution, distribute the market data belonging to that institution from the current market data under each target trading mechanism to the corresponding computing node of that current institution.
[0098] Specifically, the message routing module can use relevant routing strategies to route aggregated market data to the corresponding market data calculation nodes.
[0099] S502. Through the computing node corresponding to the current institution, sort the received market data according to price and time to obtain the aggregated market data corresponding to the current institution.
[0100] Optionally, considering the load status of the computing nodes, a monitoring module can be set up in the aggregation module to monitor the load status of each computing node. When situations such as excessive load, uneven message distribution, or node failure occur, instructions can be sent to the message routing and market data inversion modules in a timely manner to realize traffic allocation and market data initialization.
[0101] Optionally, to facilitate subsequent market data inversion and initialization, in another embodiment of this application, after performing step S302, the method may further include:
[0102] The aggregation module stores the aggregated market data corresponding to the current institution in the database through the computing node corresponding to the current institution.
[0103] S303. The aggregation module sends the aggregated market data corresponding to the current institution to the client of the current institution.
[0104] Optionally, to avoid putting too much pressure on the network and clients, in another embodiment of this application, step S303 includes the following steps:
[0105] The aggregated market data corresponding to the current institution is segmented and sent to the current institution's client in batches according to a preset time interval.
[0106] Optionally, data can be sent at a pre-screening interval of one batch per second. Furthermore, the amount of data included in each batch can be preset as needed.
[0107] S304. The client of the current institution displays the aggregated market data corresponding to the current institution.
[0108] Optionally, aggregated market data sent by the aggregation module can be received via REST or WebSocket in the order scanning component of the client.
[0109] Specifically, such as Figure 6 As shown, in another embodiment of this application, a specific implementation of step S304 includes:
[0110] S601. Convert the aggregated market data corresponding to the current institution into a view model.
[0111] To facilitate browsing and selection, in this embodiment of the application, the view model data model conversion is completed through the data controller in the client, that is, the aggregated market data corresponding to the current institution is converted into a view model.
[0112] S602. A two-way data binding method is used to bind the user interface components to the view model, so that the aggregated market data corresponding to the current institution can be displayed in the format of the view model through the user interface components.
[0113] Specifically, the UIComponent uses two-way data binding to bind UI components to view model data and displays market data in real time.
[0114] S305. The client of the current institution responds to the user's order scanning operation and obtains the price information of each level of market data selected by the user from the aggregated market data corresponding to the current institution.
[0115] The "sweep order" operation refers to the ability to select multiple market data levels for trading on the user interface. Specifically, users can click on the page, drag to select multiple market data levels, and then confirm the selection. Since the aggregated market data displayed by the current institution is sorted by price and time, supporting sweep orders allows users to select multiple market data levels at once, eliminating the need to trade them individually and thus improving trading efficiency.
[0116] Specifically, the controller can listen to the user's scanning operation on the page and forward the corresponding instructions to the data controller.
[0117] S306. The client of the current institution will split and reassemble the price information of each market level according to each target trading mechanism to obtain the current trading order corresponding to each target trading mechanism.
[0118] Specifically, the data controller extracts quote information such as quote number, price, and quote type for each market level based on the view model data in the incoming instructions, and then forwards this information to the transaction distributor.
[0119] It should be noted that since users select multiple market data sets simultaneously from the aggregated market data, and the aggregated market data includes market data under various trading mechanisms, there may be transactions under different trading mechanisms at the same time. Therefore, it is necessary to split and assemble the transactions under each target trading mechanism separately so that each transaction can be executed through each target trading mechanism in the future.
[0120] S307. The client of the current target institution conducts transactions on the current transaction orders corresponding to each target transaction mechanism based on each target transaction mechanism.
[0121] Specifically, trading instructions can be sent to the corresponding trading components based on the current trading orders for each target trading mechanism. Upon receiving the instructions, each trading component can reuse its corresponding trading functions and send a trading request to the backend to complete the final transaction. For example, trading instructions can be sent separately to the client's market-making and X-bond trading components. After receiving the instructions, the trading components reuse the original X-bond and market-making functions, send a trading request to the backend, and complete the order submission.
[0122] This application provides a transaction processing method applied to a transaction processing system, which includes an aggregation module and multiple clients. The aggregation module acquires current market data for each target trading mechanism, instead of using a uniform calculation method, directly acquiring pre-calculated market data for each mechanism. Then, for each institution, the market data belonging to that institution within the current market data for each target trading mechanism is sorted by price and time to obtain aggregated market data corresponding to that institution. This aggregated market data is then sent to the institution's client. The client then displays this aggregated market data, allowing users to quickly access the best market price and facilitating subsequent order placement. When a user performs an order placement operation, the client responds by acquiring the price information for each level of market data selected by the user from the displayed aggregated market data for that institution. The client then splits and reassembles this price information according to each target trading mechanism to obtain the current trading order corresponding to each mechanism. The client of each target institution then executes the current trading order corresponding to each target trading mechanism. This enables order sweep transactions, eliminating the need for users to perform transaction operations for each transaction individually, thus effectively improving transaction efficiency.
[0123] Another embodiment of this application provides a transaction processing system, such as Figure 7 As shown, it includes:
[0124] The aggregation module 701 and multiple clients 702.
[0125] The aggregation module 701 is used to obtain the current market data under each target trading mechanism, and for each current institution, sort the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution, and send the aggregated market data corresponding to the current institution to the client of the current institution.
[0126] Client 702 is used to display the aggregated market data corresponding to the current institution and respond to the user's order scanning operation. It obtains the price information of each market level selected by the user from the displayed aggregated market data corresponding to the current institution, and splits and assembles the price information of each market level according to each target trading mechanism to obtain the current trading order corresponding to each target trading mechanism. It then executes the current trading order corresponding to each target trading mechanism based on each target trading mechanism.
[0127] Optionally, in another embodiment of the transaction processing system provided in this application, the aggregation module is further configured to:
[0128] The institutions that need to perform market data calculations are identified as the current institutions.
[0129] Based on the information of each current institution, create market data calculation nodes corresponding to each current institution in the aggregation module.
[0130] Retrieve the market data for the day from the database, and perform market inversion based on the market data to obtain the initial market data.
[0131] Initialize the market data in the market calculation nodes corresponding to each current institution using the initial market data.
[0132] Optionally, in a transaction processing system provided in another embodiment of this application, when the aggregation module performs the following steps for each current institution: sorting the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution, it is used for:
[0133] For each current institution, the market data belonging to the current institution in the current market data under each target trading mechanism is distributed to the corresponding computing node of the current institution.
[0134] By using the computing node corresponding to the current institution, the received market data is sorted by price and time to obtain the aggregated market data corresponding to the current institution.
[0135] Optionally, in another embodiment of the transaction processing system provided in this application, the aggregation module is further configured to:
[0136] The aggregated market data corresponding to the current institution is stored in the database through the computing node corresponding to the current institution.
[0137] Optionally, in a transaction processing system provided in another embodiment of this application, when the aggregation module sends the aggregated market data corresponding to the current institution to the client of the current institution, it is used for:
[0138] The aggregated market data corresponding to the current institution is segmented and sent to the current institution's client in batches according to a preset time interval.
[0139] Optionally, in a transaction processing system provided in another embodiment of this application, when the client executes the function of displaying aggregated market data corresponding to the current institution, it is used for:
[0140] Convert the aggregated market data corresponding to the current institution into a view model.
[0141] A two-way data binding method is used to bind user interface components to the view model, so that the aggregated market data corresponding to the current institution can be displayed in the format of the view model through the user interface components.
[0142] It should be noted that the specific working process of each unit provided in the above embodiments of this application can be referred to the corresponding steps in the above method embodiments, and will not be repeated here. Furthermore, the specific composition of the provided aggregation module and client can be as follows: Figure 1 and Figure 2 As shown.
[0143] Another embodiment of this application provides an electronic device, such as... Figure 8 As shown, it includes:
[0144] Memory 801 and processor 802.
[0145] Among them, memory 801 is used to store programs.
[0146] The processor 802 is used to execute the program stored in the memory 801. When the program is executed, it is specifically used to implement the transaction processing method provided in any of the above embodiments.
[0147] Another embodiment of this application provides a computer storage medium for storing a computer program, which, when executed, implements the transaction processing method as described above.
[0148] Computer storage media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0149] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0150] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not 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
1. A transaction processing method, characterized in that, Applied to a transaction processing system, the transaction processing system including an aggregation module and multiple clients, the transaction processing method includes: The aggregation module acquires the current market data under each target trading mechanism; The aggregation module sorts the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution. The aggregation module sends the aggregated market data corresponding to the current institution to the client of the current institution; The client of the current institution will display the aggregated market data corresponding to the current institution; The client of the current institution responds to the user's click and drag selection of multiple market data levels on the page to confirm the order of multiple market data levels, and obtains the price information of each market data level selected by the user from the aggregated market data corresponding to the current institution. Since the aggregated market data includes market data under various trading mechanisms, the client of the current institution splits and assembles the price information of each market data level selected by the user at the same time according to each target trading mechanism to obtain the current trading order corresponding to each target trading mechanism. The client of the current institution conducts transactions on the current transaction orders corresponding to each of the target transaction mechanisms.
2. The method according to claim 1, characterized in that, Before the aggregation module obtains the current market data for each target trading mechanism, it also includes: The institutions that currently need to perform market data calculations are defined as the current institutions; Based on the information of each of the current institutions, market data calculation nodes corresponding to each of the current institutions are created in the aggregation module; Retrieve the market data for the day from the database, and perform market inversion based on the market data to obtain the initial market data; The market data in each market calculation node corresponding to the current institution is initialized using the initial market data.
3. The method according to claim 2, characterized in that, The aggregation module, for each current institution, sorts the current market data belonging to that institution within the current market data under each target trading mechanism according to price and time, to obtain the aggregated market data corresponding to that institution, including: For each of the current institutions, the market data belonging to the current institution in the current market data under each of the target trading mechanisms is distributed to the computing node corresponding to the current institution. The received market data is sorted by price and time using the computing node corresponding to the current institution to obtain the aggregated market data corresponding to the current institution.
4. The method according to claim 2, characterized in that, Also includes: The aggregation module stores the aggregated market data corresponding to the current institution into the database through the computing node corresponding to the current institution.
5. The method according to claim 1, characterized in that, The aggregation module sends the aggregated market data corresponding to the current institution to the client of the current institution, including: The aggregated market data corresponding to the current institution is segmented, and the segmented aggregated market data corresponding to the current institution is sent to the client of the current institution in batches according to a preset time interval.
6. The method according to claim 1, characterized in that, The client of the current institution will display the aggregated market data corresponding to the current institution, including: Convert the aggregated market data corresponding to the current institution into a view model; A two-way data binding method is used to bind the user interface components to the view model, so that the aggregated market data corresponding to the current institution can be displayed in the format of the view model through the user interface components.
7. A transaction processing system, characterized in that, include: The aggregation module and multiple clients; The aggregation module is used to obtain the current market data under each target trading mechanism, and for each current institution, sort the market data belonging to the current institution in the current market data under each target trading mechanism according to price and time to obtain the aggregated market data corresponding to the current institution, and send the aggregated market data corresponding to the current institution to the client of the current institution. The client is used to display the aggregated market data corresponding to the current institution, and to respond to the user's click and drag selection of multiple market data levels on the page to confirm the selection of multiple market data levels. It obtains the price information of each market data level selected by the user from the displayed aggregated market data corresponding to the current institution. Since the aggregated market data includes market data under various trading mechanisms, it splits and assembles the price information of each market data level selected by the user at the same time according to each target trading mechanism to obtain the current trading order corresponding to each target trading mechanism, and performs trading on the current trading order corresponding to each target trading mechanism based on each target trading mechanism.
8. The system according to claim 7, characterized in that, The aggregation module is also used for: The institutions that currently need to perform market data calculations are defined as the current institutions; Based on the information of each of the current institutions, market data calculation nodes corresponding to each of the current institutions are created in the aggregation module; Retrieve the market data for the day from the database, and perform market inversion based on the market data to obtain the initial market data; The market data in each market calculation node corresponding to the current institution is initialized using the initial market data.
9. An electronic device, characterized in that, include: Memory and processor; The memory is used to store programs; The processor is used to execute the program, which, when executed, is specifically used to implement the transaction processing method as described in any one of claims 1 to 6.
10. A computer storage medium, characterized in that, Used to store a computer program, which, when executed, implements the transaction processing method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Market data processing method and device, electronic equipment and storage medium
CN115456781A
Computerized apparatus for enhanced transmission of orders and market data between traders and one or more exchanges
US20130282549A1
