CN117196623A - Foreign exchange article transaction method and device, processor and electronic equipment - Google Patents

Foreign exchange article transaction method and device, processor and electronic equipment Download PDF

Info

Publication number
CN117196623A
CN117196623A CN202311121572.0A CN202311121572A CN117196623A CN 117196623 A CN117196623 A CN 117196623A CN 202311121572 A CN202311121572 A CN 202311121572A CN 117196623 A CN117196623 A CN 117196623A
Authority
CN
China
Prior art keywords
transaction
target
days
determining
currency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311121572.0A
Other languages
Chinese (zh)
Inventor
刘小艳
黄剑文
区伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202311121572.0A priority Critical patent/CN117196623A/en
Publication of CN117196623A publication Critical patent/CN117196623A/en
Pending legal-status Critical Current

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a transaction method and device for foreign exchange articles, a processor and electronic equipment. Relates to the field of financial science and technology, and the method comprises the following steps: receiving a foreign exchange article transaction request; responding to the foreign exchange article transaction request, and determining various information according to the target transaction information; under the condition that the target deadline type is a fixed deadline, determining the number of days to be traded according to the information of the day of the rest and the information of the date of the delivery; determining whether results of transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively, and further determining the transaction exchange rate according to the results; a transaction price for the target item is determined based on the transaction rate to perform a transaction operation on the target item using the transaction price. The method and the device solve the technical problem that in the related art, when a customer transacts the foreign exchange product, the customer experience is poor.

Description

Foreign exchange article transaction method and device, processor and electronic equipment
Technical Field
The invention relates to the field of article transaction, in particular to a method, a device, a processor and electronic equipment for transaction of foreign exchange articles.
Background
According to the technical scheme, when a client transacts the foreign exchange product, due to the fact that the transaction is inconvenient, the price is not universal, the fixed exchange rate is calculated, and the like, the client experience is poor.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a processor and electronic equipment for trading foreign exchange articles, which at least solve the technical problem that in the related art, when a customer conducts trading on foreign exchange products, the customer experience is poor.
According to one aspect of an embodiment of the present invention, there is provided a method of transacting a foreign exchange item, comprising: receiving a foreign exchange article transaction request, wherein the foreign exchange article transaction request carries target transaction information; responding to the foreign exchange article transaction request, and determining a target article, an initial currency, a target deadline type, information of a date of origin and information of a date of delivery according to the target transaction information; under the condition that the target deadline type is a fixed deadline, determining the number of days to be traded according to the information of the date of interest and the information of the date of delivery; determining whether transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively, and obtaining a matching result, wherein M is an integer greater than 1; and determining a transaction exchange rate corresponding to the initial currency to the target currency according to the matching result.
Optionally, the determining, according to the matching result, a transaction exchange rate corresponding to the initial currency to the target currency includes: determining a first standard period and a second standard period from the M standard periods when the number of days matched with the number of days to be transacted is not found in the transaction days corresponding to the M standard periods respectively, wherein the first standard period is a standard period which is smaller than the number of days to be transacted and is nearest to the number of days to be transacted in the M standard periods, and the second standard period is a standard period which is larger than or equal to the number of days to be transacted in the M standard periods and is nearest to the number of days to be transacted; and obtaining the transaction exchange rate corresponding to the conversion of the initial currency to the target currency according to the exchange rate of the day of the rest, the first expiration date corresponding to the first standard period and the second expiration date corresponding to the second standard period.
Optionally, the determining, according to the matching result, a transaction exchange rate corresponding to the initial currency to the target currency includes: and under the condition that the number of days matched with the number of days to be transacted exists in the transaction days corresponding to the M standard periods respectively as the matching result, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of interest and the third drop-off point corresponding to the target standard period, wherein the target standard period is the period of the number of days to be transacted corresponding to the transaction days.
Optionally, the determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period includes: determining the date property corresponding to the target standard deadline; determining a date falling point of the working day adjacent to the target standard period as the third date falling point under the condition that the corresponding date property is a non-working day; and determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
Optionally, the determining, according to the matching result, a transaction exchange rate corresponding to the initial currency to the target currency includes: and under the condition that the foreign exchange article transaction request carries transaction amount, determining a transaction exchange rate corresponding to the initial currency to the target currency according to the transaction amount and the matching result.
Optionally, the determining, according to the matching result, a transaction exchange rate corresponding to the initial currency to the target currency includes: and under the condition that the foreign exchange article transaction request carries the object identity, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the object identity and the matching result.
Optionally, after determining the target item, the initial currency, the target currency and the target deadline type according to the target transaction information in response to the foreign exchange item transaction request, the method further includes: under the condition that the target deadline type is a preferred deadline, determining a delivery date period according to the target transaction information; and determining the transaction exchange rate corresponding to the initial currency to the target currency from the time period exchange rates respectively corresponding to a plurality of dates in the delivery date time period.
According to an aspect of an embodiment of the present invention, there is provided a transaction apparatus for foreign exchange items, including: a receiving module 201, configured to receive a foreign exchange item transaction request, where the foreign exchange item transaction request carries target transaction information; a first determining module 202, configured to determine, in response to a foreign exchange item transaction request, a target item, an initial currency, a target deadline type, information on a date of interest, and information on a date of delivery according to target transaction information; a second determining module 203, configured to determine a number of days to be traded according to the information of day of interest and the information of day of delivery if the target period type is a fixed period; a third determining module 204, configured to determine whether there are transaction days matched with the days to be transacted in the transaction days corresponding to the M standard terms respectively, so as to obtain a matching result, where M is an integer greater than 1; a fourth determining module 205, configured to determine a transaction exchange rate corresponding to the initial currency to target currency according to the matching result; a fifth determination module 206 is configured to determine a transaction price of the target item according to the transaction exchange rate, so as to perform a transaction operation on the target item using the transaction price.
According to an aspect of an embodiment of the present invention, there is provided a processor for running a program, wherein the program, when run, performs the method of transacting a foreign exchange item as described in any one of the above.
According to an aspect of an embodiment of the present invention, there is provided an electronic device including one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the above.
In the embodiment of the invention, a foreign exchange article transaction request carrying target transaction information is received, and the target article, the initial currency, the target deadline type, the information of the date of information and the information of the date of delivery are determined according to the target transaction information in response to the foreign exchange article transaction request. Under the condition that the target deadline type is a fixed deadline, determining the number of days to be transacted according to the information of the day of the interest and the information of the date of the delivery, and determining whether the number of days to be transacted is the number of days to be transacted in the transaction days corresponding to the M standard deadlines respectively, so as to obtain a matching result. And further, the purpose of determining the transaction exchange rate corresponding to the initial currency conversion target currency according to the matching result is achieved. In the embodiment of the invention, the transaction exchange rate corresponding to the initial currency conversion target currency is determined according to whether the transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively. Thus, the transaction rates determined are different for different situations. According to the matching result, a corresponding mode of determining the transaction exchange rate is determined, so that the flexibility of determining the transaction exchange rate is improved, and after the transaction exchange rate is determined, the transaction price of the target object is determined according to the transaction exchange rate, so that the transaction operation is performed on the target object by using the transaction price, and the technical problem that the customer experience is poor when the customer transacts the foreign exchange product in the related art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
FIG. 1 is a flow chart of a method of transacting a foreign exchange item provided in accordance with an embodiment of the present application;
FIG. 2 is a block diagram of a transaction device for foreign exchange articles provided in accordance with an embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that, related information (including, but not limited to, user equipment information, user personal information, etc.) and data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by a user or sufficiently authorized by each party.
The application will be described with reference to preferred embodiments, and FIG. 1 is a flow chart of a method for transacting foreign exchange items, as shown in FIG. 1, according to an embodiment of the application, the method comprising the steps of:
step S101, receiving a foreign exchange article transaction request, wherein the foreign exchange article transaction request carries target transaction information;
in step S101 provided by the present application, a request for a foreign exchange transaction is made by one person or institution to another person or institution for a request or application for a foreign exchange transaction. Such requests typically include details of the number of items purchased or sold, the selection of items, the price of the transaction, and the manner of the transaction. The foreign exchange item transaction request may be made through different channels, such as telephone, email, online transaction platform, etc. The target transaction information may be information carried in the foreign exchange article transaction request, and may be information in the above example.
Step S102, responding to a foreign exchange article transaction request, and determining a target article, an initial currency, a target deadline type, information of a date of origin and information of a date of delivery according to target transaction information;
in step S102 provided in the present application, in response to the foreign exchange item transaction request, some information required for executing the embodiment of the present application is obtained from the target transaction information, that is, the target item, the initial currency, the target deadline type, the date of information, and the date of delivery information are determined. In order to obtain an exchange rate satisfying the following conditions: the initial currency is transferred to the target currency, and corresponds to the target deadline type, the information of the date of the start and the information of the date of the delivery. By determining the information, the determined exchange rate is reasonable and flexible.
The information of the day of interest generally includes the day of interest, which is the date when the bond or other financial instrument starts to calculate interest. The date of delivery may be included in the date of delivery information, which is the date that the buyer paid the payment to the seller and received the transaction object during the transaction. Before the delivery date, the buyer and seller need to complete various procedures of the transaction, such as payment, delivery, etc.
Step S103, under the condition that the target deadline type is a fixed deadline, determining the number of days to be traded according to the information of the day of the rest and the information of the date of the delivery;
in step S103 provided by the present application, a step in the case where the target deadline type is a fixed deadline is described. Under the condition that the target deadline type is a fixed deadline, the number of days to be traded is determined according to the information of the day of the information of the date of the transaction, and then the exchange rate is determined according to the number of days to be traded.
Step S104, determining whether transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively, and obtaining a matching result, wherein M is an integer greater than 1;
in step S104 provided by the present application, it is determined whether there are transaction days matched with the number of days to be transacted in the transaction days corresponding to the M standard periods, where the M standard periods may be periods corresponding to the initial currency to the target currency, that is, different standard periods may be corresponding to different currencies from different currencies. Determining whether the number of days matched with the number of days to be transacted exists in the transaction number of days corresponding to the plurality of standard periods corresponding to the initial currency to target currency respectively. So as to carry out subsequent processing according to different matching results.
It should be noted that, the standard deadline may be a deadline code configured by a branch parameter, including 3 days, 7 days, 14 days, 21 days, 1 month, 2 months, 3 months, and the like. The term code is entered directly upon the establishment of a long term foreign exchange buy and sell contract. If the number of days to be traded matches the number of days to be traded, the standard term is used. If the number of days to be traded does not match the number of days, the time limit code is not input when the long-term foreign exchange buying and selling contract is established, and a date of delivery or a delivery time length is input, and the client delivers the data or the time length.
Step S105, determining a transaction exchange rate corresponding to the initial currency conversion target currency according to the matching result;
in step S105 provided by the present application, according to the matching result, the transaction exchange rate corresponding to the initial currency conversion target currency is determined according to the mode corresponding to the matching result, so as to achieve the purpose of flexibly determining the transaction exchange rate corresponding to the initial currency conversion target currency.
Step S106, determining the transaction price of the target object according to the transaction exchange rate so as to execute transaction operation on the target object by using the transaction price.
In step S106 provided by the present application, the transaction price of the target article is determined according to the determined transaction exchange rate, so as to achieve the purpose of using the transaction price to conduct the transaction of the article.
Through the steps, a foreign exchange article transaction request carrying target transaction information is received, and the target article, the initial currency, the target deadline type, the information of the date of information and the information of the date of delivery are determined according to the target transaction information in response to the foreign exchange article transaction request. Under the condition that the target deadline type is a fixed deadline, determining the number of days to be transacted according to the information of the day of the interest and the information of the date of the delivery, and determining whether the number of days to be transacted is the number of days to be transacted in the transaction days corresponding to the M standard deadlines respectively, so as to obtain a matching result. And further, the purpose of determining the transaction exchange rate corresponding to the initial currency conversion target currency according to the matching result is achieved. In the embodiment of the invention, the target object is further determined according to the matching result of the transaction days matched with the days to be transacted in the transaction days corresponding to the M standard periods, and the transaction exchange rate corresponding to the initial currency to the target currency is changed. Thus, the transaction rates determined are different for different situations. According to the matching result, a corresponding mode of determining the transaction exchange rate is determined, so that the flexibility of determining the transaction exchange rate is improved, and after the transaction exchange rate is determined, the transaction price of the target object is determined according to the transaction exchange rate, so that the transaction operation is performed on the target object by using the transaction price, and the technical problem that the customer experience is poor when the customer transacts the foreign exchange product in the related art is solved.
As an alternative embodiment, determining the transaction exchange rate corresponding to the initial currency to target currency based on the matching result includes: under the condition that the number of days matched with the number of days to be transacted is not found in the transaction days corresponding to the M standard periods respectively, determining a first standard period and a second standard period from the M standard periods, wherein the first standard period is a standard period which is smaller than the number of days to be transacted and is nearest to the number of days to be transacted and corresponds to the number of days to be transacted, and the second standard period is a standard period which is greater than or equal to the number of days to be transacted and is nearest to the number of days to be transacted and is among the M standard periods; and obtaining the transaction exchange rate corresponding to the initial currency conversion target currency according to the exchange rate of the day of the rest, the first expiration date corresponding to the first standard period and the second expiration date corresponding to the second standard period.
In this embodiment, the step of determining the transaction rate corresponding to the initial money transfer target money based on the matching result is described. And (3) under the condition that the matching result is that the number of days matched with the number of days to be transacted is not included in the transaction days corresponding to the M standard periods respectively, determining the transaction exchange rate according to the exchange rate corresponding to the standard periods. In this case, the pricing is not derailed in order to guarantee the user's use experience. Two standard deadlines adjacent to the number of days to be traded for corresponding trading days are determined from the M standard deadlines. Assuming that the number of days of transaction corresponding to the standard period is 7 days, 14 days and 21 days, and the number of days to be transacted is ten days, then the standard period corresponding to the number of days of transaction is determined to be a first standard period, and the standard period corresponding to the number of days of transaction is determined to be 14 days to be a second standard period. And obtaining the transaction exchange rate corresponding to the initial currency conversion target currency according to the exchange rate of the day of the rest, the first expiration date corresponding to the first standard period and the second expiration date corresponding to the second standard period.
It should be noted that, according to the exchange rate of the day of the rest, the mode of obtaining the exchange rate corresponding to the target currency of the initial currency may be that the average value of the first exchange point and the second exchange point is determined, and the sum of the exchange rate of the day of the rest and the average value is taken as the exchange rate.
For example, assuming that P (t+n) is a long-term price, P (T) is a spot price (day of interest exchange rate), SWAP (N1) is a drop point for N1 days (N1 is just N or less), SWAP (N2) is a drop point for N2 days (N2 is just N or more), P (t+n) =p (T) + (SWAP (N2) -SWAP (N1)) (N-N1)/(N2-N1).
For example, the USD/HKD spot price is 7.8,7 days with a forward drop point of 0.3 and 14 days with a forward drop point of 0.5.
Assuming that the day of rest is 7 months and 20 days, it is necessary to calculate the date of delivery of 7 months and 30 days. Calculate for 7 months 30-20=10 days, 10 days apart. The closest standard deadlines are found to be 7 days and 14 days. Linear interpolation calculations were performed using prices of 7 days and 14 days. P (t+10) =8.1+ (8.3-8.1) ×7 months 30-7 months 27)/(8 months 3-7 months 27) = 8.1857.
Note that 7 months 30-7 months 27 and 8 months 3-7 months 27 need to be calculated from the actual follow-on dates of 10 and 14 days.
As an alternative embodiment, determining the transaction exchange rate corresponding to the initial currency to target currency based on the matching result includes: and under the condition that the number of days matched with the number of days to be transacted exists in the transaction days corresponding to the M standard periods respectively as a result of the matching, determining the transaction exchange rate corresponding to the target currency of the initial currency according to the exchange rate of the day of the rest and the third time-losing point corresponding to the target standard period, wherein the target standard period is the period of the number of days to be transacted corresponding to the transaction days.
In this embodiment, another step of determining a transaction rate corresponding to the initial money transfer target money based on the result of the matching is described. The method and the device are used for determining the exchange rate of the transaction according to the exchange rate corresponding to the standard deadline under the condition that the number of days matched with the number of days to be transacted exists in the transaction days corresponding to the M standard deadlines respectively as the matching result. In this case, the target standard period matched with the number of days to be transacted can be directly determined, for example, the number of days to be transacted is 7 days, and the number of days to be transacted in the target standard period is 7 days. Then a drop point corresponding to the target standard deadline may be determined. And determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
It should be noted that, according to the exchange rate of the day of the rest, the mode of obtaining the exchange rate corresponding to the target currency of the initial currency may be that the average value of the first exchange point and the second exchange point is determined, and the sum of the exchange rate of the day of the rest and the average value is taken as the exchange rate.
For example, the standard deadline uses the drop-out point + the spot price of the standard deadline to calculate the forward price of the corresponding deadline.
Assuming that P (T+N) is a long-term price, P (T) is a spot price, SWAP (N) is a drop point for N days, then:
P(T+N)=P(T)+SWAP(N);
for example, the USD/HKD spot price is 7.8,7 days with a forward drop point of 0.3 and 14 days with a forward drop point of 0.5.
P(T+7)=7.8+0.3=8.1。
P(T+14)=7.8+0.5=8.3。
As an alternative embodiment, determining the transaction rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration point corresponding to the target standard period includes: determining the date property corresponding to the target standard deadline; under the condition that the corresponding date property is a non-working day, determining a falling period point of the working day adjacent to the target standard period as a third falling period point; and determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
In this embodiment, the step of determining the exchange rate of the transaction according to the third expiration date corresponding to the target standard deadline is described. In this embodiment, whether it is the workday effect is a key consideration. Since there may be some influence on the trade on the non-working day, the trade exchange rate is calculated by setting to take off the non-working day and selecting the working day and the corresponding date-falling point of the working day. Thus, it can be determined by the following steps: and determining the date property corresponding to the target standard period, wherein if the date property is a monday, the day of transaction is 6 days, the delivery day is a sunday, but the sunday is a non-working day, and if the corresponding date property is a non-working day, determining the falling time point of the working day adjacent to the target standard period as a third falling time point, and determining the falling time point corresponding to the next monday as a third falling time point, as the following monday. And determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
Again, for example, the day of rest is 7 months and 20 days, and the standard period for 7 days is calculated as 20+7=27 days.
1) If 7 months and 27 days are working days, the delivery date is 7 months and 27 days.
2) If 7 months and 27 days are holidays and 7 months and 28 days are working days, the delivery date is 7 months and 28 days.
Workdays are currency dependent. For a trade, the trade currencies are all workdays, which are the days.
As an alternative embodiment, determining the transaction exchange rate corresponding to the initial currency to target currency based on the matching result includes: under the condition that the exchange amount is carried in the foreign exchange article exchange request, determining the exchange rate corresponding to the initial currency conversion target currency according to the exchange amount and the matching result.
In this embodiment, the step of determining the exchange rate of the transaction corresponding to the initial currency to the target currency based on the matching result is described. Under the condition that the exchange amount is carried in the foreign exchange article exchange request, determining the exchange rate corresponding to the initial currency conversion target currency according to the exchange amount and the matching result. The transaction amount may be an amount corresponding to a vending currency corresponding to the target item. I.e. different transaction amounts may have different transaction exchange rates. To meet the different demands of different volume clients.
As an alternative embodiment, determining the transaction exchange rate corresponding to the initial currency to target currency based on the matching result includes: under the condition that the foreign exchange article transaction request carries the object identification, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the object identification and the matching result.
In this embodiment, the step of determining the exchange rate of the transaction corresponding to the initial currency to the target currency based on the matching result is described. Under the condition that the foreign exchange article transaction request carries the object identification, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the object identification and the matching result. That is, users of different subject identities may also be identified by different transaction rates. For example, the object identity may be an identity of a high risk user, a high credit user, or the like. Or the transaction times can be identified by users, new users and the like for the preset times. The object identity can be adaptively set according to actual application and scene. To enhance the customer's transaction experience.
As an alternative embodiment, in response to the foreign exchange item transaction request, determining the target item, the initial currency, the target currency, and the target deadline type according to the target transaction information, further includes: under the condition that the target deadline type is a preferred deadline, determining a delivery date period according to the target transaction information; and determining the transaction exchange rate corresponding to the initial currency conversion target currency from the time period exchange rates respectively corresponding to a plurality of dates in the delivery date time period.
In this embodiment, in response to a request for a foreign exchange item transaction, the target item, the initial currency, the target currency, and the target deadline type are determined according to the target transaction information, and the case that the target deadline type is a deadline in which the deadline is selected other than a fixed deadline is further included, where the deadline selecting service is a long-term foreign exchange purchase service that allows a customer to exchange for a period of time. It contains a start date and an end date, or a start duration and an end duration. Under the condition that the target deadline type is the preferred deadline, determining a delivery date period according to the target transaction information, wherein the delivery date period is 10-20 days when a user gives the delivery date, and further determining the transaction exchange rate corresponding to the initial currency to the target currency from the time exchange rates corresponding to a plurality of dates in the delivery date period.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present application.
According to an embodiment of the present application, there is further provided an apparatus for implementing the above-mentioned method for trading a foreign exchange item, and fig. 2 is a block diagram of a structure of the apparatus for trading a foreign exchange item according to an embodiment of the present application, as shown in fig. 2, the apparatus includes: the receiving module 201, the first determining module 202, the second determining module 203, the third determining module 204, the fourth determining module 205 and the fifth determining module 206 are described in detail below.
A receiving module 201, configured to receive a foreign exchange item transaction request, where the foreign exchange item transaction request carries target transaction information; a first determining module 202, coupled to the receiving module 201, for determining a target item, an initial currency, a target deadline type, information on a date of interest, and information on a date of delivery according to target transaction information in response to a request for a foreign exchange item transaction; the second determining module 203 is connected to the first determining module 202, and is configured to determine a number of days to be traded according to the information of the date of interest and the information of the date of delivery when the target period type is a fixed period; a third determining module 204, coupled to the second determining module 203, configured to determine whether there are transaction days matched with the days to be transacted in the transaction days corresponding to the M standard terms respectively, so as to obtain a matching result, where M is an integer greater than 1; a fourth determining module 205, coupled to the third determining module 204, for determining a transaction exchange rate corresponding to the initial currency to the target currency according to the matching result; a fifth determining module 206, coupled to the fourth determining module 205, for determining a transaction price of the target item according to the transaction exchange rate, so as to perform a transaction operation on the target item using the transaction price.
Here, the receiving module 201, the first determining module 202, the second determining module 203, the third determining module 204, the fourth determining module 205 and the fifth determining module 206 correspond to steps S101 to S106 in the transaction method for implementing the foreign exchange item, and the plurality of modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the foregoing embodiments.
The foreign exchange article transaction device provided by the embodiment of the application receives a foreign exchange article transaction request carrying target transaction information, and responds to the foreign exchange article transaction request, and the target article, the initial currency, the target deadline type, the information of the date of information and the information of the date of delivery are determined according to the target transaction information. Under the condition that the target deadline type is a fixed deadline, determining the number of days to be transacted according to the information of the day of the interest and the information of the date of the delivery, and determining whether the number of days to be transacted is the number of days to be transacted in the transaction days corresponding to the M standard deadlines respectively, so as to obtain a matching result. And further, the purpose of determining the transaction exchange rate corresponding to the initial currency conversion target currency according to the matching result is achieved. In the embodiment of the application, the target object is further determined according to the matching result of the transaction days matched with the days to be transacted in the transaction days corresponding to the M standard periods, and the transaction exchange rate corresponding to the initial currency to the target currency is changed. Thus, the transaction rates determined are different for different situations. According to the matching result, a corresponding mode of determining the transaction exchange rate is determined, so that the flexibility of determining the transaction exchange rate is improved, and after the transaction exchange rate is determined, the transaction price of the target object is determined according to the transaction exchange rate, so that the transaction operation is performed on the target object by using the transaction price, and the technical problem that the customer experience is poor when the customer transacts the foreign exchange product in the related art is solved.
The transaction device for the foreign exchange articles comprises a processor and a memory, wherein the modules and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the technical problem of poor customer experience when a customer transacts the foreign exchange product in the related technology is solved by adjusting kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
Embodiments of the present invention provide a computer readable storage medium having stored thereon a program which when executed by a processor implements a method of transacting foreign exchange items.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a transaction method of foreign exchange articles.
Fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the embodiment of the present invention provides an electronic device, where the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: receiving a foreign exchange article transaction request, wherein the foreign exchange article transaction request carries target transaction information; responding to a foreign exchange article transaction request, and determining a target article, an initial currency, a target deadline type, information of a date of interest and information of a date of delivery according to target transaction information; under the condition that the target deadline type is a fixed deadline, determining the number of days to be traded according to the information of the day of the rest and the information of the date of the delivery; determining whether transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively, and obtaining a matching result, wherein M is an integer greater than 1; determining a transaction exchange rate corresponding to the initial currency conversion target currency according to the matching result; a transaction price for the target item is determined based on the transaction rate to perform a transaction operation on the target item using the transaction price.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: under the condition that the number of days matched with the number of days to be transacted is not found in the transaction days corresponding to the M standard periods respectively, determining a first standard period and a second standard period from the M standard periods, wherein the first standard period is a standard period which is smaller than the number of days to be transacted and is nearest to the number of days to be transacted and corresponds to the number of days to be transacted, and the second standard period is a standard period which is greater than or equal to the number of days to be transacted and is nearest to the number of days to be transacted and is among the M standard periods; and obtaining the transaction exchange rate corresponding to the initial currency conversion target currency according to the exchange rate of the day of the rest, the first expiration date corresponding to the first standard period and the second expiration date corresponding to the second standard period.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: and under the condition that the number of days matched with the number of days to be transacted exists in the transaction days corresponding to the M standard periods respectively as a result of the matching, determining the transaction exchange rate corresponding to the target currency of the initial currency according to the exchange rate of the day of the rest and the third time-losing point corresponding to the target standard period, wherein the target standard period is the period of the number of days to be transacted corresponding to the transaction days.
Optionally, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period includes: determining the date property corresponding to the target standard deadline; under the condition that the corresponding date property is a non-working day, determining a falling period point of the working day adjacent to the target standard period as a third falling period point; and determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: under the condition that the exchange amount is carried in the foreign exchange article exchange request, determining the exchange rate corresponding to the initial currency conversion target currency according to the exchange amount and the matching result.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: under the condition that the foreign exchange article transaction request carries the object identification, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the object identification and the matching result.
Optionally, in response to the foreign exchange item transaction request, determining the target item, the initial currency, the target currency, and the target deadline type according to the target transaction information, further comprising: under the condition that the target deadline type is a preferred deadline, determining a delivery date period according to the target transaction information; and determining the transaction exchange rate corresponding to the initial currency conversion target currency from the time period exchange rates respectively corresponding to a plurality of dates in the delivery date time period.
The device herein may be a server, PC, PAD, cell phone, etc.
The application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: receiving a foreign exchange article transaction request, wherein the foreign exchange article transaction request carries target transaction information; responding to a foreign exchange article transaction request, and determining a target article, an initial currency, a target deadline type, information of a date of interest and information of a date of delivery according to target transaction information; under the condition that the target deadline type is a fixed deadline, determining the number of days to be traded according to the information of the day of the rest and the information of the date of the delivery; determining whether transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively, and obtaining a matching result, wherein M is an integer greater than 1; determining a transaction exchange rate corresponding to the initial currency conversion target currency according to the matching result; a transaction price for the target item is determined based on the transaction rate to perform a transaction operation on the target item using the transaction price.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: under the condition that the number of days matched with the number of days to be transacted is not found in the transaction days corresponding to the M standard periods respectively, determining a first standard period and a second standard period from the M standard periods, wherein the first standard period is a standard period which is smaller than the number of days to be transacted and is nearest to the number of days to be transacted and corresponds to the number of days to be transacted, and the second standard period is a standard period which is greater than or equal to the number of days to be transacted and is nearest to the number of days to be transacted and is among the M standard periods; and obtaining the transaction exchange rate corresponding to the initial currency conversion target currency according to the exchange rate of the day of the rest, the first expiration date corresponding to the first standard period and the second expiration date corresponding to the second standard period.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: and under the condition that the number of days matched with the number of days to be transacted exists in the transaction days corresponding to the M standard periods respectively as a result of the matching, determining the transaction exchange rate corresponding to the target currency of the initial currency according to the exchange rate of the day of the rest and the third time-losing point corresponding to the target standard period, wherein the target standard period is the period of the number of days to be transacted corresponding to the transaction days.
Optionally, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period includes: determining the date property corresponding to the target standard deadline; under the condition that the corresponding date property is a non-working day, determining a falling period point of the working day adjacent to the target standard period as a third falling period point; and determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: under the condition that the exchange amount is carried in the foreign exchange article exchange request, determining the exchange rate corresponding to the initial currency conversion target currency according to the exchange amount and the matching result.
Optionally, determining the transaction exchange rate corresponding to the initial currency to target currency according to the matching result includes: under the condition that the foreign exchange article transaction request carries the object identification, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the object identification and the matching result.
Optionally, in response to the foreign exchange item transaction request, determining the target item, the initial currency, the target currency, and the target deadline type according to the target transaction information, further comprising: under the condition that the target deadline type is a preferred deadline, determining a delivery date period according to the target transaction information; and determining the transaction exchange rate corresponding to the initial currency conversion target currency from the time period exchange rates respectively corresponding to a plurality of dates in the delivery date time period.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer 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 technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. A method of transacting a foreign exchange item, comprising:
receiving a foreign exchange article transaction request, wherein the foreign exchange article transaction request carries target transaction information;
responding to the foreign exchange article transaction request, and determining a target article, an initial currency, a target deadline type, information of a date of origin and information of a date of delivery according to the target transaction information;
under the condition that the target deadline type is a fixed deadline, determining the number of days to be traded according to the information of the date of interest and the information of the date of delivery;
determining whether transaction days matched with the days to be transacted exist in the transaction days corresponding to the M standard periods respectively, and obtaining a matching result, wherein M is an integer greater than 1;
determining a transaction exchange rate corresponding to the conversion of the initial currency to the target currency according to the matching result;
and determining the transaction price of the target object according to the transaction exchange rate so as to execute transaction operation on the target object by using the transaction price.
2. The method of claim 1, wherein said determining a transaction rate corresponding to said initial currency to said target currency based on said matching result comprises:
Determining a first standard period and a second standard period from the M standard periods when the number of days matched with the number of days to be transacted is not found in the transaction days corresponding to the M standard periods respectively, wherein the first standard period is a standard period which is smaller than the number of days to be transacted and is nearest to the number of days to be transacted in the M standard periods, and the second standard period is a standard period which is larger than or equal to the number of days to be transacted in the M standard periods and is nearest to the number of days to be transacted;
and obtaining the transaction exchange rate corresponding to the conversion of the initial currency to the target currency according to the exchange rate of the day of the rest, the first expiration date corresponding to the first standard period and the second expiration date corresponding to the second standard period.
3. The method of claim 1, wherein said determining a transaction rate corresponding to said initial currency to said target currency based on said matching result comprises:
and under the condition that the number of days matched with the number of days to be transacted exists in the transaction days corresponding to the M standard periods respectively as the matching result, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of interest and the third drop-off point corresponding to the target standard period, wherein the target standard period is the period of the number of days to be transacted corresponding to the transaction days.
4. The method of claim 3, wherein determining the transaction rate corresponding to the initial currency to the target currency based on the date of interest rate and a third expiration date corresponding to the target standard period comprises:
determining the date property corresponding to the target standard deadline;
determining a date falling point of the working day adjacent to the target standard period as the third date falling point under the condition that the corresponding date property is a non-working day;
and determining the transaction exchange rate corresponding to the initial currency to the target currency according to the exchange rate of the day of the rest and the third expiration date corresponding to the target standard period.
5. The method of claim 1, wherein said determining a transaction rate corresponding to said initial currency to said target currency based on said matching result comprises:
and under the condition that the foreign exchange article transaction request carries transaction amount, determining a transaction exchange rate corresponding to the initial currency to the target currency according to the transaction amount and the matching result.
6. The method of claim 1, wherein said determining a transaction rate corresponding to said initial currency to said target currency based on said matching result comprises:
And under the condition that the foreign exchange article transaction request carries the object identity, determining the transaction exchange rate corresponding to the initial currency to the target currency according to the object identity and the matching result.
7. The method of any one of claims 1 to 6, wherein said determining a target item, an initial currency, a target currency, and a target deadline type in response to said foreign exchange item transaction request, based on said target transaction information, further comprises:
under the condition that the target deadline type is a preferred deadline, determining a delivery date period according to the target transaction information;
and determining the transaction exchange rate corresponding to the initial currency to the target currency from the time period exchange rates respectively corresponding to a plurality of dates in the delivery date time period.
8. A transaction device for foreign exchange items, comprising:
the receiving module is used for receiving a foreign exchange article transaction request, wherein the foreign exchange article transaction request carries target transaction information;
the first determining module is used for responding to the foreign exchange article transaction request and determining target articles, initial currencies, target deadline types, information of the date of information and information of the date of delivery according to the target transaction information;
The second determining module is used for determining the number of days to be traded according to the information of the date of interest and the information of the date of delivery under the condition that the target period type is a fixed period;
a third determining module, configured to determine whether there are transaction days matched with the days to be transacted in the transaction days corresponding to the M standard terms respectively, to obtain a matching result, where M is an integer greater than 1;
and a fourth determining module, configured to determine, according to the matching result, a transaction exchange rate corresponding to the initial currency to the target currency.
9. A processor for running a program, wherein the program runs to perform the method of trading a foreign exchange item according to any one of claims 1 to 7.
10. An electronic device comprising one or more processors and memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
CN202311121572.0A 2023-08-31 2023-08-31 Foreign exchange article transaction method and device, processor and electronic equipment Pending CN117196623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311121572.0A CN117196623A (en) 2023-08-31 2023-08-31 Foreign exchange article transaction method and device, processor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311121572.0A CN117196623A (en) 2023-08-31 2023-08-31 Foreign exchange article transaction method and device, processor and electronic equipment

Publications (1)

Publication Number Publication Date
CN117196623A true CN117196623A (en) 2023-12-08

Family

ID=88999137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311121572.0A Pending CN117196623A (en) 2023-08-31 2023-08-31 Foreign exchange article transaction method and device, processor and electronic equipment

Country Status (1)

Country Link
CN (1) CN117196623A (en)

Similar Documents

Publication Publication Date Title
US11276059B2 (en) System and method for autonomous sustenance of digital assets
US8700519B2 (en) System and method for correlating a seller's insurance claim with a buyer's complaint
US20150242949A1 (en) Investment card
US20230206335A1 (en) Secure electronic tokens in an electronic tokening system
WO2008005473A2 (en) Digital marketplace to facilitate transactions of creative works
JP2020030462A (en) Device, method, and program for processing information
CN109034948A (en) Transaction processing method, device, equipment and system
JP6188736B2 (en) Trading of illiquid goods, services, securities or goods
US20200184565A1 (en) Computer method for real estate futures trading using a distributed ledger and gui
CN110942393A (en) Transaction processing method and device based on main and sub accounts and electronic equipment
CN117196623A (en) Foreign exchange article transaction method and device, processor and electronic equipment
JP7287938B2 (en) Selection device, selection method and selection program
US10832325B2 (en) System, method, and apparatus for providing a prediction-based marketplace
JP7208880B2 (en) Price calculation device, computer program and price calculation method
RU2699068C1 (en) System for guaranteed return of goods in retail sales network
JP2020030491A (en) Device, method, and program for processing information
US20170161828A1 (en) System, information processing device, information processing method and computer readable recording medium
KR102050302B1 (en) System for providing support benefit of the interest on a loan for purchasing agreement and method of the same
KR20130048341A (en) Settlement method and system for the know-how contents transaction
JP7223626B2 (en) server and terminal
JP6701154B2 (en) Information processing apparatus, information processing method, and information processing program
Business Small Business
CA2845212C (en) System and method for displaying an amount of funds available to purchase securities
JP6055566B1 (en) System, information processing apparatus, information processing method, and program
CN107146042B (en) Logistics scheduling method and device for predetermined logistics objects and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination