Adaptive portfolio margin strong flat strategy generation method and device, medium and terminal

By dynamically selecting open contracts for partial liquidation simulation in the combined margin model, the problem of fixed-sequence liquidation disrupting the hedging structure is solved, thus improving the efficiency and accuracy of capital utilization.

CN123160262APending Publication Date: 2026-11-24CICC DATA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611261357.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-19
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Under the existing combined margin model, closing out positions in a fixed order can easily disrupt the internal hedging structure, preventing the remaining positions from continuing to enjoy margin benefits and reducing capital utilization efficiency.

Method used

By obtaining the account equity funds of the target users and the required margin of each insurance product group, the total margin gap is calculated, and partial liquidation simulation operations are carried out. The open contracts are dynamically selected for liquidation while maintaining the hedging relationship. The margin is released gradually using the minimum number of liquidation lots, supplemented by global iterative verification.

Benefits of technology

It effectively preserved the hedging relationship of the remaining open contracts, allowing them to continue to enjoy margin benefits, improving capital utilization efficiency, avoiding unnecessary capital losses caused by excessive liquidation, and achieving precise coverage of margin gaps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160262A_ABST
    Figure CN123160262A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, medium, and terminal for generating forced liquidation strategies adapted to portfolio margin requirements, relating to the field of automated strategy generation technology. Its main purpose is to improve upon existing methods of closing positions en masse in a fixed sequence, which easily disrupt the hedging structure within the portfolio, preventing remaining positions from continuing to enjoy margin discounts and thus reducing capital efficiency. The proposed method compares the required margin of the portfolio with the total margin gap, and initiates partial liquidation simulation when the gap is sufficiently covered. During partial liquidation simulation, it dynamically selects some contracts for liquidation simulation by analyzing the risk type, required margin, discount rate, and hedging relationship of each contract within the portfolio. Margin is gradually released with the minimum liquidation volume as the target, supplemented by global iterative verification, ultimately generating a forced liquidation strategy tailored to the target user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automated strategy generation technology, and in particular to a method, apparatus, medium, and terminal for generating liquidation strategies adapted to combined margin requirements. Background Technology

[0002] In the futures trading market, to ensure contract fulfillment, exchanges implement a margin system, requiring investors to deposit a certain percentage of funds as collateral for their open contracts. When an investor's account equity falls below the minimum maintenance margin required for their positions, the futures company's risk control department must execute a forced liquidation operation to control risk and prevent further losses. In recent years, to improve the efficiency of investors' capital utilization, major futures exchanges have successively launched portfolio margin models. The core of these models lies in identifying hedging relationships between different contracts within the same account and offering margin discounts to these hedging contract portfolios, thereby significantly reducing the overall capital tied up by clients.

[0003] Currently, the forced liquidation strategy generation method adapted to the combined margin model usually follows a fixed order of first processing the varieties that did not participate in cross-product deduction, and then performing a full liquidation of the varieties that participated in cross-product deduction. Its liquidation logic is to clear the net position position one variety or one month at a time according to preset rules such as the contract attributes, liquidity and profit and loss status of the position, until the margin gap is eliminated.

[0004] However, in the portfolio margin model, the existence of a hedging relationship is a prerequisite for margin discounts. The existing method of closing out positions in a fixed order is very likely to destroy the hedging structure within the portfolio, making it impossible for the remaining positions to continue to enjoy margin discounts and reducing the efficiency of capital utilization. Summary of the Invention

[0005] In view of this, this application provides a method, apparatus, medium, and terminal for generating a forced liquidation strategy adapted to portfolio margin. The main purpose is to improve the existing method of closing out entire positions in a fixed order, which is prone to destroying the hedging structure within the portfolio, making it impossible for the remaining positions to continue to enjoy margin benefits, thereby reducing the efficiency of capital utilization.

[0006] According to one aspect of this application, a method for generating a liquidation strategy adapted to a portfolio margin is provided, comprising: Obtain the target user's account equity funds, total required margin, and required margin for each group of insurance products; calculate the difference between the account equity funds and the total required margin to obtain the target user's total margin shortfall. The required margin for each group is sorted in descending order to obtain a sequence of required margin for each group. The required margin for the first group in the sequence of required margin for each group is compared with the total margin gap. If the margin required by the first group is greater than or equal to the total margin gap, then based on the risk type, required margin, discount rate and hedging relationship of each open contract in the first group of guaranteed products corresponding to the margin required by the first group, a partial liquidation simulation operation is performed to release the margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification is passed, a forced liquidation strategy for the target user is generated.

[0007] Preferably, the partial liquidation simulation operation, based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first-tier guaranteed product group corresponding to the required margin of the first-tier group, releases margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap, includes: The system obtains the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order for each open contract in the first-level hedging product group. The risk type includes naked position risk type, cross-product hedging risk type, intra-product hedging risk type, and intra-contract hedging risk type. The required margin includes the required basic margin and the required additional margin. The discount rate includes the basic discount rate and the additional discount rate. The preset risk release priority order is as follows: naked position risk type takes precedence over cross-product hedging risk type, cross-product hedging risk type takes precedence over intra-product hedging risk type, and intra-product hedging risk type takes precedence over intra-contract hedging risk type. According to the preset risk release priority order, the closed-off simulated operation is performed on each contract in the current risk type. For each contract closed off simulated, the theoretical release margin is calculated based on the required basic margin, required additional margin, basic discount rate, and additional discount rate of the current contract. The theoretical release margin is then added to the cumulative release margin according to the hedging relationship until the cumulative release margin reaches the total margin gap.

[0008] Preferably, before obtaining the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order of each open contract in the first-order hedging product group, the method further includes: For each group of hedged products, obtain the detailed composition of the required margin for the current group of hedged products. The detailed composition of the required margin for the group includes the basic margin and additional margin for hedging risk within the group contract, the basic margin and additional margin for hedging risk within the group product, the basic margin and additional margin for hedging risk across products, and the basic margin and additional margin for naked position risk. For the basic margin for hedging risk within the group contract, the basic margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship; and for the additional margin for hedging risk within the group contract, the additional margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship. For each of the following: the basic margin for hedging risk within the group, the basic margin for hedging risk across the group, and the basic margin for naked position risk within the group, the current group basic margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. For each of the following: the additional margin for hedging risk within the group, the additional margin for hedging risk across the group, and the additional margin for naked position risk within the group, the current group additional margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. Obtain the basic discount rate and additional discount rate for naked positions, the basic discount rate and additional discount rate for cross-product hedging, the basic discount rate and additional discount rate for intra-product hedging, and the basic discount rate and additional discount rate for intra-contract hedging for each open contract. Record the risk type, required base margin, required additional margin, base discount rate, additional discount rate, and hedging relationship for each of the stated open contracts.

[0009] Preferably, the step of calculating the theoretical release margin for the current open position based on the required basic margin, required additional margin, basic discount rate, and additional discount rate includes: Calculate the product of the required basic margin and the basic discount rate to obtain the basic release margin of the current open position contract; Calculate the product of the required additional margin and the additional discount rate to obtain the additional release margin for the current open position contract; The theoretical release margin for the current open position contract is obtained by calculating the sum of the basic release margin and the additional release margin.

[0010] Preferably, the method further includes: If the margin required by the first group is less than the total margin gap, then all open contracts included in the first group will be closed out in a simulated operation, and the difference between the total margin gap and the margin required by the first group will be calculated to obtain the updated total margin gap. The margin required by the next group in the required margin sequence of the group is compared with the updated total margin gap, and a total liquidation simulation operation or a partial liquidation simulation operation is performed according to the comparison result until the total margin gap is eliminated.

[0011] Preferably, the total required margin for the target users and the required margin for each group of protected products are obtained, including: Load all open contracts of the target user, and divide all open contracts into multiple hedging product groups according to the preset product grouping rules; For each group of insured products, the required margin for the current group of insured products is calculated based on the preset portfolio margin model. Calculate the total required deposit for each group to obtain the total required deposit for the target users.

[0012] Preferably, before generating the forced liquidation policy for the target user, the method further includes: Based on the results of the current round of position liquidation simulation operation, update the target user's account equity funds, total required margin, and the required margin for each group of guaranteed products, and reassess whether there is still a total margin shortfall based on the updated account equity funds and total required margin. If it exists, the results of the current round of liquidation simulation operation are retained, and the total margin gap is recalculated based on the updated account equity funds, total required margin, and the required margin of each group of guaranteed products. The next round of liquidation simulation operation is then carried out until the total margin gap is eliminated, and a forced liquidation strategy is generated based on the results of all rounds of liquidation simulation operation.

[0013] According to another aspect of this application, a liquidation strategy generation device adapted to combined margin is provided, comprising: The margin gap calculation module is used to obtain the target user's account equity funds, total required margin, and group required margin for each group of insurance products, calculate the difference between the account equity funds and the total required margin, and obtain the target user's total margin gap. The group required margin sorting module is used to sort the required margin of each group in descending order to obtain the group required margin sequence, and compare the first group required margin in the group required margin sequence with the total margin gap. The partial liquidation simulation module is used to perform partial liquidation simulation operations based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first-tier hedging product group corresponding to the required margin of the first-tier group if the required margin of the first-tier group is greater than or equal to the total margin gap. The margin is released with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification is passed, a forced liquidation strategy for the target user is generated.

[0014] Preferably, the partial liquidation simulation module includes: The information acquisition unit is used to acquire the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order of each open contract in the first-position hedging product group. The risk type includes naked position risk type, cross-product hedging risk type, intra-product hedging risk type, and intra-contract hedging risk type. The required margin includes the required basic margin and the required additional margin. The discount rate includes the basic discount rate and the additional discount rate. The preset risk release priority order is that naked position risk type takes precedence over cross-product hedging risk type, cross-product hedging risk type takes precedence over intra-product hedging risk type, and intra-product hedging risk type takes precedence over intra-contract hedging risk type. The partial liquidation simulation unit is used to perform simulated liquidation operations on the open contracts included in the current risk type in sequence according to the preset risk release priority order. For each simulated liquidation of one open contract, the theoretical release margin of the current open contract is calculated based on the required basic margin, required additional margin, basic discount rate, and additional discount rate. The theoretical release margin is then added to the cumulative release margin according to the hedging relationship until the cumulative release margin reaches the total margin gap.

[0015] Preferably, before the information acquisition unit, the partial liquidation simulation module further includes a risk allocation unit, used for: For each group of hedged products, obtain the detailed composition of the required margin for the current group of hedged products. The detailed composition of the required margin for the group includes the basic margin and additional margin for hedging risk within the group contract, the basic margin and additional margin for hedging risk within the group product, the basic margin and additional margin for hedging risk across products, and the basic margin and additional margin for naked position risk. For the basic margin for hedging risk within the group contract, the basic margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship; and for the additional margin for hedging risk within the group contract, the additional margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship. For each of the following: the basic margin for hedging risk within the group, the basic margin for hedging risk across the group, and the basic margin for naked position risk within the group, the current group basic margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. For each of the following: the additional margin for hedging risk within the group, the additional margin for hedging risk across the group, and the additional margin for naked position risk within the group, the current group additional margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. Obtain the basic discount rate and additional discount rate for naked positions, the basic discount rate and additional discount rate for cross-product hedging, the basic discount rate and additional discount rate for intra-product hedging, and the basic discount rate and additional discount rate for intra-contract hedging for each open contract. Record the risk type, required base margin, required additional margin, base discount rate, additional discount rate, and hedging relationship for each of the stated open contracts.

[0016] Preferably, the partial liquidation simulation unit is used for: Calculate the product of the required basic margin and the basic discount rate to obtain the basic release margin of the current open position contract; Calculate the product of the required additional margin and the additional discount rate to obtain the additional release margin for the current open position contract; The theoretical release margin for the current open position contract is obtained by calculating the sum of the basic release margin and the additional release margin.

[0017] Preferably, the device further includes an overall liquidation simulation module, used for: If the margin required by the first group is less than the total margin gap, then all open contracts included in the first group will be closed out in a simulated operation, and the difference between the total margin gap and the margin required by the first group will be calculated to obtain the updated total margin gap. The margin required by the next group in the required margin sequence of the group is compared with the updated total margin gap, and a total liquidation simulation operation or a partial liquidation simulation operation is performed according to the comparison result until the total margin gap is eliminated.

[0018] Preferably, the margin gap calculation module includes a margin calculation unit, used for: Load all open contracts of the target user, and divide all open contracts into multiple hedging product groups according to the preset product grouping rules; For each group of insured products, the required margin for the current group of insured products is calculated based on the preset portfolio margin model. Calculate the total required deposit for each group to obtain the total required deposit for the target users.

[0019] Preferably, the apparatus further includes a global iterative verification module, used for: Based on the results of the current round of position liquidation simulation operation, update the target user's account equity funds, total required margin, and the required margin for each group of guaranteed products, and reassess whether there is still a total margin shortfall based on the updated account equity funds and total required margin. If it exists, the results of the current round of liquidation simulation operation are retained, and the total margin gap is recalculated based on the updated account equity funds, total required margin, and the required margin of each group of guaranteed products. The next round of liquidation simulation operation is then carried out until the total margin gap is eliminated, and a forced liquidation strategy is generated based on the results of all rounds of liquidation simulation operation.

[0020] According to another aspect of this application, a storage medium is provided, wherein at least one executable instruction is stored therein, the executable instruction causing a processor to perform an operation corresponding to the above-described method for generating a forced liquidation strategy with an adapted combination margin.

[0021] According to another aspect of this application, a terminal is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the above-described method for generating a forced liquidation strategy for the adapted combination margin.

[0022] By employing the above technical solutions, the technical solutions provided in the embodiments of this application have at least the following advantages: This application provides a method, apparatus, medium, and terminal for generating a forced liquidation strategy adapted to combined margin requirements. First, it obtains the target user's account equity, total required margin, and the required margin for each group of guaranteed products. It then calculates the difference between the account equity and the total required margin to obtain the target user's total margin gap. Second, it sorts the required margin for each group in descending order to obtain a group required margin sequence. It compares the first group required margin in the sequence with the total margin gap. Finally, if the first group required margin is greater than or equal to the total margin gap, it performs a partial liquidation simulation based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first guaranteed product group corresponding to the first group required margin. This releases margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iterative verification, a forced liquidation strategy for the target user is generated. Compared with existing technologies, the embodiments of this application compare the required margin of the group of hedged contracts with the total margin gap, and initiate partial liquidation simulation operations when the gap is sufficiently covered. During the partial liquidation simulation operations, the system dynamically selects some contracts for liquidation simulation operations by analyzing the risk type, required margin, discount rate, and hedging relationship of each open contract within the group of hedged contracts, rather than uniformly liquidating the entire batch in a fixed order. This effectively preserves the hedging relationship between the remaining open contracts, allowing them to continue to enjoy the combined margin discount, reducing the negative impact of liquidation operations on the efficiency of client capital utilization, thereby improving capital utilization efficiency. Simultaneously, by gradually releasing margin with the minimum liquidation volume as the target and supplementing iterative global verification, unnecessary capital losses caused by excessive liquidation are avoided, achieving precise coverage of the margin gap.

[0023] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0024] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This paper illustrates a flowchart of a forced liquidation strategy generation method adapted to a combination margin provided in an embodiment of this application. Figure 2This paper illustrates a flowchart of another method for generating a liquidation strategy with an adapted combination margin, as provided in an embodiment of this application. Figure 3 This paper illustrates a flowchart of another method for generating a liquidation strategy with an adaptive combination margin provided in an embodiment of this application. Figure 4 This paper shows a block diagram of a forced liquidation strategy generation device adapted to combined margin requirements provided in an embodiment of this application. Figure 5 A schematic diagram of the structure of a terminal provided in an embodiment of this application is shown. Detailed Implementation

[0025] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0026] This application provides a method for generating a forced liquidation strategy that adapts to combined margin requirements, such as... Figure 1 As shown, the method includes: 101. Obtain the target user's account equity funds, total required margin, and the required margin for each group of insurance products. Calculate the difference between the account equity funds and the total required margin to obtain the target user's total margin shortfall.

[0027] The "Account Equity Funds" represents the net assets of the target user's account at the current point in time, i.e., the total funds available for performance guarantees. The "Group Margin Required" represents the margin amount required for each guaranteed product group, calculated based on a preset portfolio margin model and considering all open contracts within that group. The "Total Margin Required" represents the total margin required from the target customer, calculated based on the preset portfolio margin model and considering all currently held contracts; this is the sum of the margin requirements for all groups.

[0028] In this embodiment of the application, the current execution end can be the margin monitoring module of the futures trading system.

[0029] 102. Sort the required margin for each group in descending order to obtain the required margin sequence for each group. Compare the required margin of the first group in the required margin sequence with the total margin gap.

[0030] Understandably, prioritizing the group of stocks with the highest required margin can improve the efficiency of filling the total margin gap. Based on this, in this embodiment, the required margins of each group are sorted in descending order to obtain a sequence of required margins for each group. The required margin of the first group in this sequence, i.e., the largest required margin, is compared with the total margin gap calculated in step 101 of the embodiment. This determines whether the required margin of the first group is sufficient to cover the total margin gap, thereby deciding whether to perform a full liquidation operation on the corresponding first-ranked stock group or proceed to a subsequent partial liquidation simulation operation to ensure the efficiency and accuracy of forced liquidation.

[0031] 103. If the margin required by the first group is greater than or equal to the total margin gap, then based on the risk type, required margin, discount rate and hedging relationship of each open contract in the first group of guaranteed products corresponding to the margin required by the first group, a partial liquidation simulation operation is performed to release the margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification, a forced liquidation strategy for the target user is generated.

[0032] The risk type, required margin, discount rate, and hedging relationship of each open contract are used to record the contribution of each open contract to the total required margin and the associated constraints with other open contracts. The liquidation strategy must include at least the code and number of contracts expected to be liquidated.

[0033] In this embodiment, when it is determined that the required margin for the first group is greater than or equal to the total margin gap, it indicates that the required margin for the first group can cover the total margin gap, and there is no need to perform forced liquidation operations on other margin groups. At this time, a partial liquidation simulation operation process is initiated for the corresponding first margin group. Specifically, firstly, the risk type, required margin, discount rate, and hedging relationship of each open contract in the first margin group are obtained. Then, according to the preset risk release priority order, starting from the risk type with the highest release efficiency, the positions are simulated one by one. The theoretical release amount is calculated based on the margin and discount rate corresponding to each position. At the same time, the method of individual liquidation or paired liquidation is determined according to the hedging relationship to ensure that the hedging structure of the remaining positions is not destroyed while releasing the margin. The above process is executed cyclically. After each liquidation, the theoretical release amount is accumulated. The loop stops when the accumulated released margin meets the total margin gap, thereby achieving accurate coverage of the total margin gap with the minimum number of liquidated positions. Furthermore, after the current round of simulated liquidation is completed, the result of the current round of simulated liquidation is substituted into the global iteration for verification. If a total margin gap still exists, multiple rounds of iteration are performed until the total margin gap is completely eliminated. Finally, a liquidation strategy targeting the target user is generated.

[0034] Compared with existing technologies, the embodiments of this application compare the required margin of the group of hedged contracts with the total margin gap, and initiate partial liquidation simulation operations when the gap is sufficiently covered. During the partial liquidation simulation operations, the system dynamically selects some contracts for liquidation simulation operations by analyzing the risk type, required margin, discount rate, and hedging relationship of each open contract within the group of hedged contracts, rather than uniformly liquidating the entire batch in a fixed order. This effectively preserves the hedging relationship between the remaining open contracts, allowing them to continue to enjoy the combined margin discount, reducing the negative impact of liquidation operations on the efficiency of client capital utilization, thereby improving capital utilization efficiency. Simultaneously, by gradually releasing margin with the minimum liquidation volume as the target and supplementing iterative global verification, unnecessary capital losses caused by excessive liquidation are avoided, achieving precise coverage of the margin gap.

[0035] In one embodiment of this application, for further definition and explanation, such as Figure 2 As shown, when the margin required for the first group is greater than or equal to the total margin shortfall, the implementation method includes: 201. For each group of protected varieties, obtain the details of the required margin for the current group of protected varieties.

[0036] The required margin for the group includes the basic margin for hedging risk within the group contract and the additional margin for hedging risk within the group contract, the basic margin for hedging risk within the group product and the additional margin for hedging risk within the group product, the basic margin for hedging risk across products and the additional margin for hedging risk across products, and the basic margin for naked position risk and the additional margin for naked position risk.

[0037] It should be noted that the basic margin is the margin required due to the price fluctuation risk of the open contract itself, while the additional margin is the margin charged by the exchange. Together, they constitute the complete margin.

[0038] 202. Allocate the required margin to each open contract included in the group of protected products.

[0039] Accordingly, step 202 of the embodiment specifically includes: for the basic margin for hedging risk within the group contract, the basic margin for hedging risk within the group contract is evenly distributed to each open contract forming an intra-contract hedging relationship; and for the additional margin for hedging risk within the group contract, the additional margin for hedging risk within the group contract is evenly distributed to each open contract forming an intra-contract hedging relationship; for each of the basic margin for hedging risk within the group product, the basic margin for hedging risk across group products, and the basic margin for naked position risk within the group, the current group basic margin is allocated to the corresponding product and distributed to each open contract included in the product according to the reverse distribution principle; and for each of the additional margin for hedging risk within the group product, the additional margin for hedging risk across group products, and the additional margin for naked position risk within the group, the current group additional margin is allocated to the corresponding product and distributed to each open contract included in the product according to the reverse distribution principle.

[0040] In this embodiment, after obtaining the detailed composition of the required margin for the group, each item in the detailed composition is allocated to the various open contracts included in the group of hedged products, so that each open contract can clearly know its own margin share. Different risk types correspond to different allocation rules. Specifically, for the intra-contract hedging risk type, since both parties in the intra-contract hedging are in the same contract, the risk is symmetrical. Therefore, the basic margin and additional margin for intra-contract hedging risk can be allocated equally to the various open contracts that form the intra-contract hedging relationship. For intra-product hedging risk type, cross-product hedging risk type, and naked position risk type, the basic margin and additional margin are first allocated to the corresponding product, and then allocated to the various open contracts included in that product in reverse order. The reverse order allocation principle is that after sorting the open contracts under that product, the open contracts ranked lower are given priority in being allocated risk shares. The advantage of doing so is that it helps to ensure the stability of the hedging structure of the core contracts ranked higher.

[0041] 203. Obtain the discount rate corresponding to each open contract.

[0042] The discount rates include the basic discount rate and additional discount rate for naked positions, the basic discount rate and additional discount rate for cross-product hedging, the basic discount rate and additional discount rate for intra-product hedging, and the basic discount rate and additional discount rate for intra-contract hedging.

[0043] 204. Record the risk type, required base margin, required additional margin, base discount rate, additional discount rate, and hedging relationship for each open contract.

[0044] In this embodiment, it is equivalent to establishing a corresponding risk information file for each open contract, so that it can be quickly and accurately retrieved during the subsequent closing simulation process.

[0045] 205. Obtain the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order of each open contract in the first group of guaranteed products.

[0046] The risk types include naked position risk, cross-product hedging risk, intra-product hedging risk, and intra-contract hedging risk. The required margin includes the required basic margin and the required additional margin. The discount rate includes the basic discount rate and the additional discount rate. The preset risk release priority order is: naked position risk takes precedence over cross-product hedging risk, cross-product hedging risk takes precedence over intra-product hedging risk, and intra-product hedging risk takes precedence over intra-contract hedging risk.

[0047] In this embodiment of the application, before entering the partial liquidation simulation operation, two pieces of information need to be obtained. First, the risk type, the basic margin and additional margin required per lot, the corresponding basic discount rate and additional discount rate, and the hedging relationship of each open contract in the first group of hedged products recorded in step 204 of the embodiment are obtained, which are used to calculate how much margin can be released by liquidating each lot and what liquidation method is used. Second, the preset risk release priority order is obtained.

[0048] 206. Following the preset risk release priority order, perform simulated closing operations on each lot of open contracts included in the current risk type within each risk type.

[0049] For each simulated closing of a position, the theoretical release margin for the current open position is calculated based on the required basic margin, required additional margin, basic discount rate, and additional discount rate. Specifically, the basic release margin is calculated by multiplying the required basic margin and the basic discount rate; the additional release margin is calculated by multiplying the required additional margin and the additional discount rate; and the sum of the basic and additional release margins is calculated to obtain the theoretical release margin for the current open position. Further, the closing method is determined based on the hedging relationship recorded for the current open position. If the current open position is in a hedging relationship within a group of contracts, within a group of instruments, or across groups of instruments, the theoretical release margins of both parties are added together to the cumulative release margin. If the current open position is a group naked risk type, it is directly added until the cumulative release margin reaches the total margin gap.

[0050] In one embodiment of this application, for further definition and explanation, such as Figure 3As shown, when the margin required for the first group is less than the total margin shortfall, the implementation method includes: 301. Perform a simulated closing operation on all open contracts included in the first group of protected commodities, and calculate the difference between the total margin gap and the margin required for the first group to obtain the updated total margin gap.

[0051] It should be noted that since the margin released by the overall closing simulation operation is the same as the margin required by the group of stocks in this position, there is no need to calculate the margin release. The remaining total margin gap can be determined by directly calculating the difference between the total margin gap and the margin required by the first group.

[0052] 302. Compare the required margin of the next group in the required margin sequence with the updated total margin gap, and perform overall or partial liquidation simulation operation based on the comparison results until the total margin gap is eliminated.

[0053] Specifically, if the margin required by the secondary group is greater than or equal to the updated total margin gap, a partial liquidation simulation operation is performed according to the details described in steps 201-206 of the aforementioned embodiment to eliminate the total margin gap; if the margin required by the secondary group is less than the updated total margin gap, a full liquidation simulation operation is performed on all open contracts included in the secondary group, and the difference between the updated total margin gap and the margin required by the third group is calculated. If a gap still exists, a liquidation simulation operation is performed on the next group until the total margin gap is eliminated.

[0054] In one embodiment of this application, for further definition and explanation, step 101 of the embodiment, obtaining the total required margin for the target user and the required margin for each group of guaranteed products, includes: loading all open contracts of the target user, dividing all open contracts into multiple guaranteed product groups according to a preset product group division rule; for each guaranteed product group, calculating the required margin for the current guaranteed product group based on a preset investment portfolio margin model; and calculating the sum of the required margins for each group to obtain the total required margin for the target user.

[0055] In this embodiment, all open contracts of the target user are first loaded. Based on the exchange's pre-defined commodity grouping rules, these contracts are assigned to their respective commodity groups. These rules are defined by the exchange; for example, cotton and cotton fabric are grouped into the same commodity group due to their upstream and downstream industry chain relationship, while sugar is grouped into a different group because it lacks price correlation with cotton and cotton fabric in the industry chain. Further, for each commodity group, a preset portfolio margin model is used to calculate the required margin for all positions within that group. This calculation process is performed independently within each commodity group. Finally, the required margin for all groups is summed to obtain the total required margin for the target user.

[0056] In one embodiment of this application, for further definition and explanation, before generating a forced liquidation strategy for the target user, the method further includes: updating the target user's account equity, total required margin, and required margin for each group of guaranteed products based on the results of the current round of liquidation simulation operation; and re-determining whether there is still a total margin gap based on the updated account equity and total required margin; if there is, retaining the results of the current round of liquidation simulation operation, and recalculating the total margin gap based on the updated account equity, total required margin, and required margin for each group of guaranteed products, and conducting the next round of liquidation simulation operation until the total margin gap is eliminated, so as to generate a forced liquidation strategy based on the results of all rounds of liquidation simulation operation.

[0057] Since the calculation of the preset portfolio margin model has non-linear characteristics, the hedging relationship between open contracts will change dynamically with the forced liquidation of some open contracts. There may be a difference between the margin release amount estimated in a single round of liquidation simulation and the total required margin recalculated after liquidation. Based on this, in the embodiments of this application, multiple rounds of iterative verification are used to ensure the reliability of the recommendation results. Specifically, after the current round of simulated liquidation is completed, the target user's position status is updated based on the results. This includes removing contracts that have been simulated for liquidation from the position list and updating the account equity. Subsequently, based on the updated position status, the preset portfolio margin model is invoked again for a global trial calculation to calculate the updated total required margin and the required margin for each group of guaranteed products. The updated account equity is compared with the updated total required margin to determine if there is still a total margin gap. If not, it indicates that the current liquidation recommendation can cover the original total margin gap, and the iteration process terminates. If there is still a gap, the results of all previous rounds of simulated liquidation are retained, and the updated account equity, total required margin, and required margin for each group of guaranteed products are used as new input data to recalculate the current total margin gap. The next round of simulated liquidation is then performed until the total margin gap is completely eliminated. Finally, the results of all rounds of simulated liquidation are summarized to generate the final liquidation strategy. This iterative verification mechanism ensures that the forced liquidation strategy remains accurate and reliable even in the complex environment of dynamic changes in portfolio margin, effectively avoiding the problems of insufficient or excessive liquidation that may occur in a single round of recommendations.

[0058] This application provides a method for generating a forced liquidation strategy adapted to combined margin requirements. First, it obtains the target user's account equity, total required margin, and the required margin for each group of guaranteed products. It then calculates the difference between the account equity and the total required margin to obtain the target user's total margin gap. Second, it sorts the required margin for each group in descending order to obtain a group required margin sequence. It compares the first group required margin in the sequence with the total margin gap. Finally, if the first group required margin is greater than or equal to the total margin gap, it performs a partial liquidation simulation based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first guaranteed product group corresponding to the first group required margin. This releases margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iterative verification, a forced liquidation strategy for the target user is generated. Compared with existing technologies, the embodiments of this application compare the required margin of the group of hedged contracts with the total margin gap, and initiate partial liquidation simulation operations when the gap is sufficiently covered. During the partial liquidation simulation operations, the system dynamically selects some contracts for liquidation simulation operations by analyzing the risk type, required margin, discount rate, and hedging relationship of each open contract within the group of hedged contracts, rather than uniformly liquidating the entire batch in a fixed order. This effectively preserves the hedging relationship between the remaining open contracts, allowing them to continue to enjoy the combined margin discount, reducing the negative impact of liquidation operations on the efficiency of client capital utilization, thereby improving capital utilization efficiency. Simultaneously, by gradually releasing margin with the minimum liquidation volume as the target and supplementing iterative global verification, unnecessary capital losses caused by excessive liquidation are avoided, achieving precise coverage of the margin gap.

[0059] Furthermore, as a response to the above Figure 1 To implement the method shown, this application provides an apparatus for generating a liquidation strategy adapted to combined margin requirements, such as... Figure 4 As shown, the device includes: Module 41 for calculating margin gap, module 42 for sorting required margin for groups, and module 43 for partial liquidation simulation; The margin gap calculation module 41 is used to obtain the target user's account equity funds, total required margin, and group required margin for each group of insurance products, calculate the difference between the account equity funds and the total required margin, and obtain the target user's total margin gap. Group required margin sorting module 42 is used to sort the required margin of each group in descending order to obtain a group required margin sequence, and compare the first group required margin in the group required margin sequence with the total margin gap. The partial liquidation simulation module 43 is used to perform partial liquidation simulation operations based on the risk type, required margin, discount rate and hedging relationship of each open contract in the first group of guaranteed products corresponding to the required margin of the first group if the required margin of the first group is greater than or equal to the total margin gap. The margin is released with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification is passed, a forced liquidation strategy for the target user is generated.

[0060] In specific application scenarios, the partial liquidation simulation module includes: The information acquisition unit is used to acquire the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order of each open contract in the first-position hedging product group. The risk type includes naked position risk type, cross-product hedging risk type, intra-product hedging risk type, and intra-contract hedging risk type. The required margin includes the required basic margin and the required additional margin. The discount rate includes the basic discount rate and the additional discount rate. The preset risk release priority order is that naked position risk type takes precedence over cross-product hedging risk type, cross-product hedging risk type takes precedence over intra-product hedging risk type, and intra-product hedging risk type takes precedence over intra-contract hedging risk type. The partial liquidation simulation unit is used to perform simulated liquidation operations on the open contracts included in the current risk type in sequence according to the preset risk release priority order. For each simulated liquidation of one open contract, the theoretical release margin of the current open contract is calculated based on the required basic margin, required additional margin, basic discount rate, and additional discount rate. The theoretical release margin is then added to the cumulative release margin according to the hedging relationship until the cumulative release margin reaches the total margin gap.

[0061] In specific application scenarios, prior to the information acquisition unit, the partial closing simulation module further includes a risk allocation unit, used for: For each group of hedged products, obtain the detailed composition of the required margin for the current group of hedged products. The detailed composition of the required margin for the group includes the basic margin and additional margin for hedging risk within the group contract, the basic margin and additional margin for hedging risk within the group product, the basic margin and additional margin for hedging risk across products, and the basic margin and additional margin for naked position risk. For the basic margin for hedging risk within the group contract, the basic margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship; and for the additional margin for hedging risk within the group contract, the additional margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship. For each of the following: the basic margin for hedging risk within the group, the basic margin for hedging risk across the group, and the basic margin for naked position risk within the group, the current group basic margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. For each of the following: the additional margin for hedging risk within the group, the additional margin for hedging risk across the group, and the additional margin for naked position risk within the group, the current group additional margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. Obtain the basic discount rate and additional discount rate for naked positions, the basic discount rate and additional discount rate for cross-product hedging, the basic discount rate and additional discount rate for intra-product hedging, and the basic discount rate and additional discount rate for intra-contract hedging for each open contract. Record the risk type, required base margin, required additional margin, base discount rate, additional discount rate, and hedging relationship for each of the stated open contracts.

[0062] In specific application scenarios, the partial liquidation simulation unit is used for: Calculate the product of the required basic margin and the basic discount rate to obtain the basic release margin of the current open position contract; Calculate the product of the required additional margin and the additional discount rate to obtain the additional release margin for the current open position contract; The theoretical release margin for the current open position contract is obtained by calculating the sum of the basic release margin and the additional release margin.

[0063] In specific application scenarios, the device also includes an overall liquidation simulation module, used for: If the margin required by the first group is less than the total margin gap, then all open contracts included in the first group will be closed out in a simulated operation, and the difference between the total margin gap and the margin required by the first group will be calculated to obtain the updated total margin gap. The margin required by the next group in the required margin sequence of the group is compared with the updated total margin gap, and a total liquidation simulation operation or a partial liquidation simulation operation is performed according to the comparison result until the total margin gap is eliminated.

[0064] In specific application scenarios, the margin gap calculation module includes a margin calculation unit, used for: Load all open contracts of the target user, and divide all open contracts into multiple hedging product groups according to the preset product grouping rules; For each group of insured products, the required margin for the current group of insured products is calculated based on the preset portfolio margin model. Calculate the total required deposit for each group to obtain the total required deposit for the target users.

[0065] In specific application scenarios, the device further includes a global iterative verification module, used for: Based on the results of the current round of position liquidation simulation operation, update the target user's account equity funds, total required margin, and the required margin for each group of guaranteed products, and reassess whether there is still a total margin shortfall based on the updated account equity funds and total required margin. If it exists, the results of the current round of liquidation simulation operation are retained, and the total margin gap is recalculated based on the updated account equity funds, total required margin, and the required margin of each group of guaranteed products. The next round of liquidation simulation operation is then carried out until the total margin gap is eliminated, and a forced liquidation strategy is generated based on the results of all rounds of liquidation simulation operation.

[0066] This application provides a forced liquidation strategy generation device adapted to combined margin requirements. First, it obtains the target user's account equity, total required margin, and the required margin for each group of guaranteed products. It calculates the difference between the account equity and the total required margin to obtain the target user's total margin gap. Second, it sorts the required margin for each group in descending order to obtain a group required margin sequence. It compares the first group required margin in the group required margin sequence with the total margin gap. Finally, if the first group required margin is greater than or equal to the total margin gap, it performs a partial liquidation simulation operation based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first guaranteed product group corresponding to the first group required margin. It releases margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iterative verification, it generates a forced liquidation strategy for the target user. Compared with existing technologies, the embodiments of this application compare the required margin of the group of hedged contracts with the total margin gap, and initiate partial liquidation simulation operations when the gap is sufficiently covered. During the partial liquidation simulation operations, the system dynamically selects some contracts for liquidation simulation operations by analyzing the risk type, required margin, discount rate, and hedging relationship of each open contract within the group of hedged contracts, rather than uniformly liquidating the entire batch in a fixed order. This effectively preserves the hedging relationship between the remaining open contracts, allowing them to continue to enjoy the combined margin discount, reducing the negative impact of liquidation operations on the efficiency of client capital utilization, thereby improving capital utilization efficiency. Simultaneously, by gradually releasing margin with the minimum liquidation volume as the target and supplementing iterative global verification, unnecessary capital losses caused by excessive liquidation are avoided, achieving precise coverage of the margin gap.

[0067] According to one embodiment of this application, a storage medium is provided, the storage medium storing at least one executable instruction, the computer-executable instruction being able to execute the method for generating a forced liquidation strategy for an adaptive combination margin in any of the above method embodiments.

[0068] Based on this understanding, the technical solution of this application can be embodied in the form of a software product. The software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or portable hard drive), and includes several instructions to cause a computer device (such as a personal computer, server, or network device) to execute the methods described in the various implementation scenarios of this application.

[0069] Figure 5 The diagram shows a structural schematic of a terminal according to one embodiment of the present application. The specific embodiments of the present application do not limit the specific implementation of the terminal.

[0070] like Figure 5 As shown, the terminal may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508.

[0071] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508.

[0072] Communication interface 504 is used to communicate with other network elements such as clients or other servers.

[0073] The processor 502 is used to execute program 510, which can specifically execute the relevant steps in the above-described embodiment of the method for generating liquidation strategies for adapting combined margins.

[0074] Specifically, program 510 may include program code that includes computer operation instructions.

[0075] Processor 502 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application. The computer device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or they may be processors of different types, such as one or more CPUs and one or more ASICs.

[0076] Memory 506 is used to store program 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0077] Specifically, program 510 can be used to cause processor 502 to perform the following operations: Obtain the target user's account equity funds, total required margin, and required margin for each group of insurance products; calculate the difference between the account equity funds and the total required margin to obtain the target user's total margin shortfall. The required margin for each group is sorted in descending order to obtain a sequence of required margin for each group. The required margin for the first group in the sequence of required margin for each group is compared with the total margin gap. If the margin required by the first group is greater than or equal to the total margin gap, then based on the risk type, required margin, discount rate and hedging relationship of each open contract in the first group of guaranteed products corresponding to the margin required by the first group, a partial liquidation simulation operation is performed to release the margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification is passed, a forced liquidation strategy for the target user is generated.

[0078] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the physical device used to generate the liquidation strategy for the aforementioned adaptive margin combination, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software in the information processing physical device.

[0079] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for generating a forced liquidation strategy that adapts to combined margin requirements, characterized in that, include: Obtain the target user's account equity funds, total required margin, and required margin for each group of insurance products; calculate the difference between the account equity funds and the total required margin to obtain the target user's total margin shortfall. The required margin for each group is sorted in descending order to obtain a sequence of required margin for each group. The required margin for the first group in the sequence of required margin for each group is compared with the total margin gap. If the margin required by the first group is greater than or equal to the total margin gap, then based on the risk type, required margin, discount rate and hedging relationship of each open contract in the first group of guaranteed products corresponding to the margin required by the first group, a partial liquidation simulation operation is performed to release the margin with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification is passed, a forced liquidation strategy for the target user is generated.

2. The method according to claim 1, characterized in that, The process involves performing partial liquidation simulations based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first-tier guaranteed product group corresponding to the required margin of the first-tier group. This releases margin with the minimum number of liquidated contracts until the cumulative released margin meets the total margin shortfall, including: The system obtains the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order for each open contract in the first-level hedging product group. The risk type includes naked position risk type, cross-product hedging risk type, intra-product hedging risk type, and intra-contract hedging risk type. The required margin includes the required basic margin and the required additional margin. The discount rate includes the basic discount rate and the additional discount rate. The preset risk release priority order is as follows: naked position risk type takes precedence over cross-product hedging risk type, cross-product hedging risk type takes precedence over intra-product hedging risk type, and intra-product hedging risk type takes precedence over intra-contract hedging risk type. According to the preset risk release priority order, the closed-off simulated operation is performed on each contract in the current risk type. For each contract closed off simulated, the theoretical release margin is calculated based on the required basic margin, required additional margin, basic discount rate, and additional discount rate of the current contract. The theoretical release margin is then added to the cumulative release margin according to the hedging relationship until the cumulative release margin reaches the total margin gap.

3. The method according to claim 2, characterized in that, Before obtaining the risk type, required margin, discount rate, hedging relationship, and preset risk release priority order of each open contract in the first-level hedging product group, the method further includes: For each group of hedged products, obtain the detailed composition of the required margin for the current group of hedged products. The detailed composition of the required margin for the group includes the basic margin and additional margin for hedging risk within the group contract, the basic margin and additional margin for hedging risk within the group product, the basic margin and additional margin for hedging risk across products, and the basic margin and additional margin for naked position risk. For the basic margin for hedging risk within the group contract, the basic margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship; and for the additional margin for hedging risk within the group contract, the additional margin for hedging risk within the group contract is evenly distributed to each open contract that forms an in-contract hedging relationship. For each of the following: the basic margin for hedging risk within the group, the basic margin for hedging risk across the group, and the basic margin for naked position risk within the group, the current group basic margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. For each of the following: the additional margin for hedging risk within the group, the additional margin for hedging risk across the group, and the additional margin for naked position risk within the group, the current group additional margin is allocated to the corresponding product and distributed to each open contract included in the product in reverse order. Obtain the basic discount rate and additional discount rate for naked positions, the basic discount rate and additional discount rate for cross-product hedging, the basic discount rate and additional discount rate for intra-product hedging, and the basic discount rate and additional discount rate for intra-contract hedging for each open contract. Record the risk type, required base margin, required additional margin, base discount rate, additional discount rate, and hedging relationship for each of the stated open contracts.

4. The method according to claim 2, characterized in that, The step of calculating the theoretical margin release for the current open position based on the required basic margin, required additional margin, basic discount rate, and additional discount rate includes: Calculate the product of the required basic margin and the basic discount rate to obtain the basic release margin of the current open position contract; Calculate the product of the required additional margin and the additional discount rate to obtain the additional release margin for the current open position contract; The theoretical release margin for the current open position contract is obtained by calculating the sum of the basic release margin and the additional release margin.

5. The method according to claim 1, characterized in that, The method further includes: If the margin required by the first group is less than the total margin gap, then all open contracts included in the first group will be closed out in a simulated operation, and the difference between the total margin gap and the margin required by the first group will be calculated to obtain the updated total margin gap. The margin required by the next group in the required margin sequence of the group is compared with the updated total margin gap, and a total liquidation simulation operation or a partial liquidation simulation operation is performed according to the comparison result until the total margin gap is eliminated.

6. The method according to claim 1, characterized in that, Obtain the total required margin for the target users and the required margin for each group of products, including: Load all open contracts of the target user, and divide all open contracts into multiple hedging product groups according to the preset product grouping rules; For each group of insured products, the required margin for the current group of insured products is calculated based on the preset portfolio margin model. Calculate the total required deposit for each group to obtain the total required deposit for the target users.

7. The method according to claim 1, characterized in that, Before generating the forced liquidation policy for the target user, the method further includes: Based on the results of the current round of position liquidation simulation operation, update the target user's account equity funds, total required margin, and the required margin for each group of guaranteed products, and reassess whether there is still a total margin shortfall based on the updated account equity funds and total required margin. If it exists, the results of the current round of liquidation simulation operation are retained, and the total margin gap is recalculated based on the updated account equity funds, total required margin, and the required margin of each group of guaranteed products. The next round of liquidation simulation operation is then carried out until the total margin gap is eliminated, and a forced liquidation strategy is generated based on the results of all rounds of liquidation simulation operation.

8. A device for generating a forced liquidation strategy adapted to combined margin requirements, characterized in that, include: The margin gap calculation module is used to obtain the target user's account equity funds, total required margin, and group required margin for each group of insurance products, calculate the difference between the account equity funds and the total required margin, and obtain the target user's total margin gap. The group required margin sorting module is used to sort the required margin of each group in descending order to obtain the group required margin sequence, and compare the first group required margin in the group required margin sequence with the total margin gap. The partial liquidation simulation module is used to perform partial liquidation simulation operations based on the risk type, required margin, discount rate, and hedging relationship of each open contract in the first-tier hedging product group corresponding to the required margin of the first-tier group if the required margin of the first-tier group is greater than or equal to the total margin gap. The margin is released with the minimum number of liquidation lots until the cumulative released margin meets the total margin gap. After global iteration verification is passed, a forced liquidation strategy for the target user is generated.

9. A storage medium storing at least one executable instruction, characterized in that, The executable instructions cause the processor to perform the operations corresponding to the liquidation strategy generation method for the adaptive combination margin as described in any one of claims 1-7.

10. A terminal, comprising: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction, characterized in that the executable instruction causes the processor to perform the operation corresponding to the method for generating the liquidation strategy of the adaptive combination margin as described in any one of claims 1-7.