Financial product clearance method, device and equipment and storage medium

By responding to clearance instructions in the financial product trading market, obtaining the clearance type, and determining the clearance price based on the display data and target floating value, the problem of low accuracy of clearance prices in markets with less liquidity is solved, and the rapid clearance and efficient clearance of financial products are achieved.

CN119887382APending Publication Date: 2025-04-25SHENZHEN FUTU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411665847.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the case of low liquidity in the financial product trading market, the clearance price determined based on a small amount of historical transaction data is low, making it difficult for financial products to clear out quickly, thereby reducing clearance efficiency.

Method used

By responding to the clearance instruction, obtain the clearance type of the target product object, and determine a reasonable clearance price based on the clearance type, the benchmark price and gear difference value in the display data, and the target floating value, and perform the order operation to achieve clearance.

Benefits of technology

A reasonable and accurate clearance price is determined based on a small amount of displaced data and target floating value, so that the target product objects can be quickly cleared, and the efficiency of clearance of financial products is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119887382A_ABST
    Figure CN119887382A_ABST
Patent Text Reader

Abstract

The invention discloses a financial product clearance method, device and equipment and a storage medium, and the method comprises the steps: obtaining a clearance type corresponding to a target product object in response to a clearance instruction for the target product object, and the clearance type comprises a buying flat type corresponding to an empty position and a selling flat type corresponding to a multi-head position; based on the clearance type, determining a reference price and a gear difference value from the wobble data of the target product object; determining a target floating value based on the target product object; determining a clearance price corresponding to the target product object based on the clearance type, the reference price, the gear difference value and the target floating value; and executing an order placing operation corresponding to the clearance instruction based on the clearance price and the clearance type. The reasonable and accurate clearance price is determined based on a small amount of wobble data, so that the target product object can be quickly cleared, and the financial product clearance efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of financial information processing technology, and in particular, relates to a method, device, equipment and storage medium for clearing a financial product. Background Art

[0002] In the financial market, if there are fewer participants in the financial product trading market, it usually means that the liquidity of the financial product trading market is relatively low. In the prior art, when clearing financial products corresponding to the financial product trading market, the clearing price is usually determined using the historical financial product trading data corresponding to the financial product trading market. However, there are fewer historical trading data corresponding to the financial product trading market with lower liquidity, and the accuracy of the clearing price determined based on a small amount of historical trading data is lower. When clearing financial products based on the clearing price with lower accuracy, it will make it difficult to quickly clear the financial products, resulting in lower efficiency in clearing financial products. Summary of the invention

[0003] The embodiment of the present application provides an implementation solution different from the prior art to solve the technical problem of low efficiency in clearing financial products.

[0004] In a first aspect, the present application provides a method for clearing a financial product, comprising: in response to a clearing instruction for a target product object, obtaining a clearing type corresponding to the target product object, wherein the clearing type includes a buyback closing type corresponding to a short position and a sell closing type corresponding to a long position; based on the clearing type, determining a base price and a gear difference from the display data of the target product object, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear; determining a target floating value based on the target product object; determining a clearing price corresponding to the target product object based on the clearing type, the base price, the gear difference, and the target floating value; and executing an order operation corresponding to the clearing instruction based on the clearing price and the clearing type.

[0005] In a second aspect, the present application provides a device for clearing a financial product, comprising: an acquisition unit, for obtaining, in response to a liquidation instruction for a target product object, a liquidation type corresponding to the target product object, wherein the liquidation type includes a buyback closing type corresponding to a short position and a sell closing type corresponding to a long position; a first determination unit, for determining a base price and a gear difference from the display data of the target product object based on the liquidation type, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear; a second determination unit, for determining a target floating value based on the target product object; a third determination unit, for determining a liquidation price corresponding to the target product object based on the liquidation type, the base price, the gear difference, and the target floating value; an execution unit, for executing an order operation corresponding to the liquidation instruction based on the liquidation price and the liquidation type.

[0006] In a third aspect, the present application provides an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any method in the first aspect or any possible implementation manner of the first aspect by executing the executable instructions.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements any method in the first aspect or any possible implementation manner of the first aspect.

[0008] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in the first aspect or any possible implementation manner of the first aspect.

[0009] The solution provided by the present application obtains the liquidation type corresponding to the target product object in response to the liquidation instruction for the target product object, wherein the liquidation type includes the buy-back liquidation type corresponding to the short position and the sell liquidation type corresponding to the long position; based on the liquidation type, determines the base price and the gear difference from the plate data of the target product object, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear; determines the target floating value based on the target product object; determines the liquidation price corresponding to the target product object based on the liquidation type, the base price, the gear difference, and the target floating value; and executes the order operation corresponding to the liquidation instruction based on the liquidation price and the liquidation type. A reasonable and accurate liquidation price is determined based on a small amount of plate data and the target floating value, so that the target product object can be quickly liquidated, thereby improving the efficiency of liquidation of financial products. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0011] Figure 1 A flowchart of a method for clearing a financial product provided in one embodiment of the present application;

[0012] Figure 2 A schematic diagram of the structure of a device for clearing a financial product provided in one embodiment of the present application;

[0013] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0014] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, but cannot be understood as limiting the present application.

[0015] The terms "first" and "second" etc. in the specification, claims and drawings of the embodiments of the present application 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 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 "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0016] In the financial market, if there are fewer participants in the financial product trading market, it usually means that the liquidity of the financial product trading market is relatively low. In the prior art, the method of clearing financial products usually requires the use of rich trading data, but this requires a high timeliness for the clearing of financial products. In the case of panic selling, the liquidity of the trading market will deteriorate rapidly. It is necessary to quickly use the relatively good market liquidity in the early stage to quickly clear financial products to avoid huge losses caused by the deterioration of market conditions. If it cannot be cleared in time, due to the poor liquidity of the market in the later period, there will be very little trading data, and the accuracy of the clearance price determined based on a small amount of trading data is low, so it is difficult to quickly clear financial products.

[0017] Specifically, in the low-liquidity financial market, there are still the following problems. Position holders often want to maximize profits or minimize costs, so they will also use the method of selling high and buying low to clear positions. When the market is panic or liquidity is insufficient, it is easy to miss the best time to clear positions, and eventually face price fluctuations and losses. When closing positions by selling low and buying high, if the trading data is limited, the use of market orders to clear positions can only clear the orders in the trading data, resulting in an inability to completely clear positions and positions cannot be completely closed. And market orders give priority to guaranteeing transactions, rather than transaction prices. The final transaction price lacks certain price control, which is very likely to cause slippage and market shocks. Large market orders may cause the market price to fluctuate violently in a short period of time, affecting market stability and making it impossible to control risks.

[0018] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0019] Figure 1 A flowchart of a method for clearing a financial product provided by an exemplary embodiment of the present application is provided. The execution subject of the method may be a server. The method at least includes the following steps S101-S105:

[0020] S101. In response to a liquidation instruction for a target product object, obtain a liquidation type corresponding to the target product object, wherein the liquidation type includes a buyback liquidation type corresponding to a short position and a sell liquidation type corresponding to a long position;

[0021] Optionally, the target product object may be a financial product such as options, futures, stocks, etc.

[0022] S102, based on the clearance type, determining a base price and a gear difference from the display data of the target product object, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear;

[0023] Optionally, the highest gear position refers to the default highest gear position in the plating data, and specifically, the highest gear position may be gear 5.

[0024] Among them, the display data refers to the price and quantity of transactions provided by buyers and sellers in the trading market where the target product object is located; it can be understood that the display data can be used to characterize the liquidity of the target product object in the trading market, that is, the transaction success efficiency in the process of buying and selling the target product object.

[0025] The benchmark price refers to the maximum or minimum price value among multiple price values ​​in the trading data, which is used as the benchmark value for calculating the clearance price.

[0026] The gear difference refers to the difference between the gear corresponding to the benchmark price and the highest gear, and is used to indicate the number of times the benchmark price of the target product object is adjusted at a certain step value. The benchmark price is adjusted multiple times based on the gear difference to obtain a clearance price, thereby improving the subsequent clearance efficiency of the target product object.

[0027] Specifically, multiple plating gears in the plating data and the price values ​​corresponding to each plating gear can be obtained; then, from the various plating gears in the plating data, the price value corresponding to the plating gear ranked first is determined as the benchmark price, and the benchmark price can be used as the benchmark value for subsequent order operations; at the same time, according to the difference between the gear where the benchmark price is located and the highest gear of the plating data, the gear difference is obtained, and the gear difference is used for subsequent adjustment of the benchmark price to obtain a more accurate order price.

[0028] Optionally, the display data includes opponent's order data or pending order data; in the aforementioned S102, determining the base price and the gear difference from the display data of the target product object based on the clearance type includes the following steps S01-S02:

[0029] Optionally, the counterparty data is used to describe the trading conditions of buyers and sellers in the market. Specifically, the counterparty data usually refers to the collection of all buy and sell orders in the trading market of financial products at a specific moment.

[0030] Optionally, the pending order data is used to describe a collection of buy or sell orders that have been submitted but not yet executed at a specific price level.

[0031] S01. Determine whether there is counterparty data with the target product object based on the clearance type, and if so, determine the base price and the gear difference based on the counterparty data;

[0032] Among them, when the liquidation type is the buy-back liquidation type corresponding to the short position, the counterparty data is the sell data corresponding to the target product object. When the liquidation type is the sell liquidation type corresponding to the long position, the counterparty data is the buy data corresponding to the target product object. After the counterparty data is determined, the price value corresponding to the counterparty data ranked first in the counterparty data can be determined as the benchmark price, and the benchmark price can be used as the benchmark value for subsequent order operations.

[0033] Optionally, in the aforementioned S01, determining the base price and the gear difference based on the counterparty data includes the following steps S011-S014:

[0034] S011. Counting the price values ​​corresponding to the N counterparty positions included in the counterparty data;

[0035] S012. If the counterparty order data is sell order data, the largest price value is selected from the price values ​​corresponding to the N counterparty order levels as the base price;

[0036] Specifically, when the liquidation type is the buyback closing type corresponding to the short position, the counterparty data is the selling data corresponding to the target product object, wherein the selling data is usually arranged from low to high according to the selling price, and the counterparty level with a level value of 1 has the smallest price value, and the counterparty level with a level value of N has the largest price value. After the selling data is determined, the actual price value of the highest level (i.e., the Nth level) in the counterparty data, i.e., the largest price value, can be used as the benchmark price.

[0037] S013. If the counterparty order data is buy order data, the smallest price value is selected from the price values ​​corresponding to the N counterparty order levels as the base price;

[0038] Specifically, when the liquidation type is a sell closing type corresponding to a long position, the counterparty data is the buy data corresponding to the target product object, wherein the buy data is usually arranged from high to low according to the buying price, and the counterparty level with a level value of 1 has the largest price value, and the counterparty level with a level value of N has the smallest price value. After the buy data is determined, the actual price value of the highest level (i.e., the Nth level) in the buy data, i.e., the smallest price value, can be used as the benchmark price.

[0039] S014. Obtain a preset highest gear, and take the difference between the gear value of the highest gear and N as the gear difference, where N is a positive integer greater than or equal to 1.

[0040] The preset highest gear refers to the preset maximum gear in the plate display data (such as the counterparty data, i.e., the buying data or the selling data), and optionally, the preset highest gear is 5. It is understandable that the general plate display data (such as the buying data and the selling data) usually provides a preset highest gear of 5, i.e., provides 5 buying prices or selling prices, but in the scenario of poor liquidity, the selling data or the buying data in the plate display data is often less than 5, such as only providing 3 buying data or selling data, i.e., at this time, the actual highest gear value in the buying data or selling data is 3.

[0041] After determining the benchmark price, the gear difference can be determined according to the difference between the counterparty gear where the benchmark value is located (i.e. the actual highest gear N) and the preset highest gear in the counterparty data; taking the preset highest gear in the counterparty data as 5, the gear difference is equal to 5 minus N.

[0042] It can be understood that the price corresponding to the highest level in the counterparty data can be simulated and calculated based on the benchmark price through the difference between the benchmark price and the highest level in the counterparty data and the subsequent floating value, which can be used as the subsequent clearance price to improve clearance efficiency.

[0043] S02. If it does not exist, determine the pending order data of the target product object based on the clearance type, and determine the base price and the gear difference based on the pending order data.

[0044] Specifically, if there is no counterparty data for the target product object under its clearance type, the pending order data for the target product object is determined based on the clearance type, and the base price and gear difference are determined based on the pending order data.

[0045] Among them, when the liquidation type is the buy-back closing type corresponding to the short position, its counterparty data is the sell data corresponding to the target product object. Since the sell data does not exist, that is, the sell order does not exist, the sell order in the pending order data is also empty at this time, and the pending order data is the buy data corresponding to the target product object. Similarly, when the liquidation type is the sell closing type corresponding to the long position, its counterparty data is the buy data corresponding to the target product object. Since the buy data does not exist, that is, the buy order does not exist, the buy order in the pending order data is also empty at this time, and the pending order data is the sell data corresponding to the target product object.

[0046] Optionally, in the aforementioned S02, determining the base price and the gear difference based on the pending order data includes the following steps S021-S024:

[0047] S021. Counting the price values ​​corresponding to the M order levels contained in the order data, where M is a positive integer greater than or equal to 1;

[0048] S022. If the pending order data is sell order data, the smallest price value is selected from the price values ​​corresponding to the M pending order levels as the base price;

[0049] As mentioned above, when the liquidation type is the sell closing type corresponding to the long position and the counterparty data is empty, the pending order data is the sell order data corresponding to the target product object, wherein the sell order data is usually arranged from low to high according to the selling price, that is, the price value corresponding to the pending order level with a level value of 1 is the smallest, and the price value corresponding to the pending order level with a level value of M is the largest. After the pending order data is determined, the price value of the first level (i.e., the smallest price value) in the pending order data can be used as the benchmark price.

[0050] S023. If the pending order data is buy order data, the largest price value is selected from the price values ​​corresponding to the M pending order levels as the base price;

[0051] As mentioned above, when the liquidation type is the buyback closing type corresponding to the short position and the counterparty data is empty, the pending order data is the buy order data corresponding to the target product object, wherein the buy order data is usually arranged from high to low according to the buying price, that is, the price value corresponding to the pending order level with a level value of 1 is the largest, and the price value corresponding to the pending order level with a level value of M is the smallest. After the pending order data is determined, the price value of the Mth level (i.e., the smallest price value) in the pending order data can be used as the benchmark price.

[0052] S024: Obtain a preset highest gear position, and use the gear value of the highest gear position as the gear difference value.

[0053] Among them, the preset highest gear refers to the maximum gear preset in the plate data (such as order plate data). Optionally, the preset highest gear is 5, and the gear difference is 5.

[0054] It can be understood that the price corresponding to the highest level in the pending order data can be simulated and calculated based on the benchmark price through the difference between the benchmark price and the highest level in the pending order data and the subsequent floating value, which can be used as the clearing price corresponding to the subsequent clearing instructions and order operations, thereby improving the clearing efficiency.

[0055] S103, determining a target floating value based on the target product object;

[0056] Optionally, the target floating value is the minimum price change of the target product object, which is used to indicate the step size of the adjustment of the clearance price of the target product object based on the benchmark price, also known as price accuracy, recorded as tick size; for example, the target floating value is the minimum price change of financial products such as stocks and options, which is used to indicate the step size of the price change of the corresponding financial product, which is equivalent to a benchmark floating value of price fluctuation.

[0057] Specifically, different target product objects correspond to different target floating values. Specifically, the product type of the target product object can be obtained, and then the target floating value can be obtained according to the product type of the target product object.

[0058] Optionally, the step of determining a target floating value based on the target product object in S103 includes the following steps S001-S008:

[0059] S001. Obtain the product type of the target product object;

[0060] S002. Determine whether the product type of the target product object is a stock type. If so, execute S003; otherwise, execute S004;

[0061] S003. Obtain the product price of the target product object, and determine the target floating value of the target product object in the stock price change table according to the product price;

[0062] S004. Determine whether the product type of the target product object is a US stock option. If so, execute S005; otherwise, execute S006;

[0063] S005. Obtain the number of historical orders of the target product object corresponding to the clearance instruction, and determine the target floating value based on the number of historical orders;

[0064] Among them, the number of historical orders refers to the number of order operations executed after responding to the liquidation instruction; specifically, the greater the number of historical orders, the greater the corresponding target floating value.

[0065] Due to the strong volatility and irregularity of U.S. stock options, it is difficult to obtain accurate target floating values ​​for U.S. stock options. Therefore, a series of gradually increasing target floating values ​​are set for U.S. stock options. By giving priority to the smallest target floating value, try to see if the liquidation of U.S. stock options can be completed. If unsuccessful, select the second smallest target floating value in turn to see if the liquidation of U.S. stock options can be completed. If unsuccessful, select the third smallest target floating value, and so on, until the liquidation of U.S. stock options is achieved.

[0066] Exemplarily, the target floating value corresponding to the U.S. stock option is set to different values ​​such as 0.01, 0.05, and 0.1. When the number of historical orders is 0, that is, no order operation is performed after responding to the liquidation instruction, the tick size is determined to be 0.01, and after the first liquidation price corresponding to the target product object is determined based on the liquidation type, the benchmark price, the gear difference, and the tick size, the first order operation is performed according to the first liquidation price; when the liquidation order corresponding to the order operation corresponding to the tick size of 0.01 is not executed within the preset time period, that is, the liquidation is not achieved, the number of historical orders is updated to 1, and in response to the update of the number of historical orders to 1, the tick size is updated to 0.05, and the second liquidation price corresponding to the target product object is determined based on the liquidation type, the benchmark price, the gear difference, and the tick size, and the second order operation is performed according to the second liquidation price; when the tick size is 0.01 again within the preset time period, the liquidation order corresponding to the order operation is not executed. The clearance order corresponding to the order operation corresponding to size 0.05 has not been executed, that is, clearance has not been achieved. At this time, the number of historical orders is updated to 2, and in response to the number of historical orders being updated to 2, the tick size is updated to 0.1, and the third clearance price corresponding to the target product object is determined based on the clearance type, benchmark price, gear difference, and ticksize, so as to execute the third order operation according to the third clearance price, and so on, until the clearance of the target product object is achieved.

[0067] In summary, since U.S. stock options are prone to low liquidity scenarios, the use of market orders cannot achieve rapid liquidation of the target product object. Therefore, for U.S. stock options, the limit order method proposed in this application is selected to achieve rapid liquidation of the target product object. And since the target floating value of U.S. stock options is opaque, irregular and highly variable, a polling method is adopted to determine the liquidation price by assigning a minimum value to the target floating value. When the liquidation of the target product object is not achieved, the target floating value is gradually increased, and the liquidation of the target product object is attempted again. If it is still not cleared, the polling method of increasing the target floating value again is used to achieve liquidation. By setting a targeted liquidation plan for U.S. stock options, rapid liquidation of U.S. stock options at a more reasonable price can be achieved.

[0068] S006, determining whether the target product object is in a preset price list, wherein the preset price list includes a product object name, a product object price range, and a corresponding price floating value. If the target product object is in the preset price list, executing S007; otherwise, executing S008;

[0069] S007. Determine a target floating value based on the preset price list, the target product object, and the product price of the target product object.

[0070] Specifically, the product object name that is identical to the target product object name in the preset price list and the price floating value corresponding to the base price within the product object price range are used as the target floating value.

[0071] Exemplarily, the target product object is in a preset price list, and the base price is within a first product object price range, then the target floating value is equal to the price floating value corresponding to the target product object and the first product object price range;

[0072] Among them, the price range of the first product object can be greater than 0 yuan, less than 3 yuan, or greater than or equal to 3 yuan. The corresponding price floating value can also be 0.01 yuan, 0.05 yuan, etc. The specific price range of the first product object can be set according to actual needs.

[0073] Optionally, the preset price list may be a Penny interval Program list, or a new list that meets actual needs and is set based on the Penny interval Program list, wherein the Penny interval Program list is a record obtained by SEC through collecting empirical data to study the impact of smaller price changes on factors such as the bid-ask spread, liquidity, and trading volume of financial products, and is suitable for price changes of various financial products through continuous improvement, i.e., the target floating value. For the explanation of SEC, please refer to the prior art and will not be elaborated here.

[0074] Among them, the preset price list may include target product objects corresponding to options and underlying assets.

[0075] For example, the target product objects in the preset price list may have a price range greater than 0 yuan, greater than 0 yuan, less than 3 yuan, greater than or equal to 3 yuan or other ranges, which can be set according to actual needs. The floating value of the price of the target product objects may be 0.01 yuan, 0.05 yuan or other values;

[0076] Among them, the preset price list includes at least target product objects such as QQQ, SPY, IWM, etc., among which the meanings of QQQ, SPY, IWM can be found in the prior art and will not be elaborated here.

[0077] S008. If the target product object is not in the preset price list, determine the target floating value according to the first preset rule, the target product object and the base price.

[0078] Among them, the first preset rule is that if the target product object is an option and the base price is less than the preset threshold, the target floating value is the first price; if the target product object is an option and the base price is not less than the preset threshold, the target floating value is the second price, wherein the second price is greater than the first price.

[0079] Exemplarily, if the target product object type is an option, the target product object is not in the preset price list, and the base price is not less than the preset threshold, then the tick size (target floating value) = the second price.

[0080] If the target product object type is an option, the target product object is not in the preset price list, and the base price is less than the preset threshold, then the target tick size = the first price.

[0081] The preset threshold value may be 3 yuan, 5 yuan, 10 yuan, etc., the first price may be 0.05 yuan, 0.06 yuan, etc., the second price may be 0.1 yuan, 0.2 yuan, etc., and the preset threshold value, the first price and the second price may be set according to actual needs;

[0082] S104, determining a clearance price corresponding to the target product object based on the clearance type, the base price, the gear difference, and the target floating value;

[0083] Specifically, based on the clearance type, a preset formula corresponding to the clearance type is determined, and calculation is performed based on the preset formula, the base price, the gear difference, and the target floating value to obtain a clearance price corresponding to the target product object.

[0084] Among them, the preset formula corresponding to the buyback closing type corresponding to the short position is:

[0085] Clearance price = base price + gear difference × target floating value

[0086] Among them, the preset formula corresponding to the sell closing type corresponding to the long position is:

[0087] Clearance price = max (base price - gear difference × target floating value, target floating value)

[0088] Optionally, in the aforementioned S104, determining the clearance price corresponding to the target product object based on the clearance type, the base price, the gear difference, and the target floating value includes the following steps S1041-S1045:

[0089] S1041. If the liquidation type is a buyback liquidation type corresponding to a short position, obtaining a first product of the gear difference and the target floating value;

[0090] S1042: taking the sum of the first product and the benchmark price as a clearance price;

[0091] Optionally, taking the sum of the first product and the base price as the clearance price may be specifically expressed as the following formula:

[0092] Clearance price = first product + base price

[0093] The first product is the product value of (5-N) multiplied by the target floating value or the product value of 5 multiplied by the target floating value.

[0094] S1043. If the liquidation type is a sell liquidation type corresponding to a long position, obtaining a second product of the gear difference and the target floating value;

[0095] Optionally, the second product is a product value of (5-N) multiplied by the target floating value or a product value of 5 multiplied by the target floating value.

[0096] S1044. Obtain a first difference between the base price and the second product;

[0097] S1045. Use the largest value between the first difference and the target floating value as the clearance price.

[0098] Optionally, the taking the largest value between the first difference and the target floating value as the clearance price can be specifically expressed as the following formula:

[0099] Clearance price = max (first difference, target floating value)

[0100] In summary, by setting a suitable target floating value for the target product object, a more accurate clearance price can be determined, so that the target product object can be quickly cleared while minimizing economic losses.

[0101] S105: Based on the clearance price and the clearance type, execute an order operation corresponding to the clearance instruction.

[0102] Specifically, if the liquidation type is a buyback liquidation type corresponding to a short position, a buy order operation is executed based on the liquidation price. If the liquidation type is a sell liquidation type corresponding to a long position, a sell order operation is executed based on the liquidation price.

[0103] Optionally, before responding to the clearance instruction for the target product object, the method further includes the following steps S221-S223:

[0104] S221. Obtain the product type and trading period of the financial product;

[0105] S222: Determine whether the financial product is a target product based on the product type and the trading period;

[0106] S223: If yes, generate a clearance instruction for the target product object of the target product.

[0107] It should be understood that the liquidity of different financial products is different, and for the same financial product, the liquidity in different trading periods is also different. Therefore, in order to adopt appropriate liquidation methods for different financial products and financial products in different periods to maximize the rapid liquidation of financial products. This solution also includes that if the product type is a low-liquidity option product or the trading period is a low-liquidity period, the financial product is regarded as a target product.

[0108] Optionally, if the option product has dish placement data, and the dish placement data is less than five levels of data, the option product is deemed to be a low-liquidity option product, wherein if there are 6 different values ​​in the dish placement data, the dish placement data is deemed to be six levels of data, and if there are 4 different values ​​in the dish placement data, the dish placement data is deemed to be four levels of data.

[0109] Optionally, if the trading data of the option product is level five data or higher than level five data, the option product is cleared based on a market order, wherein the market order method is a method of clearing positions based on the trading data. For details, please refer to the prior art and will not be elaborated here.

[0110] Optionally, if the financial product is a highly liquid product, or the financial product is in a highly liquid trading period, the financial product is cleared using a market order.

[0111] Therefore, it can be seen that by selecting appropriate liquidation methods for financial products corresponding to different trading periods and product types, the liquidation efficiency of financial products is improved, the risk of financial products not being able to be liquidated is reduced, and the cost of liquidation of financial products is effectively controlled. It helps traders to quickly optimize asset allocation and minimize risks under different market conditions.

[0112] For example, in order to better understand this solution, a specific example is given here for illustration:

[0113] When a clearance instruction for target product object A is obtained, first determine the clearance type corresponding to target product object A;

[0114] If the liquidation type corresponding to the target product object A is the buyback liquidation type corresponding to the short position, determine whether there is sell data (counterparty data). If there is sell data, determine whether the number of levels of the sell data exceeds 5. If there are X different data in the sell data, determine that the number of levels of the sell data is X, corresponding to X levels;

[0115] If the number of levels of the sell order data exceeds 5, it means that the market liquidity corresponding to the target product object A is sufficient, and the target product object A can be liquidated using a market order. For the relevant content of the market order, please refer to the prior art and will not be elaborated here;

[0116] If the number of gears in the sell order data does not exceed 5, it means that the market liquidity corresponding to the target product object A is low, and it is necessary to use the limit order method proposed in this solution to clear the position, specifically: count the price values ​​corresponding to the X counterparty gears contained in the counterparty data; if the counterparty data is sell order data, select the largest price value from the price values ​​corresponding to the X counterparty gears as the benchmark price, and use the difference of 5-X as the gear difference; and determine the target floating value based on the target product object A or the target product object A and the benchmark price, wherein the determination of the target floating value can refer to the above-mentioned contents, which will not be elaborated here; calculate based on the formula (clearance price = benchmark price + gear difference × target floating value), benchmark price, gear difference, and target floating value to obtain the clearance price corresponding to the target product object A, and execute a buy order operation on the target product object A based on the clearance price.

[0117] If there is no sell order data, determine whether there is buy order data. If there is no buy order data, it means that the market corresponding to the target product object A has no liquidity at all and will not be processed.

[0118] If there is buy order data (pending order data), the largest price value is selected from the price values ​​corresponding to the X pending order levels as the benchmark price, 5 is used as the level difference, and the target floating value is determined based on the target product object A or the target product object A and the benchmark price. The target floating value can be determined by referring to the above-mentioned contents, which will not be elaborated here. The clearance price corresponding to the target product object A is obtained based on the formula (clearance price = benchmark price + level difference × target floating value), the benchmark price, the level difference, and the target floating value, and the clearance price corresponding to the target product object A is obtained, and a buy order operation is executed on the target product object A based on the clearance price.

[0119] If the liquidation type corresponding to the target product object A is the sell liquidation type corresponding to the long position, determine whether there is buy data (counterparty data). If there is buy data, determine whether the number of levels of the buy data exceeds 5. If there are X different data in the buy data, determine that the number of levels of the buy data is X, corresponding to X levels;

[0120] If the number of buy order data levels exceeds 5, it means that the market liquidity corresponding to the target product object A is sufficient, and the target product object A can be liquidated using a market order. For the relevant content of the market order, please refer to the prior art and no further elaboration will be given here;

[0121] If the number of gears in the buy data does not exceed 5, it means that the market liquidity corresponding to the target product object A is low, and it is necessary to use the limit order method proposed in this solution to clear the position, specifically: count the price values ​​corresponding to the X counterparty gears contained in the counterparty data; select the smallest price value from the price values ​​corresponding to the X counterparty gears as the benchmark price, and use the difference of 5-X as the gear difference; and determine the target floating value based on the target product object A or the target product object A and the benchmark price, wherein the determination of the target floating value can refer to the above-mentioned contents, which will not be repeated here; based on the formula (clearance price = max (benchmark price-gear difference × target floating value, target floating value), wherein max(a,b) represents the selection of the maximum value of a and b as the result value of the function), the benchmark price, the gear difference, and the target floating value, calculate to obtain the clearance price corresponding to the target product object A, and execute a sell order operation on the target product object A based on the clearance price.

[0122] If there is no buy order data, determine whether there is sell order data. If there is no sell order data, it means that the market corresponding to the target product object A has no liquidity at all and will not be processed.

[0123] If there is sell order data (pending order data), the smallest price value is selected from the price values ​​corresponding to the X pending order levels as the benchmark price, 5 is used as the level difference, and the target floating value is determined based on the target product object A or the target product object A and the benchmark price, wherein the target floating value can be determined by referring to the aforementioned contents, which will not be elaborated here; based on the formula (clearance price = max (base price - level difference × target floating value, target floating value), wherein max (a, b) represents selecting the maximum value between a and b as the result value of the function), the benchmark price, the level difference, and the target floating value, calculation is performed to obtain the clearance price corresponding to the target product object A, and a sell order operation is executed on the target product object A based on the clearance price.

[0124] In summary, the solution provided by the present application obtains the liquidation type corresponding to the target product object by responding to the liquidation instruction for the target product object, wherein the liquidation type includes the buy-back liquidation type corresponding to the short position and the sell liquidation type corresponding to the long position; based on the liquidation type, determines the base price and the gear difference from the plate data of the target product object, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear; determines the target floating value based on the target product object; determines the liquidation price corresponding to the target product object based on the liquidation type, the base price, the gear difference, and the target floating value; and executes the order operation corresponding to the liquidation instruction based on the liquidation price and the liquidation type. A reasonable and accurate liquidation price is determined based on a small amount of plate data and the target floating value, so that the target product object can be quickly liquidated, thereby improving the efficiency of liquidation of financial products.

[0125] Specifically, this solution proposes to determine a reasonable benchmark price based on the currently available trading data, calculate a reasonable and stable clearance price based on the benchmark price and the target floating value, and actively bid for clearance. In the case of low market liquidity, a relatively reasonable and accurate clearance price can still be calculated. The existing trading data is used to the maximum extent, which improves the efficiency of clearance while lowering the requirements for the timeliness of clearance. And when there is less trading data, price control and risk management can be better performed. For the low liquidity of US stock options, a targeted setting is made to gradually increase the tick size through polling to achieve clearance, reducing the risk of difficulty in clearing US stock options due to the particularity of US stock options using a fixed tick size. And for different financial products, different trading hours adopt appropriate clearance methods to achieve flexible clearance methods and improve clearance efficiency.

[0126] Figure 2 A schematic diagram of a structure of a device for clearing a financial product provided as an exemplary embodiment of the present application; wherein the device comprises:

[0127] An acquisition unit 21 is used to acquire a liquidation type corresponding to the target product object in response to a liquidation instruction for the target product object, wherein the liquidation type includes a buyback liquidation type corresponding to a short position and a sell liquidation type corresponding to a long position;

[0128] A first determining unit 22 is used to determine a base price and a gear difference from the display data of the target product object based on the clearance type, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear;

[0129] A second determining unit 23, configured to determine a target floating value based on the target product object;

[0130] A third determining unit 24 is used to determine a clearance price corresponding to the target product object based on the clearance type, the base price, the gear difference, and the target floating value;

[0131] The execution unit 25 is used to execute the order placement operation corresponding to the clearance instruction based on the clearance price and the clearance type.

[0132] Optionally, the display data in the device includes counterparty data or pending order data; the device is used to determine a benchmark price and a gear difference from the display data of the target product object based on the clearance type, and is specifically used to: determine whether there is counterparty data with the target product object based on the clearance type, and if so, determine the benchmark price and gear difference based on the counterparty data; if not, determine the pending order data with the target product object based on the clearance type, and determine the benchmark price and gear difference based on the pending order data.

[0133] Optionally, the device is used to determine the base price and gear difference based on the counterparty data, specifically for: counting the price values ​​corresponding to the N counterparty gears contained in the counterparty data; if the counterparty data is sell data, then selecting the largest price value from the price values ​​corresponding to the N counterparty gears as the base price; if the counterparty data is buy data, then selecting the smallest price value from the price values ​​corresponding to the N counterparty gears as the base price; obtaining a preset highest gear, and taking the difference between the gear value of the highest gear and N as the gear difference, wherein the gear value of the highest gear is greater than N, and N is a positive integer greater than or equal to 1.

[0134] Optionally, the device is used to determine the base price and the gear difference based on the pending order data, specifically for: counting the price values ​​corresponding to the M pending order gears contained in the pending order data, wherein M is a positive integer greater than or equal to 1; if the pending order data is sell order data, then selecting the smallest price value from the price values ​​corresponding to the M pending order gears as the base price; if the pending order data is buy order data, then selecting the largest price value from the price values ​​corresponding to the M pending order gears as the base price; obtaining a preset highest gear, and using the gear value of the highest gear as the gear difference.

[0135] Optionally, before the device is used to respond to a liquidation instruction for a target product object, the device is also used to: obtain a product type and a trading period of a financial product; determine whether the financial product is a target product based on the product type and the trading period; and if so, generate a liquidation instruction for the target product object of the target product.

[0136] Optionally, in the device, if the product type is a low-liquidity option product or the trading period is a low-liquidity period, the financial product is deemed to be a target product.

[0137] Optionally, the device is used to determine the clearance price corresponding to the target product object based on the clearance type, the benchmark price, the gear difference, and the target floating value, and is specifically used to: if the clearance type is a buyback closing type corresponding to a short position, obtain a first product of the gear difference and the target floating value; use the sum of the first product and the benchmark price as the clearance price; if the clearance type is a sell closing type corresponding to a long position, obtain a second product of the gear difference and the target floating value; obtain a first difference between the benchmark price and the second product; and use the largest value between the first difference and the target floating value as the clearance price.

[0138] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the device may perform the above method embodiment, and the above and other operations and / or functions of each module in the device are the corresponding processes in each method in the above method embodiment, respectively, and no further description is given here for the sake of brevity.

[0139] The above describes the device of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0140] Figure 3 is a schematic block diagram of an electronic device provided in an embodiment of the present application, and the electronic device may include:

[0141] The memory 301 and the processor 302, the memory 301 is used to store the computer program and transmit the program code to the processor 302. In other words, the processor 302 can call and run the computer program from the memory 301 to implement the method in the embodiment of the present application.

[0142] For example, the processor 302 may be configured to execute the above method embodiments according to instructions in the computer program.

[0143] In some embodiments of the present application, the processor 302 may include but is not limited to:

[0144] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0145] In some embodiments of the present application, the memory 301 includes but is not limited to:

[0146] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0147] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 301 and executed by the processor 302 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0148] like Figure 3 As shown, the electronic device may also include:

[0149] The transceiver 303 may be connected to the processor 302 or the memory 301 .

[0150] The processor 302 may control the transceiver 303 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 303 may include a transmitter and a receiver. The transceiver 303 may further include an antenna, and the number of antennas may be one or more.

[0151] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0152] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0153] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber liNe, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.

[0154] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0155] 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 module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules 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 through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0156] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0157] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for liquidating a financial product, characterized in that: include: In response to a liquidation instruction for a target product object, a liquidation type corresponding to the target product object is obtained, wherein the liquidation type includes a buyback liquidation type corresponding to a short position and a sell liquidation type corresponding to a long position; Based on the clearance type, determining a base price and a gear difference from the display data of the target product object, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear; Determining a target floating value based on the target product object; Determine a clearance price corresponding to the target product object based on the clearance type, the base price, the gear difference, and the target floating value; Based on the clearance price and the clearance type, an order operation corresponding to the clearance instruction is executed.

2. The method according to claim 1, characterized in that The plate placing data includes the counterparty plate data or the pending order plate data; the base price and the gear difference are determined from the plate placing data of the target product object based on the clearance type, including: Determine whether there is counterparty data with the target product object based on the clearance type, and if so, determine the base price and the gear difference based on the counterparty data; If it does not exist, the pending order data of the target product object is determined based on the clearance type, and the base price and the gear difference are determined based on the pending order data.

3. The method according to claim 2, characterized in that The determining of the base price and the gear difference based on the counterparty data includes: Counting the price values ​​corresponding to the N counterparty positions contained in the counterparty data; If the counterparty order data is sell order data, the largest price value is selected from the price values ​​corresponding to the N counterparty order levels as the base price; If the counterparty data is buy data, the smallest price value is selected from the price values ​​corresponding to the N counterparty positions as the base price; A preset highest gear is obtained, and a difference between the gear value of the highest gear and N is used as a gear difference, wherein N is a positive integer greater than or equal to 1.

4. The method according to claim 2, characterized in that: The determining of the base price and the gear difference based on the pending order data includes: Counting the price values ​​corresponding to the M order levels contained in the order data, where M is a positive integer greater than or equal to 1; If the pending order data is sell order data, the smallest price value is selected from the price values ​​corresponding to the M pending order levels as the base price; If the pending order data is buy order data, the largest price value is selected from the price values ​​corresponding to the M pending order levels as the base price; A preset highest gear position is obtained, and the gear value of the highest gear position is used as the gear difference value.

5. The method according to claim 1, characterized in that: Before responding to the clearance instruction for the target product object, the method further includes: Get the product type and trading hours of financial products; Determining whether the financial product is a target product based on the product type and trading period; If so, a clearance instruction for the target product object of the target product is generated.

6. The method according to claim 5, characterized in that If the product type is a low-liquidity option product or the trading period is a low-liquidity period, the financial product is deemed to be a target product.

7. The method according to claim 1, characterized in that The determining the clearance price corresponding to the target product object based on the clearance type, the base price, the gear difference, and the target floating value includes: If the liquidation type is a buyback liquidation type corresponding to a short position, obtaining a first product of the gear difference and the target floating value; The sum of the first product and the base price is used as the clearance price; If the liquidation type is a sell liquidation type corresponding to a long position, then obtaining a second product of the gear difference and the target floating value; Obtaining a first difference between the base price and the second product; The largest value between the first difference and the target floating value is used as the clearance price.

8. A device for clearing financial products, characterized in that: include: an acquisition unit, configured to acquire, in response to a liquidation instruction for a target product object, a liquidation type corresponding to the target product object, wherein the liquidation type includes a buyback liquidation type corresponding to a short position and a sell liquidation type corresponding to a long position; A first determining unit is used to determine a base price and a gear difference from the display data of the target product object based on the clearance type, wherein the gear difference refers to the difference between the gear corresponding to the base price and the highest gear; A second determining unit, configured to determine a target floating value based on the target product object; A third determining unit, configured to determine a clearance price corresponding to the target product object based on the clearance type, the base price, the gear difference, and the target floating value; An execution unit is used to execute an order operation corresponding to the clearance instruction based on the clearance price and the clearance type.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.