Exchange rate quotation method and device, equipment and storage medium

By introducing a collection of dynamic markup strategies into the exchange rate quotation system and adjusting exchange rate quotations based on market dynamics, the problem that the existing technology cannot quantify the perception of market dynamics is solved, and more efficient exchange rate quotation adjustments are achieved.

CN119477527APending Publication Date: 2025-02-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311001386.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-09
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing exchange rate quotation plan cannot quantify and perceive market dynamics, resulting in the inability to dynamically adjust exchange rate quotations, affecting transaction efficiency and profitability.

Method used

By receiving inquiry requests from the business side, determine the business quotation strategy, obtain the exchange rate benchmark price, and use the dynamic price increase strategy set to adjust the value increase according to the market dynamics, and finally determine the quotation to customers.

Benefits of technology

It realizes dynamic exchange rate quotation based on real-time dynamics of the exchange rate market, improving the market perception ability and trading efficiency of the trading platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477527A_ABST
    Figure CN119477527A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an exchange rate quotation method and device, equipment and a storage medium, and is used for carrying out dynamic exchange rate quotation according to the real-time dynamic state of an exchange rate market. Comprises: receiving an inquiry request sent by a service end, the inquiry request being used for requesting an exchange rate quotation of a target service; in response to the inquiry request, determining a service quotation strategy of the target service and obtaining an exchange rate standard price of the target service, the service quotation strategy comprising a first algorithm price-increasing strategy set, and the first algorithm price-increasing strategy set being obtained by triggering and taking effect according to a momentum event associated with an algorithm price-increasing strategy in the first algorithm price-increasing strategy; the momentum event is used for quantitatively processing the real-time dynamic state of the exchange rate; determining a target added value corresponding to the target service according to the first algorithm pricing strategy set; determining a customer offer corresponding to the target business according to the exchange rate standard price and the target added value; and sending the customer quotation to the service end. The technical scheme provided by the invention can be applied to the financial field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to financial information technology, and in particular to an exchange rate quotation method, device, equipment and storage medium. Background Art

[0002] There are two main types of foreign exchange trading platforms: with processing platform mode and without processing platform mode. Forex trading platforms with processing platform mode are also called market makers. Market makers, as the name implies, "make markets" for customers. Under certain conditions, when a trader wants to buy, the market maker sells to the trader, and when the trader wants to sell, the market maker buys it. In other words, when necessary, the market maker will always be in the opposite position of the trader, opposite to the trader's position, and "make markets" in this way. Market makers generally make profits through spreads and trade in the opposite direction of customers when necessary.

[0003] In the market maker's trading platform, the quote engine (or quote engine system) is the core. Customers initiate quote requests to the quote engine system through the business subsystem or interbank trading platform. The quote engine system accesses one or more quote sources from the international market in real time (supports both manual and system methods), and then uses the system's own processing mechanism or quote strategy to process the quote, and then publishes the comprehensive quote to the customer, who trades at this price.

[0004] The markups and discounts of existing quotation schemes are all entered into the markup table after traders, quotation engines or finance formulate price adjustment levels. In other words, existing quotation schemes can only manually evaluate the markups and discounts of exchange rate quotations or make fixed configurations after business negotiations, and cannot quantitatively perceive market dynamics and make price adjustments in response. Summary of the invention

[0005] The embodiments of the present application provide an exchange rate quotation method, apparatus, device and storage medium for making dynamic exchange rate quotations based on the real-time dynamics of the exchange rate market.

[0006] In view of this, the present application provides, on one hand, an exchange rate quotation method, comprising: receiving an inquiry request sent by a business end, the inquiry request being used to request an exchange rate quotation for a target business; determining a business quotation strategy for the target business in response to the inquiry request, and obtaining an exchange rate base price for the target business, the business quotation strategy comprising a first algorithm price increase strategy set, the algorithm price increase strategy in the first algorithm price increase strategy set being a dynamic price increase strategy for the target business, the first algorithm price increase strategy set being triggered to take effect according to a momentum event associated with the algorithm price increase strategy in the first algorithm price increase strategy, the momentum event being used to quantify the real-time dynamics of the exchange rate; determining a target added value corresponding to the target business according to the first algorithm price increase strategy set; determining a customer quotation corresponding to the target business according to the exchange rate base price and the target added value; and sending the customer quotation to the business end.

[0007] On the other hand, the present application provides an exchange rate quotation device, including: a receiving module, used to receive an inquiry request sent by a service end, the inquiry request is used to request an exchange rate quotation for a target service;

[0008] A processing module, configured to determine a business quotation strategy for the target business in response to the inquiry request, and obtain an exchange rate base price for the target business, wherein the business quotation strategy includes a first algorithm price increase strategy set, wherein the algorithm price increase strategy in the first algorithm price increase strategy set is a dynamic price increase strategy for the target business, and wherein the first algorithm price increase strategy set is triggered to take effect according to a momentum event associated with the algorithm price increase strategy in the first algorithm price increase strategy, and wherein the momentum event is used to quantify the real-time dynamics of the exchange rate; determine a target added value corresponding to the target business according to the first algorithm price increase strategy set; and determine a customer quotation corresponding to the target business according to the exchange rate base price and the target added value;

[0009] The sending module is used to send the customer quotation to the business end.

[0010] In one possible design, in another implementation of another aspect of the embodiment of the present application, the price inquiry request includes a service tag of the target service, and the processing module is used to match the second algorithm price increase strategy set corresponding to the target service from the algorithm price increase table according to the service tag, wherein the algorithm price increase table includes dynamic price increase strategies corresponding to multiple services;

[0011] An algorithmic price increase strategy whose status is effective is selected from the second algorithmic price increase strategy set to generate the first algorithmic price increase strategy set.

[0012] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is used to set a third algorithm price increase strategy set for the target service according to the service tag;

[0013] Associating at least one momentum event with each algorithmic price increase strategy in the third algorithmic price increase strategy set, where the momentum event is used to trigger the algorithmic price increase strategy to take effect;

[0014] The third algorithmic price increase strategy set and the at least one momentum event associated therewith are written into the algorithmic price increase table, wherein the initial state of each algorithmic price increase strategy in the third algorithmic price increase strategy set is set to an invalid state.

[0015] In one possible design, in another implementation of another aspect of the embodiment of the present application, the inquiry request includes a service tag of the target service and an object tag of the object initiating the inquiry request, and the processing module is used to match the algorithm price increase table according to the service tag and the object tag to obtain a fourth algorithm price increase strategy set corresponding to the target service, wherein the algorithm price increase table includes dynamic price increase strategies corresponding to multiple services;

[0016] An algorithmic price increase strategy whose status is effective is selected from the fourth algorithmic price increase strategy set to generate the first algorithmic price increase strategy set.

[0017] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is used to set a third algorithm price increase strategy set for the target service according to the service tag, and set a fifth algorithm price increase strategy set for the object according to the object tag;

[0018] Associating at least one momentum event with each algorithmic price increase strategy in the third algorithmic price increase strategy set and the fifth algorithmic price increase strategy set, wherein the momentum event is used to trigger the algorithmic price increase strategy to take effect;

[0019] The third algorithmic price increase strategy set and the fifth algorithmic price increase strategy set and the at least one momentum event associated therewith are written into the algorithmic price increase table, wherein the initial state of each algorithmic price increase strategy in the algorithmic price increase strategy set is set to an invalid state.

[0020] In one possible design, in another implementation of another aspect of the embodiment of the present application, the sending module is used to send an exchange rate query request to a historical exchange rate server, so that the historical exchange rate server obtains a target exchange rate quotation according to the exchange rate query request, and the exchange rate query request includes a currency pair, a first interval duration, a start time, and an end time;

[0021] The receiving module is used to receive the target exchange rate quotation returned by the historical exchange rate server, where the target exchange rate quotation is the exchange rate quotation between the start time and the end time;

[0022] The processing module is used to determine an index value set according to the target exchange rate quotation;

[0023] When the indicator value set meets the threshold condition, the target momentum event corresponding to the indicator value set is recorded, and the state of the target algorithm price increase strategy corresponding to the target momentum event is updated to the effective state, and the effective duration is the first interval duration. The target algorithm price increase strategy is included in the algorithm price increase table.

[0024] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target exchange rate quotation includes an opening price within the first interval time, a minimum exchange rate within the first interval time, a maximum exchange rate within the first interval time, and a closing price within the first interval time, and the processing module is used to divide the closing price by the opening price to obtain a first value;

[0025] Subtract 1 from the first value to obtain a first index value, wherein the first index value is attributed to the index value set.

[0026] In one possible design, in another implementation of another aspect of the embodiment of the present application, the target exchange rate quotation includes an opening price within the first interval time, a minimum exchange rate within the first interval time, a maximum exchange rate within the first interval time, and a closing price within the first interval time, and the processing module is used to divide the maximum exchange rate by the minimum exchange rate to obtain a second value;

[0027] Subtract 1 from the second value to obtain a second index value, wherein the second index value is attributed to the index value set.

[0028] In one possible design, in another implementation of another aspect of the embodiment of the present application, the sending module is used to periodically send the exchange rate query request to the historical exchange rate server at a second interval length;

[0029] or,

[0030] The sending module is used to trigger sending the exchange rate query request to the historical exchange rate server when receiving the inquiry request.

[0031] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is used to obtain a first added value set corresponding to the first algorithm price increase strategy set;

[0032] The target added value is obtained by summing up the added values ​​in the first added value set.

[0033] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is used to obtain a first value-added set corresponding to the first algorithm price-added strategy set and a weight value of each value-added value in the first value-added set;

[0034] The weighted sum of each added value in the first added value set is performed to obtain the target added value.

[0035] In one possible design, in another implementation of another aspect of the embodiment of the present application, the service quotation strategy also includes a manual price increase strategy set, and the manual price increase strategy set is a solid price increase strategy for the target service.

[0036] Another aspect of the present application provides a computer device, including: a memory, a processor, and a bus system;

[0037] Wherein, the memory is used to store programs;

[0038] The processor is used to execute the program in the memory, and the processor is used to execute the above-mentioned methods according to the instructions in the program code;

[0039] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

[0040] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.

[0041] Another aspect of the present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.

[0042] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: the real-time market dynamics of the exchange rate are quantified and the quantification is associated with the price increase strategy. Since the real-time market is dynamically changing, the price increase strategy of the target business is also dynamically changing, thereby enabling the added value of the target business to be dynamically adjusted, thereby achieving dynamic adjustment of the exchange rate quotation. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of an application scenario of exchange rate quotation in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a system architecture for exchange rate quotation in an embodiment of the present application;

[0045] Figure 3 A schematic diagram of an embodiment of the exchange rate quotation method in the embodiment of the present application;

[0046] Figure 4 A schematic diagram of a process for generating an indicator value in a momentum event in an embodiment of the present application;

[0047] Figure 5 A schematic diagram of a timing flow of exchange rate quotation in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of an embodiment of an exchange rate quotation device in an embodiment of the present application;

[0049] Figure 7 This is another schematic diagram of an embodiment of the exchange rate quotation device in the embodiment of the present application;

[0050] Figure 8 Schematic diagram of another embodiment of the exchange rate quotation device in the embodiment of the present application. DETAILED DESCRIPTION

[0051] The embodiments of the present application provide an exchange rate quotation method, apparatus, device and storage medium for making dynamic exchange rate quotations based on the real-time dynamics of the exchange rate market.

[0052] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0053] There are two main types of foreign exchange trading platforms: with processing platform mode and without processing platform mode. The foreign exchange trading platform with processing platform mode is also called market maker. Market maker, as the name implies, is to "make market" for customers. Under certain conditions, when the trader wants to buy, the market maker sells to the trader, and when the trader wants to sell, the market maker buys it. That is to say, when necessary, the market maker will always be in the opposite position of the trader, opposite to the trader's position, and "make market" in this way. Market makers generally make profits through spreads and trade in the opposite direction of customers when necessary. In the market maker's trading platform, the quotation engine (or quotation engine system) is the core. Customers initiate quotation requests to the quotation engine system through the business subsystem or interbank trading platform. The quotation engine system accesses one or more quotation sources from the international market in real time (supports manual and system methods), and then uses the system's own processing mechanism or quotation strategy to process the quotation, and then publishes the comprehensive quotation to customers, and customers trade at this price. The markups and discounts of existing quotation schemes are all entered into the markup table after traders, quotation engines or finance formulate price adjustment levels. In other words, existing quotation schemes can only manually evaluate the markups and discounts of exchange rate quotations or make fixed configurations after business negotiations, and cannot quantitatively perceive market dynamics and make price adjustments in response.

[0054] In order to solve the above problems, the present application provides the following technical solutions: receiving a price inquiry request sent by a business end, the price inquiry request is used to request an exchange rate quotation for a target business; determining a business quotation strategy for the target business in response to the price inquiry request, and obtaining an exchange rate base price for the target business, the business quotation strategy includes a first algorithm price increase strategy set, the algorithm price increase strategy in the first algorithm price increase strategy set is a dynamic price increase strategy for the target business, the first algorithm price increase strategy set is triggered and becomes effective according to a momentum event associated with the algorithm price increase strategy in the first algorithm price increase strategy, and the momentum event is used to quantify the real-time dynamics of the exchange rate; determining a target added value corresponding to the target business according to the first algorithm price increase strategy set; determining a customer quotation corresponding to the target business according to the exchange rate base price and the target added value; and sending the customer quotation to the business end. In this way, the real-time market dynamics of the exchange rate are quantified, and the quantification is associated with the price increase strategy. Since the real-time market is dynamically changing, the price increase strategy of the target business is also dynamically changing, so that the added value of the target business is dynamically adjusted, and then the dynamic adjustment of the exchange rate quotation is realized.

[0055] Since this application involves some professional terms, these professional terms will be introduced below.

[0056] Third-party payment: Third-party payment refers to an independent institution with certain strength and credibility, which signs contracts with major banks and provides an online payment model for transaction payment platforms that interface with bank payment and settlement systems. In the third-party payment model, after the buyer purchases the goods, he uses the account provided by the third-party platform to pay for the goods (pay to the third party), and the third party notifies the seller of the payment and requests delivery; the buyer receives the goods, inspects the goods, and confirms the goods, then notifies the third party to pay; the third party then transfers the funds to the seller's account. In the field of exchange rate trading, this third-party payment can also be called a market maker.

[0057] Volatility: Volatility is the degree of fluctuation in the price of financial assets. It is a measure of the uncertainty of asset returns and is used to reflect the risk level of financial assets. The higher the volatility, the more drastic the fluctuations in the price of financial assets and the greater the uncertainty of asset returns; the lower the volatility, the smoother the fluctuations in the price of financial assets and the greater the certainty of asset returns. Therefore, volatility is an important indicator for financial risk control. In this application, it can also be used to describe the magnitude of changes in the exchange rate market.

[0058] Fair exchange rate: refers to the foreign exchange exchange rate announced by banks or financial institutions, including buying and selling reference prices. It cannot be traded directly, has no trading volume, and is updated more slowly.

[0059] Transactional exchange rate: refers to the foreign exchange exchange rate that banks or financial institutions provide to customers for direct transactions, including buying and selling prices, which are generally with tradable quantities, updated frequently, and have clear timeliness. It can be specifically reflected in the candlestick chart, that is, the opening price, closing price, highest price and lowest price in the candlestick chart can all be called transactional exchange rates.

[0060] Price-locking transaction: The exchange rate provider (also known as a market maker or third-party payment platform) and the customer lock a fixed exchange rate within a certain period of time to conduct foreign exchange transactions. In this application, when the exchange rate quotation device provides a customer quotation to the business party, the validity period of the customer quotation is limited, and this period is also called a price-locking transaction.

[0061] Long-term exchange rate: The exchange rate provider (also called a market maker or third-party payment platform) and the customer lock a fixed exchange rate for a certain period of time to conduct foreign exchange transactions, which is not affected by market price fluctuations. This exchange rate is called a long-term exchange rate. The timeliness of the tradable exchange rate is generally in milliseconds or seconds, while the timeliness of the long-term exchange rate is generally in minutes or hours, or even days. In this application, when the exchange rate quotation device provides the customer quotation to the business party, the validity period of the customer quotation is limited. At this time, the exchange rate transaction conducted during this period is also called a locked price transaction, and the customer quotation at this time can also be called a long-term exchange rate.

[0062] Streaming exchange rates: Streaming exchange rates refer to real-time buy and sell prices in the foreign exchange market. Since the price fluctuations in the foreign exchange market are very fast, streaming exchange rates are usually updated several times per second. The changes in streaming exchange rates are usually small, but these small changes can have a significant impact on the trader's profit and loss.

[0063] Platform base price: refers to the transaction cost price of the third-party payment institution itself at the current moment.

[0064] Customer quotation: refers to the price that the third-party payment institution quotes to the customer for the transaction at the current moment.

[0065] Candlestick chart: A candlestick chart is a financial chart that graphically displays the price movement of an asset over a specific time frame. As the name suggests, it is composed of candlesticks, and each candlestick represents the same length of time as the others.

[0066] OHLC: It can be understood as each candlestick in the candlestick chart, where each candlestick includes the following four pieces of information: the opening price (open), the highest price (high), the lowest price (low) and the closing price (close) of a given time period, so it is often called OHLC.

[0067] The method provided in this application can be applied to Figure 1 The application scenario architecture shown in the figure is: Figure 1It is an optional architecture diagram under an application scenario of the exchange rate quotation method provided in the embodiment of the present application. To implement the exchange rate quotation method, the terminal device 100 is connected to the server 300 through the network 200, and the server 300 is connected to the database 400. The network 200 can be a wide area network or a local area network, or a combination of the two. The client that initiates the inquiry request is deployed on the terminal device 100, wherein the client can be run on the terminal device 100 in the form of a browser, or can be run on the terminal device 100 in the form of an independent application (application, APP), etc. The specific presentation form of the client is not limited here. The server 300 involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal device 100 can be a smart phone, a tablet computer, a laptop computer, a PDA, a personal computer, a smart TV, a smart watch, a vehicle-mounted device, a wearable device, etc., but is not limited thereto. The terminal device 100 and the server 300 can be directly or indirectly connected through the network 200 by wired or wireless communication, and this application does not limit this. The number of servers 300 and terminal devices 100 is also not limited. The solution provided in this application is completed by the terminal device 100 and the server 300, and this application does not make specific limitations on this. Among them, the database 400, in short, can be regarded as an electronic file cabinet-a place for storing electronic files, and users can add, query, update, delete, and other operations on the data in the file. The so-called "database" is a collection of data that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application program. A database management system (DBMS) is a computer software system designed for managing databases, generally with basic functions such as storage, interception, security, and backup. Database management systems can be classified according to the database models they support, such as relational and Extensible Markup Language (XML); or according to the types of computers they support, such as server clusters and mobile phones; or according to the query languages ​​they use, such as Structured Query Language (SQL) and XQuery; or according to performance priorities, such as maximum scale and maximum operating speed; or other classification methods.Regardless of the classification method used, some DBMSs can cross categories, for example, supporting multiple query languages ​​at the same time. In the present application, the database 400 can be used to store the algorithm markup table, the momentum event table, the candlestick chart, and the fair exchange rate table. Of course, the storage location of the algorithm markup table, the momentum event table, the candlestick chart, and the fair exchange rate table is not limited to the database, for example, it can also be stored in the terminal device 100, the blockchain, or the distributed file system of the server 300.

[0068] Based on the above application scenario architecture, Figure 2 The system architecture diagram shown in FIG. 1 illustrates the exchange rate quotation in this application. Figure 2 In the scenario shown, the execution device may include a business end and an exchange rate quotation device, wherein the exchange rate quotation device may be specifically divided into a customer quotation service, a momentum event signal generation service, a historical exchange rate service, a quotation operation system, an operation configuration service, a quotation engine, and a database. Among them, the customer quotation service can be understood as a module in the exchange rate quotation device that interacts with the business end; the momentum event signal generation service is a module for monitoring the change range of the exchange rate market and triggering the algorithmic price increase strategy to take effect according to the change range of the exchange rate market; the historical exchange rate service is a module for reading the fair exchange rate table and the candlestick chart, which can periodically send a query request to the database storing the fair exchange rate table and the candlestick chart. The quotation operation system is used to implement the algorithmic price increase strategy configuration, and the operation configuration service is used to write the algorithmic price increase strategy into the quotation engine and store it in the database. It should be understood that the price increase strategy of the database may include a manual price increase table and an algorithmic price increase table, wherein the price increase strategy in the manual price increase table can be understood as a fixed price increase strategy for each business, that is, each price increase strategy in the manual price increase table is always in effect. The price increase strategies in the algorithm price increase table can be understood as dynamic price increase strategies for each business, that is, each price increase strategy in the algorithm price increase table needs to determine whether it is effective based on its associated momentum event.

[0069] Based on the above description, the exchange rate quotation method provided by the present application in the system architecture can be divided into three parts. The first part is the exchange rate quotation (i.e., online application), and its specific process can be as follows: the business end (also known as a terminal device deployed with a business client) initiates a price inquiry request to the exchange rate quotation device; then the exchange rate quotation device generates a target added value according to the price increase strategy in the manual markup table and the algorithm markup table stored in the database, and the exchange rate quotation device also obtains the platform base price; the exchange rate quotation device determines the customer quotation based on the platform base price and the target added value; finally, the exchange rate quotation device returns the customer quotation to the business party.

[0070] The second part is to generate an algorithm markup table. The specific process can be as follows: the exchange rate quotation device configures the algorithm markup strategy corresponding to each business at the front end through the quotation operation system, and configures the corresponding momentum event for each algorithm markup strategy. In an exemplary scheme, if business 1 is a transaction between currency A and currency B, algorithm markup strategy 1 and algorithm markup strategy 2 can be configured for it. Among them, the added value of the algorithm markup strategy 1 is +0.005, and the momentum event 1 of the algorithm markup strategy 1 is that the change in the exchange rate within an interval is less than 0.01; the added value of the algorithm markup strategy 2 is -0.003, and the momentum event 2 of the algorithm markup strategy 2 is that the change in the exchange rate within an interval is less than 0.015. Then the above-mentioned business 1, algorithm markup strategy 1, and momentum event 1 are associated and written into the algorithm markup table; at the same time, business 1, algorithm markup strategy 2, and momentum event 2 are also associated and written into the algorithm markup table, thereby completing the configuration of the algorithm markup corresponding to each business at the front end. It is understandable that the above process can be performed before the first part, and can also be adjusted during actual application, and the specific timing is not limited here.

[0071] It should be understood that the exchange rate quotation device can also configure the manual price increase strategy corresponding to each business at the front end through the quotation operation system, and configure the manual price increase strategy to be in effect all the time.

[0072] The third part is the trigger signal generation of the momentum event, and its specific process can be as follows: the exchange rate quotation device periodically sends an exchange rate query request to the historical exchange rate service; then the historical exchange rate service queries the fair exchange rate table and the candlestick chart to obtain a tradable exchange rate within a specified interval; then the indicator value corresponding to the momentum event is determined according to the change range of the tradable exchange rate (also known as volatility); when the indicator value meets the threshold condition, a trigger signal is generated, and the momentum event that meets the threshold condition is recorded based on the trigger signal, and the state of the algorithm markup strategy corresponding to the momentum event is updated to be effective. In an exemplary scheme, in this application, the business end is unaware of the operation of the third part, that is, the third part has good scalability, thereby realizing the pluggability of the algorithm markup strategy.

[0073] Based on the above system architecture diagram, the following Figure 3 The timing diagram shown in FIG. 1 illustrates the exchange rate quotation method in this application. Figure 3As shown, its specific execution device can be divided into a business end and an exchange rate quotation device. Among them, the exchange rate quotation device can be specifically divided into a customer quotation service, a platform benchmark service, a momentum event signal generation service, a historical exchange rate service, a quotation operation system, an operation configuration service, a quotation engine and a database. Among them, the customer quotation service can be understood as a module in the exchange rate quotation device that interacts with the business end for service; the platform benchmark service is a module that provides a platform benchmark price (i.e., the exchange rate benchmark price in this application); the momentum event signal generation service is a module for monitoring the exchange rate market change range, and triggering the algorithm markup strategy to take effect according to the exchange rate market change range; the historical exchange rate service is a module for reading fair exchange rates and candlestick charts, wherein query requests can be sent to the database storing fair exchange rate tables and candlestick charts at regular intervals. The quotation operation system is used to implement the algorithm markup strategy configuration, and the operation configuration service is used to write the algorithm markup strategy into the quotation engine.

[0074] In the timing diagram, the merchant (i.e., the business end) initiates a price inquiry request to the customer quotation service in the exchange rate quotation system; the customer quotation service obtains the platform benchmark price (i.e., the exchange rate benchmark price in this application) through the platform benchmark service; at the same time, the quotation engine is queried about the algorithmic price increase strategy of the business queried by the business party and the momentum trigger event in effect; the final algorithmic price increase strategy corresponding to the business is determined according to the momentum trigger event in effect; the target markup value is determined according to the final algorithmic price increase strategy; and the customer quotation for the business is determined according to the target markup value and the platform benchmark price.

[0075] In momentum event monitoring, the momentum event signal generation service periodically sends an exchange rate query request to the historical exchange rate service (for example, querying the candlestick chart from the current moment to the last second interval); the historical exchange rate service also periodically reads the fair exchange rate and candlestick chart of the database to obtain the specific information of the candlestick chart (i.e., the target exchange rate quotation in this application); then calculates the index value of the momentum event based on the specific information and the fair exchange rate; finally, compares the index value with the threshold condition, and when the threshold condition is met, records the momentum event and triggers the update of the algorithm markup strategy corresponding to the momentum event to take effect. In this momentum event monitoring process, when calculating the index value, its specific calculation process can be as follows: Figure 4 As shown, the momentum event signal generation service periodically obtains OHLC from the fair rate table and the real-time candlestick chart; then obtains an indicator value set based on the OHLC; and finally determines the final momentum event signal based on the indicator value set.

[0076] In an exemplary solution, the exchange rate query request can be set to getOHLC(ccyPair, intvl, startTime, endTime). Among them, the ccyPair is used to indicate the currency pair (such as currency A and currency B); the intvl is the duration represented by each OHLC, and the OHLC segmentation starts at 0:00:00. For example, if intvl = 15*60 seconds = 15 minutes, then 0:00-0:14:59.999, 0:15:00-0:29:59.999, 0:30:00-0:44:59.999, 0:45:00-0:59:59.999, ... are the time covered by each OHLC (in this application, the time covered by the OHLC can be set to be a time that can be divided by 24 hours). startTime is the starting time of the exchange rate, such as 2023 / 4 / 18 17:17. The endTime is the end time of the exchange rate, such as 2023 / 4 / 18 23:59:59.999. When intvl is 60 minutes, the first specified time interval is 2023 / 4 / 1817:17-2023 / 4 / 18 17:59:59.999, the second is 2023 / 4 / 18 18:00-2023 / 4 / 18 18:59:59.999, and so on.

[0077] The index value can be set to at least one. When the index value is set to one, the index value can be calculated by dividing the closing price indicated in the OHLC by the opening price indicated in the OHLC to obtain a first value; subtracting 1 from the first value to obtain a first index value. Alternatively, the index value can be calculated by dividing the highest price indicated in the OHLC by the lowest price indicated in the OHLC to obtain a second value; subtracting 1 from the second value to obtain a second index value. For example, if an OHLC is (6.999, 7.002, 6.900, 7.000), the index value can be (7.000 / 6.999)-1=0.0001. Alternatively, the index value is (7.002 / 6.900)-1=0.0148.

[0078] It should also be understood that when the number of the index values ​​is greater than 1 (i.e., generating an index value set), each index value in the index value set can be ANDed with the threshold condition, that is, when all the index values ​​of a momentum event meet the threshold condition, it is determined that the algorithmic markup strategy corresponding to the momentum event is effective. At the same time, the effective duration of the algorithmic markup strategy is equal to the interval duration of the request in the exchange rate query request. For example, momentum event A corresponds to two index values, namely, index value 1 calculated from the opening price and the closing price, and index value 2 calculated from the highest price and the lowest price. At this time, when index value 1 meets the first threshold and index value 2 meets the second threshold, the momentum event A will be recorded and the algorithmic markup strategy status corresponding to the momentum event A will be triggered to be updated to effective.

[0079] In the configuration of the algorithmic markup table, the trader writes the algorithmic markup strategy through the quotation operation system through the front-end configuration in the exchange rate quotation system, and then the quotation operation system writes the algorithmic markup strategy into the quotation engine through the operation configuration service and stores it in the database. It should be understood that the trader can also write a manual markup strategy when writing the algorithmic markup strategy. It should be understood that the manual markup strategy is a fixed markup strategy corresponding to each business, that is, for any business, when performing the added value calculation, its corresponding manual markup strategy is effective.

[0080] It can be understood that in the specific implementation of the present application, related data such as object labels, historical exchange rates, algorithm markup tables, and momentum event tables are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0081] Combined with the above introduction, the exchange rate quotation method in this application will be introduced below. Please refer to Figure 5 , an embodiment of the exchange rate quotation method in the embodiment of the present application includes:

[0082] 501. Receive a price inquiry request sent by a business end, where the price inquiry request is used to request an exchange rate quotation for a target business.

[0083] The exchange rate quotation device receives the inquiry request sent by the service end. In this embodiment, the inquiry request may include the account number of the request object, the service tag of the target service corresponding to the inquiry request, and the object tag of the request object.

[0084] It is understandable that the object tag can be used to describe the relationship attribute, interest attribute and behavior attribute of the request object. In an exemplary solution, the object A that sends the inquiry request can have an object tag of "older age, more stable investment personality" and so on.

[0085] The business label can be understood as the business type, for example, the transaction business between currency A and currency B or the transaction business between currency A and currency C, etc.

[0086] 502. In response to the price inquiry request, a business quotation strategy for the target business is determined, and an exchange rate base price for the target business is obtained, wherein the business quotation strategy includes a first algorithm price increase strategy set, wherein the algorithm price increase strategy in the first algorithm price increase strategy set is a dynamic price increase strategy for the target business, and wherein the first algorithm price increase strategy set is triggered to take effect based on a momentum event associated with the algorithm price increase strategy in the first algorithm price increase strategy, and wherein the momentum event is used to quantify the real-time dynamics of the exchange rate.

[0087] The exchange rate quotation device determines the service quotation strategy of the target service according to the service tag and / or object tag of the target service in response to the inquiry request, and also obtains the exchange rate base price of the target service.

[0088] It should be understood that the specific operation of the exchange rate quotation device to determine the service quotation strategy according to the service tag and / or object tag can be referred to above, and will not be repeated here.

[0089] Optionally, the service quotation strategy also includes its corresponding manual price increase strategy.

[0090] 503. Determine a target markup value corresponding to the target business according to the first algorithm markup strategy set.

[0091] In this embodiment, in one implementation, the exchange rate quotation device determines the first value set corresponding to the first algorithm markup strategy set according to the first algorithm markup strategy set; and then sums the first value set to obtain the target value. In an exemplary solution, the first value set is (+0.005, +0.001, -0.003, -0.002, +0.001), and the target value finally corresponding to it is +0.002.

[0092] In another implementation, the exchange rate quotation device determines the first value set and the first weight value set corresponding to the first algorithm price increase strategy set according to the first algorithm price increase strategy set; and then performs weighted summation on the first value set to obtain the target value. In an exemplary solution, the first value set is (+0.005, +0.001, -0.003, -0.002, +0.001), and the corresponding first weight value set is (1, 0.5, 1, 0.2, 1.2), and the final corresponding target value is +0.0033.

[0093] 504. Determine a customer quotation corresponding to the target business according to the exchange rate base price and the target added value.

[0094] The exchange rate quotation device calculates the exchange rate base price and the target added value to obtain the customer quotation corresponding to the target business. For example, the exchange rate base price between currency A and currency B is 6.9, and the corresponding target added value is 0.0033, then the customer quotation is 6.9033.

[0095] 505. Send the customer quotation to the business end.

[0096] The exchange rate quotation device sends the customer quotation to the business end wirelessly or by wire, so that the business end can display it on a display interface or play it by voice playback.

[0097] The exchange rate quotation device in this application is described in detail below. Figure 6 , Figure 6 This is a schematic diagram of an embodiment of an exchange rate quotation device in an embodiment of the present application. The exchange rate quotation device 20 includes:

[0098] The receiving module 201 is used to receive a price inquiry request sent by a business end, where the price inquiry request is used to request an exchange rate quotation for a target business;

[0099] The processing module 202 is used to determine the business quotation strategy of the target business in response to the inquiry request, and obtain the exchange rate base price of the target business, the business quotation strategy includes a first algorithm price increase strategy set, the algorithm price increase strategy in the first algorithm price increase strategy set is a dynamic price increase strategy of the target business, the first algorithm price increase strategy set is triggered and becomes effective according to a momentum event associated with the algorithm price increase strategy in the first algorithm price increase strategy, and the momentum event is used to quantify the real-time dynamics of the exchange rate; determine the target added value corresponding to the target business according to the first algorithm price increase strategy set; determine the customer quotation corresponding to the target business according to the exchange rate base price and the target added value;

[0100] The sending module 203 is used to send the customer quotation to the business end.

[0101] In the embodiment of the present application, an exchange rate quotation device is provided. The above device is used to quantify the real-time market dynamics of the exchange rate, and the quantification is associated with the price increase strategy. Since the real-time market is dynamically changing, the price increase strategy of the target business is also dynamically changing, so that the added value of the target business is dynamically adjusted, thereby realizing the dynamic adjustment of the exchange rate quotation.

[0102] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0103] The price inquiry request includes a service tag of the target service, and the processing module 202 is used to match the second algorithm price increase strategy set corresponding to the target service from the algorithm price increase table according to the service tag, wherein the algorithm price increase table includes dynamic price increase strategies corresponding to multiple services;

[0104] An algorithmic price increase strategy whose status is effective is selected from the second algorithmic price increase strategy set to generate the first algorithmic price increase strategy set.

[0105] In the embodiment of the present application, an exchange rate quotation device is provided. By using the above device, the service tag is used as an index to match the algorithmic price increase strategy corresponding to the target service in the algorithmic price increase table, so that the dynamic price increase strategy corresponding to the service tag can be determined, so that the added value is accurate.

[0106] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application, the processing module 202 is used to set a third algorithm price increase strategy set for the target service according to the service tag;

[0107] Associating at least one momentum event with each algorithmic price increase strategy in the third algorithmic price increase strategy set, where the momentum event is used to trigger the algorithmic price increase strategy to take effect;

[0108] The third algorithmic price increase strategy set and the at least one momentum event associated therewith are written into the algorithmic price increase table, wherein the initial state of each algorithmic price increase strategy in the third algorithmic price increase strategy set is set to an invalid state.

[0109] In an embodiment of the present application, an exchange rate quotation device is provided. By using the above device, a corresponding algorithmic price increase strategy is set for each business, and an associated momentum event is set for each algorithmic price increase strategy, so that each business can dynamically adjust the exchange rate quotation according to the momentum event, thereby providing a more accurate exchange rate quotation.

[0110] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0111] The inquiry request includes a service tag of the target service and an object tag of the object initiating the inquiry request. The processing module 202 is used to match the algorithm price increase table according to the service tag and the object tag to obtain a fourth algorithm price increase strategy set corresponding to the target service, wherein the algorithm price increase table includes dynamic price increase strategies corresponding to multiple services.

[0112] An algorithmic price increase strategy whose status is effective is selected from the fourth algorithmic price increase strategy set to generate the first algorithmic price increase strategy set.

[0113] In the embodiment of the present application, a device for quoting exchange rates is provided. The above device is used to match the algorithmic price increase strategy corresponding to the target business in the algorithmic price increase table with the business tag and the object tag as indexes, so that the dynamic price increase strategy corresponding to the business tag can be determined, so that the added value is accurate; at the same time, different dynamic price increase strategies are matched for different objects, so that personalized quotations can be realized.

[0114] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0115] The processing module 202 is used to set a third algorithm price increase strategy set for the target service according to the service tag, and set a fifth algorithm price increase strategy set for the object according to the object tag;

[0116] Associating at least one momentum event with each algorithmic price increase strategy in the third algorithmic price increase strategy set and the fifth algorithmic price increase strategy set, wherein the momentum event is used to trigger the algorithmic price increase strategy to take effect;

[0117] The third algorithmic price increase strategy set and the fifth algorithmic price increase strategy set and the at least one momentum event associated therewith are written into the algorithmic price increase table, wherein the initial state of each algorithmic price increase strategy in the algorithmic price increase strategy set is set to an invalid state.

[0118] In an embodiment of the present application, an exchange rate quotation device is provided. Using the above device, a corresponding algorithmic markup strategy is set for each business, and an associated momentum event is set for each algorithmic markup strategy, so that each business can dynamically adjust the exchange rate quotation according to the momentum event, thereby providing a more accurate exchange rate quotation. At the same time, a corresponding algorithmic markup strategy is set for each object, and an associated momentum event is set for each algorithmic markup strategy, so that a different exchange rate quotation can be provided for each object, thereby providing a personalized exchange rate quotation service.

[0119] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application, the sending module 203 is used to send an exchange rate query request to the historical exchange rate server, so that the historical exchange rate server obtains a target exchange rate quotation according to the exchange rate query request, and the exchange rate query request includes a currency pair, a first interval duration, a start time, and an end time;

[0120] The receiving module 201 is used to receive the target exchange rate quotation returned by the historical exchange rate server, where the target exchange rate quotation is the exchange rate quotation between the start time and the end time;

[0121] The processing module 202 is used to determine an indicator value set according to the target exchange rate quotation;

[0122] When the indicator value set meets the threshold condition, the target momentum event corresponding to the indicator value set is recorded, and the state of the target algorithm price increase strategy corresponding to the target momentum event is updated to the effective state, and the effective duration is the first interval duration. The target algorithm price increase strategy is included in the algorithm price increase table.

[0123] In an embodiment of the present application, an exchange rate quotation device is provided. By using the above device, by querying historical exchange rate quotations, the real-time changes in the exchange rate market within an interval are obtained, thereby determining the index value of the momentum event, and then updating the status and duration of each algorithm markup strategy in the algorithm markup table, so that the algorithm markup strategy of a business in different time periods can be dynamically adjusted, thereby realizing the dynamic adjustment of the exchange rate quotation of the business.

[0124] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application, the target exchange rate quotation includes an opening price within the first interval time, a minimum exchange rate within the first interval time, a maximum exchange rate within the first interval time, and a closing price within the first interval time, and the processing module 202 is used to divide the closing price by the opening price to obtain a first value;

[0125] Subtract 1 from the first value to obtain a first index value, wherein the first index value is attributed to the index value set.

[0126] In the embodiment of the present application, an exchange rate quotation device is provided. By using the above device, the index value is determined by the ratio of the closing price to the opening price, which can provide a relatively smooth exchange rate market change, so that the number of times the triggering algorithm markup strategy of the momentum event takes effect is relatively low, thereby making the exchange rate quotation relatively stable.

[0127] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0128] The target exchange rate quotation includes an opening price within the first time interval, a minimum exchange rate within the first time interval, a maximum exchange rate within the first time interval, and a closing price within the first time interval, and the processing module 202 is used to divide the maximum exchange rate by the minimum exchange rate to obtain a second value;

[0129] Subtract 1 from the second value to obtain a second index value, wherein the second index value is attributed to the index value set.

[0130] In the embodiment of the present application, an exchange rate quotation device is provided. By using the above device, the index value is determined by the ratio of the highest price to the lowest price, which can provide a faster exchange rate market change, so that the triggering algorithm price increase strategy of the momentum event takes effect more frequently, thereby making the exchange rate quotation change faster.

[0131] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0132] The sending module 203 is used to periodically send the exchange rate query request to the historical exchange rate server at a second interval length;

[0133] or,

[0134] The sending module 203 is used to trigger sending the exchange rate query request to the historical exchange rate server when receiving the inquiry request.

[0135] In the embodiment of the present application, an exchange rate quotation device is provided. With the above device, a scheduled task or a real-time triggered task can be set, so that the frequency of exchange rate query can be set according to actual needs, and the feasibility of the solution is also increased.

[0136] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0137] The processing module 202 is used to obtain a first added value set corresponding to the first algorithm price increase strategy set;

[0138] The target added value is obtained by summing up the added values ​​in the first added value set.

[0139] In the embodiment of the present application, an exchange rate quotation device is provided. By using the above device, the added values ​​corresponding to the price increase strategies of each algorithm are summed up, so that a simple comprehensive consideration can be achieved, thereby providing a more balanced exchange rate quotation.

[0140] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0141] The processing module 202 is used to obtain a first value-added set corresponding to the first algorithm price-added strategy set and a weight value of each value-added value in the first value-added set;

[0142] The weighted sum of each added value in the first added value set is performed to obtain the target added value.

[0143] In the embodiment of the present application, a device for quoting exchange rates is provided. By using the device, weighted summation is performed for the added values ​​corresponding to the price-added strategies of each algorithm, so that different weights can be set according to actual needs, thereby providing a more personalized exchange rate quotation.

[0144] Optionally, in the above Figure 6 On the basis of the corresponding embodiment, in another embodiment of the exchange rate quotation device 20 provided in the embodiment of the present application,

[0145] The service quotation strategy also includes a manual price increase strategy set, and the manual price increase strategy set is a solid price increase strategy for the target service.

[0146] In an embodiment of the present application, a device for quoting exchange rates is provided. By using the device, a fixed price increase strategy can be set for each service, which can reduce the workload of exchange rate query requests.

[0147] The exchange rate quotation device provided by this application can be used in the server, please refer to Figure 7 , Figure 7 : is a schematic diagram of a server structure provided in an embodiment of the present application. The server 300 may have relatively large differences due to different functions or performances, and may include one or more central processing units (CPU) 322 (for example, one or more processors) and memory 332, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 342 or data 344. Among them, the memory 332 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 322 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.

[0148] The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input and output interfaces 358, and / or one or more operating systems 341, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TMetc.

[0149] The steps performed by the server in the above embodiment can be based on the Figure 7 The server structure shown.

[0150] The exchange rate quotation device provided in this application can be used in terminal equipment. Figure 8 For the sake of convenience, only the parts related to the embodiments of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiments of the present application. In the embodiments of the present application, the terminal device is a smart phone as an example for explanation:

[0151] Figure 8 The block diagram shows a partial structure of a smart phone related to the terminal device provided in the embodiment of the present application. Figure 8 The smart phone includes: a radio frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and a power supply 490. Those skilled in the art will appreciate that Figure 8 The structure of the smartphone shown in the figure does not constitute a limitation of the smartphone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0152] Combine the following Figure 8 A detailed introduction to the various components of a smartphone:

[0153] The RF circuit 410 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 480 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 410 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 410 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0154] The memory 420 can be used to store software programs and modules. The processor 480 executes various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 420. The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the smartphone (such as audio data, a phone book, etc.), etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0155] The input unit 430 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the smart phone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 431 or near the touch panel 431 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 431 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 480, and can receive and execute commands sent by the processor 480. In addition, the touch panel 431 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 431, the input unit 430 may also include other input devices 432. Specifically, other input devices 432 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0156] The display unit 440 can be used to display information input by the user or information provided to the user and various menus of the smartphone. The display unit 440 may include a display panel 441. Optionally, the display panel 441 may be in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 431 may cover the display panel 441. When the touch panel 431 detects a touch operation on or near it, it is transmitted to the processor 480 to determine the type of touch event. Subsequently, the processor 480 provides a corresponding visual output on the display panel 441 according to the type of touch event. Although in Figure 8 In the embodiment, the touch panel 431 and the display panel 441 are used as two independent components to implement the input and output functions of the smartphone, but in some embodiments, the touch panel 431 and the display panel 441 can be integrated to implement the input and output functions of the smartphone.

[0157] The smartphone may also include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 441 and / or the backlight when the smartphone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of smartphones (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, tapping), etc.; as for other sensors that smartphones may also have, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0158] The audio circuit 460, the speaker 461, and the microphone 462 can provide an audio interface between the user and the smartphone. The audio circuit 460 can transmit the received audio data to the speaker 461 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which is received by the audio circuit 460 and converted into audio data, and then the audio data is output to the processor 480 for processing, and then sent to another smartphone through the RF circuit 410, or the audio data is output to the memory 420 for further processing.

[0159] WiFi is a short-range wireless transmission technology. Smartphones can help users send and receive emails, browse web pages, and access streaming media through WiFi module 470, which provides users with wireless broadband Internet access. Figure 8 A WiFi module 470 is shown, but it is understandable that it is not an essential component of the smartphone and can be omitted as needed without changing the essence of the invention.

[0160] Processor 480 is the control center of the smartphone, which uses various interfaces and lines to connect various parts of the entire smartphone, and executes various functions of the smartphone and processes data by running or executing software programs and / or modules stored in memory 420, and calling data stored in memory 420, thereby monitoring the smartphone as a whole. Optionally, processor 480 may include one or more processing units; optionally, processor 480 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into processor 480.

[0161] The smart phone also includes a power source 490 (such as a battery) for supplying power to various components. Optionally, the power source can be logically connected to the processor 480 through a power management system, thereby managing functions such as charging, discharging, and power consumption management through the power management system.

[0162] Although not shown, the smartphone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0163] The steps performed by the terminal device in the above embodiment can be based on the Figure 8 The terminal device structure shown.

[0164] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0165] The present application also provides a computer program product including a program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0167] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0169] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0170] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0171] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for quoting exchange rates, characterized in that: include: Receive a price inquiry request sent by a business end, wherein the price inquiry request is used to request an exchange rate quotation for a target business; Determining a business quotation strategy for the target business in response to the inquiry request, and obtaining an exchange rate base price for the target business, wherein the business quotation strategy includes a first algorithm markup strategy set, wherein the algorithm markup strategy in the first algorithm markup strategy set is a dynamic markup strategy for the target business, and wherein the first algorithm markup strategy set is obtained by triggering a momentum event associated with the algorithm markup strategy in the first algorithm markup strategy, and wherein the momentum event is used to quantify the real-time dynamics of the exchange rate; Determine the target markup value corresponding to the target business according to the first algorithm markup strategy set; Determine the customer quotation corresponding to the target business according to the exchange rate base price and the target added value; The customer quotation is sent to the business end.

2. The method according to claim 1, characterized in that The inquiry request includes a service tag of the target service, and determining the service quotation strategy in response to the inquiry request includes: According to the service tag, a second algorithmic price increase strategy set corresponding to the target service is obtained by matching from an algorithmic price increase table, wherein the algorithmic price increase table includes dynamic price increase strategies corresponding to multiple services; The first algorithm price increase strategy set is generated by selecting an algorithm price increase strategy whose status is effective from the second algorithm price increase strategy set.

3. The method according to claim 2, characterized in that Before receiving the price inquiry request sent by the business end, the method further includes: Setting a third algorithm price increase strategy set for the target service according to the service tag; Associating at least one momentum event with each algorithmic price increase strategy in the third algorithmic price increase strategy set, wherein the momentum event is used to trigger the algorithmic price increase strategy to take effect; The third set of algorithmic markup strategies and the at least one momentum event associated therewith are written into the algorithmic markup table, wherein the initial state of each algorithmic markup strategy in the third set of algorithmic markup strategies is set to an invalid state.

4. The method according to claim 1, characterized in that: The inquiry request includes a service tag of the target service and an object tag of the object initiating the inquiry request, and determining a service quotation strategy in response to the inquiry request includes: Obtaining a fourth algorithmic price increase strategy set corresponding to the target service from an algorithmic price increase table according to the service tag and the object tag, wherein the algorithmic price increase table includes dynamic price increase strategies corresponding to multiple services; The first algorithm price increase strategy set is generated by selecting an algorithm price increase strategy whose status is effective from the fourth algorithm price increase strategy set.

5. The method according to claim 4, characterized in that Before receiving the price inquiry request sent by the service end, the method further includes: Setting a third algorithm price increase strategy set for the target service according to the service tag, and setting a fifth algorithm price increase strategy set for the object according to the object tag; Associating at least one momentum event with each algorithmic price increase strategy in the third algorithmic price increase strategy set and the fifth algorithmic price increase strategy set, wherein the momentum event is used to trigger the algorithmic price increase strategy to take effect; The third algorithmic markup strategy set and the fifth algorithmic markup strategy set and the at least one momentum event associated therewith are written into the algorithmic markup table, wherein the initial state of each algorithmic markup strategy in the algorithmic markup strategy set is set to an invalid state.

6. The method according to any one of claims 2 to 5, characterized in that The method further comprises: Sending an exchange rate query request to a historical exchange rate server, so that the historical exchange rate server obtains a target exchange rate quotation according to the exchange rate query request, wherein the exchange rate query request includes a currency pair, a first interval duration, a start time, and an end time; receiving the target exchange rate quotation returned by the historical exchange rate server, wherein the target exchange rate quotation is an exchange rate quotation between the start time and the end time; Determining a set of index values ​​according to the target exchange rate quotation; When the indicator value set meets the threshold condition, the target momentum event corresponding to the indicator value set is recorded, and the state of the target algorithm price increase strategy corresponding to the target momentum event is updated to an effective state, and the effective duration is the first interval duration. The target algorithm price increase strategy is included in the algorithm price increase table.

7. The method according to claim 6, characterized in that The target exchange rate quotation includes an opening price within the first time interval, a minimum exchange rate within the first time interval, a maximum exchange rate within the first time interval, and a closing price within the first time interval, and determining an indicator value set according to the target exchange rate quotation includes: Dividing the closing price by the opening price to obtain a first value; The first value is subtracted by 1 to obtain a first index value, wherein the first index value is attributed to the index value set.

8. The method according to claim 6, characterized in that The target exchange rate quotation includes an opening price within the first time interval, a minimum exchange rate within the first time interval, a maximum exchange rate within the first time interval, and a closing price within the first time interval, and determining an indicator value set according to the target exchange rate quotation includes: Dividing the highest exchange rate by the lowest exchange rate to obtain a second value; Subtract 1 from the second value to obtain a second index value, wherein the second index value is attributed to the index value set.

9. The method according to claim 6, characterized in that The sending of the exchange rate query request to the historical exchange rate server includes: Periodically sending the exchange rate query request to the historical exchange rate server at a second interval length; or, When the inquiry request is received, the exchange rate inquiry request is triggered to be sent to the historical exchange rate server.

10. The method according to any one of claims 1 to 5 and 7 to 9, characterized in that: Determining the target markup value corresponding to the target service according to the first algorithm markup strategy set includes: Obtain a first set of added values ​​corresponding to the first algorithm price increase strategy set; The target added value is obtained by summing up the added values ​​in the first added value set.

11. The method according to any one of claims 1 to 5 and 7 to 9, characterized in that: Determining the target markup value corresponding to the target service according to the first algorithm markup strategy set includes: Obtaining a first value-added set corresponding to the first algorithm price-added strategy set and a weight value of each value-added value in the first value-added set; A weighted sum is performed on each added value in the first added value set to obtain the target added value.

12. The method according to any one of claims 1 to 5 and 7 to 9, characterized in that: The service quotation strategy also includes a manual price increase strategy set, and the manual price increase strategy set is a solid price increase strategy for the target service.

13. An exchange rate quotation device, characterized in that: include: A receiving module, used to receive a price inquiry request sent by a business end, wherein the price inquiry request is used to request an exchange rate quotation for a target business; A processing module, configured to determine a business quotation strategy for the target business in response to the inquiry request, and obtain an exchange rate base price for the target business, wherein the business quotation strategy includes a first algorithm markup strategy set, wherein the algorithm markup strategy in the first algorithm markup strategy set is a dynamic markup strategy for the target business, and wherein the first algorithm markup strategy set is triggered to take effect according to a momentum event associated with the algorithm markup strategy in the first algorithm markup strategy, wherein the momentum event is used to quantify the real-time dynamics of the exchange rate; and determining a target markup value corresponding to the target business according to the first algorithm markup strategy set; Determine the customer quotation corresponding to the target business according to the exchange rate base price and the target added value; A sending module is used to send the customer quotation to the business end.

14. A computer device, characterized in that: include: Memory, processor, and bus system; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, and the processor is used to execute the method according to any one of claims 1 to 12 according to the instructions in the program code; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

15. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 12.