Clearing method and system based on interval quotation and computer program product
By adopting interval quotation methods in the concentrated bidding of power, selecting the sub -interval and distribution of the clear quantity of the market entity, the problem of difficulty quotation and market risk of the market, and improving the competitiveness and price stability of the market.
Patent Information
- Application Number
- CN202311125685.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-07-25
- Filing Date
- 2023-09-01
- Publication Date
- 2025-01-28
AI Technical Summary
The existing centralized bidding for electricity prices leads to market risks when market entities are difficult to quote, and the declared price is significantly deviating from actual value, affecting the development of the market regulation mechanism and the full competition in the market.
Put forward a clearing method based on interval quotation. By selecting the sub -interval of the quotation interval of the purchaser and the seller, combined with the unclear volume of the purchaser and the seller, determine the clear quantity and out of the outlet Clear prices and allocate clear quantities through multiple methods to ensure that market entities can be sold in different quotation areas.
It has reduced the professional level requirements of market entities, improved the enthusiasm of market entities to participate in transactions, solved the problem of market risks under traditional quotation methods, promoted market price stability and value discovery, and suppressed market speculation and risks.
Smart Images

Figure CN119379379A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to a clearing method, and relates to a clearing method, system and computer program product based on interval quotation. Background Art
[0002] With the development of social economy, the trading modes of various commodities are becoming more and more diverse, and collective bidding trading is a common commodity trading mode. Electricity is also a commodity, and there is also a collective bidding mode in the trading mode of electricity. For example, the common "electricity centralized bidding" is a collective bidding mode. At present, the clearing rules of electricity centralized bidding in various places are not consistent.
[0003] For example, the trading rules of Guangdong Province, China stipulate that among all the price difference pairs traded, the arithmetic mean of the price difference declared by the last power purchaser (buyer, demander) and the power seller (seller, supplier) is the unified clearing price. For another example, the clearing rules of Anhui Province, China stipulate that for each declared electricity price, the transaction volume is determined according to the principle that at least one of the buyer's declarations not lower than the electricity price and the seller's declarations not higher than the electricity price are all completed, and the declared electricity price with the largest transaction volume is selected from all the declarations; if only one declared electricity price is selected, then this electricity price is the unified clearing price; if two or more declared electricity prices are selected, the average price of the highest seller's declared electricity price and the lowest buyer's declared electricity price is taken as the unified clearing price. According to the trading rules of Guangdong Province, as long as the power sales side's quotation is lower than the marginal transaction declared price difference of the supplier, the transaction can be completed, and as long as the power purchase side's quotation is higher than the marginal transaction declared price difference of the demander, the transaction can be completed. However, according to the trading rules of Anhui Province, the quotations of both parties must be rational enough to enter the clearing stage first. However, if the supplier who enters the clearing stage quotes too low, the transaction may not be completed. On the contrary, if the demander quotes too high, the transaction may not be completed. In other words, both the supply and demand sides must quote reasonably, but they must not overly lower or raise the quotations within a certain range. This requires market players (suppliers or demanders) to quote accurately, and places high demands on their quotation capabilities. If they are not careful, they may not be able to complete the transaction.
[0004] In actual operation, the market players' willingness to quote is flexible, and the expected quote is usually a range rather than a fixed price. This is mainly because the marginal cost (or profit) of market players is affected by a combination of factors (such as fluctuations in variable costs, changes in interest rates and exchange rates, etc.), which is difficult to measure accurately, and is also related to the actual clearing volume in the transaction (which cannot be accurately judged in advance). The existing single quotation model is likely to cause market players to have difficulty in quoting, and market players may suffer losses due to inaccurate quotations (such as failure to trade or small trading volume causing loss of interests), which affects the enthusiasm of market players to participate in transactions, is not conducive to the functioning of market regulation mechanisms, hinders full competition in the market, and affects the total trading volume of the market.
[0005] If market players are supported to make bids in the form of intervals in centralized power bidding, the above problems may be solved. However, if both the supply and demand sides make bids in the form of intervals, it involves the problem of clearing in different intervals, and multiple different clearing prices may appear. In fact, this non-uniform clearing price formation mechanism has already been put into practice. For example, the trading rules of Henan Province, China stipulate that: starting from the effective matching pair with the largest price difference, one pair at a time, match them one by one; according to the principle of equal sharing of the price difference, the transaction price of both parties is formed. This means that in a centralized competitive transaction, there are multiple sub-transactions at the same time, and the transaction price of each sub-transaction is different. In fact, different electricity prices are common, such as peak and valley electricity prices, tiered electricity prices, etc.
[0006] The Chinese patent with publication number CN108198006A discloses a centralized bidding and clearing method and system for electric energy market transactions, including: obtaining all interval quotation information participating in the bidding; dividing the interval quotation information into two categories according to the bidding subject, the first category of bidding subjects is the power purchase side, and the second category of bidding subjects is the power sales side; based on the two categories of interval quotation information, clearing is performed according to the preset clearing rules. Although this method realizes the transaction of interval quotations between buyers and sellers, there are some obvious problems. For example, it can be seen from the example given in Table 2 disclosed in the application that whether it is the power seller or the power buyer, if the lower limit of its quotation is relatively small, the corresponding upper limit is also relatively small; conversely, if the lower limit of its quotation is relatively large, the corresponding upper limit is also relatively large. Only in this case can a meaningful result be calculated. However, in reality, it is difficult for the quotation of market entities to appear in this situation, and the calculation result of this method will lose practical significance. For example, suppose that the electricity seller has insufficient electricity for sale (e.g., delete electricity seller 1 and electricity seller 5 in Table 2), and change the upper and lower limits of the bid of electricity buyer 3 to 439 and 437 respectively. The average bid of electricity buyer 3 is 438, and the lower limit is 437, both of which are higher than the average 430 and the lower limit 420 of electricity buyer 1. However, in the end, electricity buyer 1 can purchase electricity from electricity seller 3 and electricity seller 2 at prices of 410 and 420 respectively. The lowest bid of electricity buyer 3 is 437, but it cannot buy electricity at prices of only 410 and 420, and it cannot have any impact on the transaction of electricity buyer 1. Such a result is unfair to electricity seller 3 and electricity seller 2, and obviously loses the practical significance of interval quotation. In addition, the interval quotation method will definitely have the situation where multiple buyer and seller quotation intervals overlap. In these overlapping intervals, the relevant buyers and sellers should be allowed to have the same trading rights. However, the application lacks a corresponding solution and can only force buyers and sellers to sort and match them through a single buyer and a single seller. This method of artificially setting transaction priorities loses the meaning of range quotations. Summary of the invention
[0007] The present invention proposes a clearing method, system and computer program product based on interval bidding, in order to solve the quotation difficulties of market entities caused by the existing one-price quotation method of centralized power bidding, alleviate the market risks caused by the obvious deviation of the declared price from the actual value, better play the market regulation mechanism, promote market transactions, and prevent individual market entities from having a bidding advantage due to information asymmetry.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions:
[0009] In a first aspect, the present invention proposes a clearing method based on interval quotation, comprising the following steps:
[0010] S1, select a sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS, respectively, to form a to-be-cleared purchase interval and a to-be-cleared sales interval;
[0011] The buyer's quotation interval set PB and the seller's quotation interval set PS are obtained in the following way:
[0012] After sorting the upper and lower limits of all buyer quotation intervals, a buyer quotation interval set PB consisting of sequentially adjacent upper or lower limits is obtained; after sorting the upper and lower limits of all seller quotation intervals, a seller quotation interval set PS consisting of sequentially adjacent upper or lower limits is obtained;
[0013] Alternatively, after sorting the upper and lower limits of all buyer quotation intervals and all seller quotation intervals, a buyer quotation interval set PB and a seller quotation interval set PS consisting of sequentially adjacent upper and lower limits are obtained;
[0014] S2, Clearance
[0015] S2.1, determine the buyer corresponding to the purchase interval to be cleared, the buyer has not been cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval;
[0016] Determine the seller corresponding to the sales interval to be cleared, the seller has not been cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval;
[0017] S2.2, combining the outstanding quantity of each buyer and the outstanding quantity of each seller, determining the corresponding cleared quantity of each buyer and each seller;
[0018] and determine the clearing prices corresponding to the current pending purchase range and pending sales range;
[0019] S3, determine whether there are any sub-intervals that can be traded but have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS. If so, return to step S1, otherwise, complete the clearing.
[0020] Furthermore, between step S2.2 and step S3, the following steps are also included:
[0021] Delete the lower limit value and / or upper limit value of the quotation interval that is only related to the cleared buyers from the upper limit values and lower limit values of all buyers' quotation intervals, and / or delete the lower limit value and / or upper limit value of the quotation interval that is only related to the cleared sellers from the upper limit values and lower limit values of all sellers' quotation intervals; update the buyer's quotation interval set PB and / or the seller's quotation interval set PS.
[0022] Furthermore, step S1 is specifically as follows:
[0023] Method 1: Select the sub-interval with the highest price from the sub-intervals that have not been cleared in the buyer's quotation interval set PB, and select the sub-interval with the lowest price from the sub-intervals that have not been cleared in the seller's quotation interval set PS;
[0024] Method 2: Select the sub-interval with the largest transaction volume that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS respectively;
[0025] Method 3:
[0026] Before step S1, the method further includes: simulating clearing;
[0027] S0-1, select the sub-interval with the highest price from the sub-intervals that have not been simulated and cleared in the buyer's quotation interval set PB, and select the sub-interval with the lowest price from the sub-intervals that have not been simulated and cleared in the seller's quotation interval set PS, and form the purchase interval to be simulated and cleared and the sales interval to be simulated and cleared accordingly;
[0028] S0-2, determine the buyer corresponding to the purchase interval to be simulated and cleared, the buyer has not been simulated and the quotation interval overlaps with the purchase interval to be simulated and cleared to form a non-degenerate interval; determine the seller corresponding to the sales interval to be simulated and cleared, the seller has not been simulated and the quotation interval overlaps with the sales interval to be simulated and cleared to form a non-degenerate interval;
[0029] S0-3, combining the simulated unsold quantity of each buyer and the simulated unsold quantity of each seller, determining the corresponding simulated cleared quantity of each buyer and each seller;
[0030] and determining the simulated clearing prices corresponding to the current pending simulated clearing purchase interval and the pending simulated clearing sales interval;
[0031] S0-4, determine whether there are any sub-intervals that are tradeable and have not been simulated and cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS. If so, return to step S0-1; otherwise, complete the simulated clearing and obtain the marginal clearing price;
[0032] Step S1 is specifically as follows: from the buyer's quotation interval set PB, select a sub-interval that is not yet cleared and contains or is greater than the marginal clearing price and is closest to the marginal clearing price;
[0033] From the seller's quotation interval set PS, select the uncleared sub-interval that contains or is less than the marginal clearing price and is closest to the marginal clearing price.
[0034] Furthermore, step S2-1-2 is included between step S2.1 and step S2.2:
[0035] Determine whether pbu≥psd is satisfied. If so, execute step S2.2; otherwise, execute step S3; wherein pbu is the upper limit of the purchase range to be cleared, and psd is the lower limit of the sales range to be cleared;
[0036] In step S2.2, the clearing price clearPrice satisfies the following conditions:
[0037] pbu≥clearPrice≥psd;
[0038] In step S2.2, the clearing price clearPrice is determined by the following method:
[0039] clearPrice=((psu+psd) / 2+(pbu+pbd) / 2) / 2;
[0040] Among them, psu is the upper limit of the sales range to be cleared, and pbd is the lower limit of the purchase range to be cleared;
[0041] Alternatively, clearPrice is equal to the weighted average of (pbu+pbd) / 2 and (psu+psd) / 2;
[0042] Or, clearPrice = (psu + pbd) / 2;
[0043] Alternatively, clearPrice is equal to the weighted average of pbd and psu;
[0044] Alternatively, clearPrice is calculated according to preset rules.
[0045] Furthermore, between step S2.2 and step S3, the following steps are also included:
[0046] If clearPrice < psd, then set clearPrice = psd;
[0047] If clearPrice > pbu, then set clearPrice = pbu;
[0048] Or,
[0049] Between step S2.1 and step S2.2, it also includes:
[0050] If pbd < psd, then set pbd = psd;
[0051] If psu > pbu, then set psu = pbu;
[0052] Or,
[0053] Between step S2.1 and step S2.2, it also includes:
[0054] If psu > pbu, then set psu = pbu;
[0055] If pbu > psu, then set pbu = psu;
[0056] If psd < pbd, then set psd = pbd;
[0057] If pbd < psd, then set pbd = psd;
[0058] Further, in step S2.2, the specific method for determining the corresponding clearance quantities of each buyer and each seller is as follows:
[0059] Calculate the interval clearance quantity clearance corresponding to the to-be-cleared purchase interval and the to-be-cleared sales interval; where clearance is the smaller value of qtyB and qtyS, qtyB is the sum of the uncleared quantities corresponding to each buyer, and qtyS is the sum of the uncleared quantities corresponding to each seller;
[0060] Determine the corresponding clearance quantities of each buyer or each seller in the following manner:
[0061] According to the uncleared quantities corresponding to each buyer or each seller, allocate the clearance quantity clearance proportionally among each buyer or each seller;
[0062] Or, evenly allocate the clearance quantity clearance among each buyer or each seller;
[0063] Or, allocate the clearance quantity clearance among each buyer or each seller according to a preset priority;
[0064] Alternatively, the clearance amount is allocated among the buyers or sellers according to preset rules.
[0065] Further, the number of buyers and sellers determined in step S2.1 is greater than or equal to 1;
[0066] In step S2.2, if the calculated result of the cleared quantity of a buyer or seller is greater than the corresponding uncleared quantity, the excess amount will be redistributed among other buyers or other sellers.
[0067] Furthermore, the difference between the upper limit value and the lower limit value of all buyer quotation intervals and / or all seller quotation intervals meets the preset requirements.
[0068] In a second aspect, the present invention proposes a clearing system based on interval quotations, comprising a selection module and a clearing module;
[0069] The selection module is used to select a sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS, respectively, to form a to-be-cleared purchase interval and a to-be-cleared sales interval;
[0070] The buyer's quotation interval set PB and the seller's quotation interval set PS are obtained in the following way:
[0071] After sorting the upper and lower limits of all buyer quotation intervals, a buyer quotation interval set PB consisting of sequentially adjacent upper or lower limits is obtained; after sorting the upper and lower limits of all seller quotation intervals, a seller quotation interval set PS consisting of sequentially adjacent upper or lower limits is obtained;
[0072] Alternatively, after sorting the upper and lower limits of all buyer quotation intervals and all seller quotation intervals, a buyer quotation interval set PB and a seller quotation interval set PS consisting of sequentially adjacent upper and lower limits are obtained;
[0073] The clearing module is used to determine the buyer corresponding to the purchase interval to be cleared, the buyer has not been cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval; determine the seller corresponding to the sales interval to be cleared, the seller has not been cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval; combine the uncleared quantity of each buyer and the uncleared quantity of each seller to determine the corresponding cleared quantity of each buyer and each seller, and determine the clearing price of the current purchase interval to be cleared and the sales interval to be cleared; judge whether there are any sub-intervals that can be traded and have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS, if so, re-select the next sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS through the selection module, otherwise, complete the clearing.
[0074] In a third aspect, the present invention provides a computer program product, wherein the computer program product comprises instructions, and the instructions implement the above method when executed by a processor.
[0075] Compared with the prior art, the present invention has the following beneficial effects:
[0076] 1. The present invention proposes a clearing method based on interval quotation. Buyers and sellers (market entities) can submit bids in accordance with the interval quotation method. The upper and lower limits of all buyer and / or seller quotation intervals are sorted and reconstructed to form multiple new buying and selling quotation intervals (equivalent to forming multiple new virtual buyers and virtual sellers). These new buying and selling quotation intervals are matched and cleared one by one to obtain the clearing price and clearing volume of the corresponding buyers and sellers. The clearing method provided by the present invention has low requirements on the quotation professional level of market entities, solves the quotation dilemma of market entities, and can improve the enthusiasm of market entities to participate in transactions.
[0077] 2. The present invention proposes a clearing method based on interval quotations, in which both buyers and sellers can trade in different quotation intervals, and each market entity may have multiple different transaction prices and corresponding transaction volumes. This trading mechanism solves the market risk that may be caused by the traditional one-price quotation method when a market entity declares a large volume and the declared price is obviously deviated from the actual value. It can more accurately reflect the supply and demand situation of the market in different price ranges, can better play the market's regulatory mechanism, is conducive to market price stability and value discovery, suppresses market speculation, reduces market risks, and promotes market transactions.
[0078] 3. The clearing method based on interval quotation proposed by the present invention is more fair. Market players are no longer subject to various market factors and the quotation strategies of other market players when quoting, which prevents the advantages of individual market players due to information asymmetry and solves the injustice caused by the advantages of individual market members in obtaining information in the existing trading mechanism.
[0079] 4. There are multiple methods for forming the quotation interval in the present invention, and it can also be dynamically adjusted during the clearing process as needed so that each quotation interval is only related to relevant parties, and is compatible with various existing clearing modes, so that it is easy to select and combine according to actual needs, and is flexible to use and highly practical.
[0080] 5. The present invention can set a threshold for the difference between the upper and lower limits of the reporting range for market entities. Market entities can flexibly report the upper and lower limits within the threshold range and balance between benefits and risks according to their own expectations. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0082] Figure 1 This is a schematic diagram of a process of Embodiment 1 of the present invention;
[0083] Figure 2 Schematic diagram of buyer information and seller information in an embodiment of the present invention. DETAILED DESCRIPTION
[0084] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The embodiments of the present invention described and shown in the drawings here can be arranged in various combinations.
[0085] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0086] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0087] The technical solution of the present invention will be described in detail below in conjunction with multiple embodiments.
[0088] Embodiment 1
[0089] like Figure 1 As shown, Embodiment 1 is the first basic embodiment of a clearing method based on interval quotation of the present invention, and the specific steps are as follows:
[0090] S101, select a sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS respectively, to form a to-be-cleared purchase interval and a to-be-cleared sales interval.
[0091] The buyer's quotation interval set PB and the seller's quotation interval set PS are obtained in the following way:
[0092] After sorting the upper and lower limits of all buyer quotation intervals, a buyer quotation interval set PB consisting of sequentially adjacent upper or lower limits is obtained. Here, "sequentially adjacent upper or lower limits" refers to sequentially adjacent values consisting of "the upper and lower limits of all buyer quotation intervals", and the subsequent related descriptions are similar; after sorting the upper and lower limits of all seller quotation intervals, a seller quotation interval set PS consisting of sequentially adjacent upper or lower limits is obtained. For the convenience of subsequent description, the method of obtaining the buyer quotation interval set PB and the seller quotation interval set PS in Example 1 is referred to as "discrete quotation interval set formation method".
[0093] S102, determining a buyer corresponding to the purchase interval to be cleared, the buyer has not been cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval;
[0094] Determine the seller corresponding to the sales interval to be cleared, the seller has not been cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval.
[0095] There can be multiple buyers corresponding to the purchase interval to be cleared, as long as the condition is not cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval; there can also be multiple sellers corresponding to the sales interval to be cleared, as long as the condition is not cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval. A degenerate interval is an interval of the form [x,x] = {x}, and a non-degenerate interval is an interval that is not empty and is not a degenerate interval.
[0096] S103, combining the outstanding quantity of each buyer and the outstanding quantity of each seller, determining the corresponding cleared quantity of each buyer and each seller;
[0097] And determine the clearing prices corresponding to the current purchase range to be cleared and the sales range to be cleared.
[0098] There is no order limit for calculating the clearing quantity and the clearing price. In addition, the specific method for determining the clearing quantity and the clearing price can be adjusted according to the actual clearing requirements, or can be determined according to the current clearing requirements. In the subsequent embodiments, some examples will be given for illustration.
[0099] S104, determine whether there are any sub-intervals that can be traded but have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS. If so, return to step S101, otherwise, complete the clearing.
[0100] When judging whether there are still sub-intervals that can be traded but have not been cleared, if the buyer or seller has completely cleared, it is considered that there are no sub-intervals that can be traded but have not been cleared. If both the buyer and the seller have not completely cleared, it is judged whether there are sub-intervals that have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS that satisfy pbu≥psd. If so, it is considered that there are still sub-intervals that can be traded but have not been cleared.
[0101] Embodiment 2
[0102] Embodiment 2 is a second basic embodiment of a clearing method based on interval quotation of the present invention. Compared with the first basic embodiment, the difference is that:
[0103] (1) In step S101, the buyer's quotation interval set PB and the seller's quotation interval set PS are obtained by the following method:
[0104] After sorting the upper and lower limits of all buyer quotation intervals and all seller quotation intervals, a buyer quotation interval set PB and a seller quotation interval set PS consisting of adjacent upper and lower limits are obtained. For the convenience of subsequent explanation, this method of obtaining the buyer quotation interval set PB and the seller quotation interval set PS is referred to as the "merged quotation interval set formation method".
[0105] (2) The number of buyers and sellers determined in step S102 should be greater than or equal to 1.
[0106] The following will describe various preferred embodiments of the present invention based on examples:
[0107] Assume that the traded commodity is electricity. Table 1 and Table 2 are the declaration information of the buyer and seller respectively. Among them, the basic unit of the declared electricity quantity (the declared quantity in Table 1 and Table 2) is 1000 kWh (1 MW), and the declared price (the upper limit and lower limit of the interval in Table 1 and Table 2) is also based on 1000 kWh (in yuan). For example, when the declared quantity value is 200, the corresponding electricity quantity is 200*1000 kWh=200,000 kWh. For another example, when the declared price is 350, the price per kWh is 350 yuan / 1000 kWh=0.35 yuan / kWh.
[0108] Table 1 Purchaser's declaration information form
[0109] Buyer <![CDATA[Lower limit value of the interval bmin m > <![CDATA[Upper limit value bmax of the interval m > <![CDATA[Declared quantity bqty m > <![CDATA[b1]]> 310 340 150 <![CDATA[b2]]> 300 360 200 <![CDATA[b3]]> 320 360 160 <![CDATA[b4]]> 330 380 120
[0110] Table 2 Seller declaration information form
[0111] Seller <![CDATA[Lower limit value smin of the interval p > <![CDATA[Upper limit value of the interval smax p > <![CDATA[Declared quantity sqty p > <![CDATA[s1]]> 330 370 280 <![CDATA[s2]]> 320 390 160 <![CDATA[s3]]> 310 360 220
[0112] The buyer information and seller information in Tables 1 and 2 are also available Figure 2 Intuitive representation.
[0113] How to obtain PB and PS:
[0114] In one embodiment of the present invention, based on the "discrete quotation interval set formation method", the upper and lower limits of all buyer quotation intervals in Table 1 are: {310, 340, 300, 360, 320, 330, 380}. These values are sorted, for example, the result after descending sorting is: {380, 360, 340, 330, 320, 310, 300}. After sorting, a buyer quotation interval set PB consisting of adjacent upper or lower limits is obtained. In the above sorting results, 380 and 360 are adjacent in sequence, 360 and 340 are adjacent in sequence, 340 and 330 are adjacent in sequence, 330 and 320 are adjacent in sequence, 320 and 310 are adjacent in sequence, and 310 and 300 are adjacent in sequence. Therefore, the buyer's quotation interval set PB is: {[380,360], [360,340], [340,330], [330,320], [320,310], [310,300]}, which contains 6 sub-intervals.
[0115] The upper and lower limits of all buyer quotation ranges above have duplicate values (such as 360) removed before sorting. Unless otherwise specified, all subsequent examples will remove duplicate values by default.
[0116] Similarly, the upper and lower limits of all seller quotation intervals in Table 2 are: {330, 370, 320, 390, 310, 360}. These values are sorted, for example, in ascending order, and the result is: {310, 320, 330, 360, 370, 390}. After sorting, a seller quotation interval set PS consisting of adjacent upper or lower limits is obtained. The above seller quotation interval set PS is: {[310, 320], [320, 330], [330, 360], [360, 370], [370, 390]}, which contains 5 sub-intervals.
[0117] In another embodiment of the present invention, based on the "combined quotation interval set formation method", still based on the information shown in Tables 1 and 2, the upper and lower limits of all buyer quotation intervals and all seller quotation intervals are: {310, 340, 300, 360, 320, 330, 380, 370, 390}.
[0118] After sorting in descending order, we get a set of buyer quotation intervals PB consisting of adjacent upper and lower limits: {[380,370], [370,360], [360,340], [340,330], [330,320], [320,310], [310,300]}. The subinterval [390,380] is not included in PB because the number of buyers corresponding to the subinterval does not meet the condition of being greater than or equal to 1.
[0119] After sorting in ascending order, we get a set of seller quotation intervals PS consisting of adjacent upper and lower limits: {[310,320], [320,330], [330,340], [340,360], [360,370], [370,380], [380,390]}. PS does not include the subinterval [300,310] because the number of sellers corresponding to the subinterval does not meet the condition of being greater than or equal to 1.
[0120] For simplicity, all examples in the present invention assume that the quotation intervals of all buyers and sellers are closed intervals, so the sub-intervals in the buyer quotation interval set PB and the seller quotation interval set PS are also closed intervals. If the quotation interval of a buyer or seller is an open interval or a semi-open and semi-closed interval, the sub-interval containing the corresponding value can also be set to the same type of interval.
[0121] Select a sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS respectively, to form a to-be-cleared purchase interval and a to-be-cleared sales interval. There are many ways to select the sub-interval that has not been cleared.
[0122] Embodiment 3
[0123] Embodiment 3 As a preferred embodiment of the present invention, the following method can be used to select the sub-interval that has not been cleared:
[0124] The sub-interval with the highest price is selected from the sub-intervals that have not been cleared in the buyer's quotation interval set PB, and the sub-interval with the lowest price is selected from the sub-intervals that have not been cleared in the seller's quotation interval set PS. For the sake of convenience, the method of selecting the sub-interval that has not been cleared is referred to as "selection method 1".
[0125] Based on the "discrete quotation interval set formation method", according to "selection method 1", the sub-interval that has not been cleared and has the highest price in the buyer's quotation interval set PB is [380,360], and the sub-interval that has not been cleared and has the lowest price in the seller's quotation interval set PS is [310,320]. Therefore, the purchase interval to be cleared and the sales interval to be cleared are [380,360] and [310,320] respectively.
[0126] In this example, the buyer corresponding to the purchase interval [380,360] to be cleared is b4. Only this buyer has not cleared, and its quotation interval [380,330] and the purchase interval [380,360] to be cleared have an overlap that can form a non-degenerate interval (the overlapping part [380,360] is a non-degenerate interval); the seller corresponding to the sales interval [310,320] to be cleared is s3. Only this seller has not cleared, and its quotation interval [310,360] and the sales interval [310,320] to be cleared have an overlap that can form a non-degenerate interval (the overlapping part [310,320] is a non-degenerate interval).
[0127] As a preferred embodiment of the present invention, before determining the corresponding clearing quantity of each buyer and each seller, and determining the clearing price corresponding to the current purchase interval to be cleared and the sales interval to be cleared, it can be determined whether the condition pbu≥psd is satisfied. If so, continue to determine the clearing quantity and clearing price. Otherwise, determine whether there are any sub-intervals that have not been cleared and can be traded in the buyer's quotation interval set PB and the seller's quotation interval set PS, and prepare for the next round of clearing. Among them, pbu is the upper limit value of the purchase interval to be cleared, and psd is the lower limit value of the sales interval to be cleared. Based on the above example, pbu is 380 and psd is 310, which meets the condition pbu≥psd, and step S103 can be executed.
[0128] Combine the outstanding amount of each buyer and the outstanding amount of each seller to determine the corresponding cleared amount of each buyer and each seller. Here, each buyer is a buyer corresponding to the purchase interval to be cleared, and each seller is a seller corresponding to the sales interval to be cleared. Therefore, in this embodiment, the outstanding amount of each buyer is 120 of the outstanding amount of b4, and the outstanding amount of each seller is 220 of the outstanding amount of s3.
[0129] The interval clearing amount corresponding to the purchase interval to be cleared and the sales interval to be cleared can be calculated first.
[0130] As a preferred embodiment of the present invention, clearance is the smaller value of qtyB and qtyS. Wherein, qtyB is the sum of the unsold quantities corresponding to each buyer, and qtyS is the sum of the unsold quantities corresponding to each seller. Based on the above example, qtyB=120, qtyS=220, therefore, clearance=120. At this time, the purchase interval [380,360] to be cleared has been cleared, and the sales interval [310,320] to be cleared has not been cleared, and the corresponding unsold quantity is qtyS-qtyB=100. That is, the sub-interval [380,360] in the buyer's quotation interval set PB has been cleared, and the sub-interval [310,320] in the seller's quotation interval set PS has not been cleared.
[0131] The corresponding clearing amount of each buyer or seller can be allocated in the following way:
[0132] Allocate the clearance amount among the buyers or sellers in proportion to the outstanding amount of each buyer or seller.
[0133] Alternatively, the clearance amount may be evenly distributed among the buyers or sellers;
[0134] Alternatively, the clearance amount is allocated among the buyers or sellers according to a preset priority;
[0135] Alternatively, the clearance amount is allocated among the buyers or sellers according to preset rules.
[0136] The specific method of allocation can be determined based on actual conditions.
[0137] In some embodiments of the present invention, if the calculated result of the cleared quantity of a buyer or seller is greater than the corresponding uncleared quantity, the excess amount will be redistributed among other buyers or other sellers.
[0138] In this example, the clearance amount is evenly distributed among each buyer or seller. Since there is only one buyer and one seller, the clearance amounts corresponding to b4 and s3 are both 120. Among them, b4 has been completely cleared, and the remaining uncleared amount of s3 is 220-120=100.
[0139] As a preferred embodiment of the present invention, when determining the clearing price clearPrice corresponding to the current purchase interval to be cleared and the sales interval to be cleared, the condition should generally be satisfied: pbu≥clearPrice≥psd.
[0140] When determining the clearPrice, the rules can be determined according to the actual situation. The following are some preferred determination methods:
[0141] clearPrice=((psu+psd) / 2+(pbu+pbd) / 2) / 2;
[0142] Among them, psu is the upper limit of the sales range to be cleared, and pbd is the lower limit of the purchase range to be cleared;
[0143] Alternatively, clearPrice is equal to the weighted average of (pbu+pbd) / 2 and (psu+psd) / 2;
[0144] Or, clearPrice = (psu + pbd) / 2;
[0145] Alternatively, clearPrice is equal to the weighted average of pbd and psu;
[0146] Alternatively, when the pending-clearance purchase interval and the pending-clearance sale interval overlap to form a non-degenerate interval, clearPrice is equal to the middle value of the overlapping part;
[0147] Alternatively, clearPrice is calculated according to preset rules.
[0148] In one embodiment of the present invention, clearPrice is calculated using ((psu+psd) / 2+(pbu+pbd) / 2) / 2, that is:
[0149] clearPrice=((psu+psd) / 2+(pbu+pbd) / 2) / 2=((320+310) / 2+(380+360) / 2) / 2=342.5.
[0150] In the above example, both the buyer and the seller have not fully cleared their orders, and there are sub-intervals that can be traded but have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS. There are sub-intervals that have not been cleared that satisfy pbu≥psd, such as the sub-interval [360,330] in PB and the sub-interval [310,320] in PS, which satisfy pbu≥psd, and return to step S101.
[0151] And so on, complete the clearing of each purchase interval to be cleared and the sales interval to be cleared one by one. The clearing process is shown in Table 3 below.
[0152] Table 3 Schematic diagram of the clearing process of Example 3
[0153]
[0154] In the above clearing process, the interval clearing volume in the fourth round is 100. After the clearing volume is evenly distributed among the buyers, the calculated clearing volume of b2 and b3 is 50. The calculated clearing volume of b3 is greater than its corresponding uncleared volume of 30. The extra 20 is redistributed among other buyers, that is, the extra 20 is allocated to b2. In the end, the corresponding clearing volume of b2 is 70, and the corresponding clearing volume of b3 is 30.
[0155] After the fifth round, since all buyers have cleared out, there are no more sub-intervals that can be traded and have not been cleared out, so the clearing is completed. The final clearing results are shown in Table 4:
[0156] Table 4: Clearance results of Example 3
[0157]
[0158]
[0159] Embodiment 4
[0160] In Example 3, in the 4th round, sellers s3 and s2 have all been cleared, leaving only s1. The declared range of seller s1 is [330,370], but due to the influence of s3's declared upper limit of 360, the sales range to be cleared in the 4th round is [330,360], which has an adverse impact on the clearing price expectation of seller s1. Similarly, in the 5th round, buyers b4, b3 and b2 have all been cleared, leaving only b1. The declared range of buyer b1 is [310,340], but due to the influence of b4's declared lower limit of 330, the purchase range to be cleared in the 5th round is [330,340], which has an adverse impact on the clearing price expectation of buyer b1. In order to eliminate this adverse effect, after determining the clearing quantity and clearing price, the lower limit and / or upper limit of the quotation interval related only to the cleared buyers can be deleted from the upper and lower limits of all buyers' quotation intervals, and / or the lower limit and / or upper limit of the quotation interval related only to the cleared sellers can be deleted from the upper and lower limits of all sellers' quotation intervals, and the buyer's quotation interval set PB and / or the seller's quotation interval set PS can be updated. For ease of explanation, this preferred solution is referred to as the "update set method". After the deletion operation is performed, new PB and PS need to be regenerated for the next round of clearing. The specific clearing process is shown in Table 5 below:
[0161] Table 5 Schematic diagram of the clearing process of Example 4
[0162]
[0163] In the clearing process of Table 5, after the first round of b4 is cleared, the lower limit value 330 and the upper limit value 380 of the quotation interval related only to b4 are deleted, and the upper and lower limits of the remaining buyer's quotation intervals are removed of duplicate values and sorted in descending order. The result is: {360,340,320,310,300}, and the corresponding buyer's quotation interval set PB is: {[360,340],[340,320],[320,310],[310,300]}.
[0164] After the second round of s3 is cleared, the lower limit value 310 and the upper limit value 360 of the quotation interval related only to s3 are deleted. The upper and lower limits of the remaining seller quotation intervals are removed of duplicate values and sorted in ascending order. The result is: {320,330,370,390}. The corresponding seller quotation interval set PS is: {[320,330],[330,370],[370,390]}.
[0165] After the third round of s2 is cleared, the lower limit value 320 and the upper limit value 390 of the quotation interval related only to s2 are deleted. The upper and lower limits of the remaining seller quotation intervals are removed of duplicate values and sorted in ascending order. The result is: {330,370}. The corresponding seller quotation interval set PS is: {[330,370]}.
[0166] After the fourth round of b2 and b3 are cleared, the lower limit values 300, 320 and the upper limit value 360 of the quotation range related only to b2 and b3 are deleted. The upper and lower limit values of the remaining buyer's quotation range are removed of duplicate values and sorted in descending order. The result is: {340,310}, and the corresponding buyer's quotation range set PB is: {[310,340]}.
[0167] After each round of clearing, PB and / or PS are updated. Table 6 shows the clearing results of the above “update set method”:
[0168] Table 6 Clearance results of Example 4
[0169]
[0170] The calculation method of the clearing price in Table 5 is clearPrice = ((psu + psd) / 2 + (pbu + pbd) / 2) / 2. The calculation method of the clearing volume corresponding to the interval is based on the principle of "all transactions are completed by one party", and the calculation method of the individual clearing volume (that is, the clearing volume of each corresponding buyer and seller) is based on the principle of "average distribution".
[0171] Embodiment 5
[0172] In the fifth embodiment, based on the “discrete quotation interval set formation method”, the following method is used to select the sub-intervals that have not been cleared:
[0173] Select the sub-interval that has not been cleared and has the largest transaction volume from the buyer's quotation interval set PB and the seller's quotation interval set PS respectively. For the sake of convenience, the method of selecting the sub-interval that has not been cleared is referred to as "selection method 2".
[0174] Specifically, still based on the information in Table 1 and Table 2, the sub-intervals with the largest transaction volume that have not been cleared are the sub-interval [340,330] of PB and the sub-interval [330,360] of PS. Among them, the sum of the unsold amount of the buyer corresponding to the sub-interval [340,330] of PB is the sum of the unsold amount of b1, b2, b3 and b4, that is, 150+200+160+120=630; the sum of the unsold amount of the seller corresponding to the sub-interval [330,360] of PS is the sum of the unsold amount of s1, s2 and s3, that is, 280+160+220=660.
[0175] Therefore, based on "Selection Method 2", the purchase range to be cleared and the sales range to be cleared are [340,330] and [330,360] respectively.
[0176] The buyers corresponding to the purchase interval to be cleared are determined to be b1, b2, b3 and b4, and the sellers corresponding to the sales interval to be cleared are determined to be s1, s2 and s3.
[0177] The interval clearing amount is 630, the clearing amounts of b1, b2, b3 and b4 are 150, 200, 160 and 120 respectively, and the clearing amounts of s1, s2 and s3 are 250, 160 and 220 respectively;
[0178] Clearing price clearPrice = ((psu+psd) / 2+(pbu+pbd) / 2) / 2 = ((360+330) / 2+(340+330) / 2) / 2 = 340.
[0179] Since the buyer has cleared all of his positions, there are no more sub-intervals that can be traded and have not been cleared, so the clearing is completed. The specific clearing process is shown in Table 7 below:
[0180] Table 7 Schematic diagram of the clearing process based on “Selection Method 2”
[0181]
[0182] Embodiment 6
[0183] In the sixth embodiment, the following method is used to select the sub-interval that has not been cleared:
[0184] Before selecting a sub-interval that has not yet been cleared, perform a simulated clearing by following the steps below:
[0185] S001, select a sub-interval with the highest price from the sub-intervals of the buyer's quotation interval set PB that have not been simulated and cleared, and select a sub-interval with the lowest price from the sub-intervals of the seller's quotation interval set PS that have not been simulated and cleared, and form a purchase interval to be simulated and cleared and a sales interval to be simulated and cleared accordingly;
[0186] S002, determining a buyer corresponding to the purchase interval to be simulated and cleared, the buyer has not simulated and cleared and the quotation interval overlaps with the purchase interval to be simulated and cleared to form a non-degenerate interval; determining a seller corresponding to the sales interval to be simulated and cleared, the seller has not simulated and cleared and the quotation interval overlaps with the sales interval to be simulated and cleared to form a non-degenerate interval;
[0187] S003, combining the simulated unsold quantity of each buyer and the simulated unsold quantity of each seller, determining the corresponding simulated cleared quantity of each buyer and each seller;
[0188] and determining the simulated clearing prices corresponding to the current pending simulated clearing purchase interval and the pending simulated clearing sales interval;
[0189] S004, determine whether there are any tradable sub-intervals that have not been simulated and cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS. If so, return to step S001; otherwise, complete the simulated clearing and obtain the marginal clearing price.
[0190] Then select the sub-interval that has not been cleared:
[0191] From the buyer's quotation interval set PB, select the sub-interval that contains or is greater than the marginal clearing price and is closest to the marginal clearing price and has not yet been cleared;
[0192] From the seller's quotation interval set PS, select the uncleared sub-interval that contains or is less than the marginal clearing price and is closest to the marginal clearing price.
[0193] For the sake of convenience, the method of selecting the sub-interval that has not yet been cleared is referred to as "selection method three".
[0194] Specifically, based on the “combined quotation interval set formation method”, the buyer’s quotation interval set PB is: {[380,370],[370,360],[360,340],[340,330],[330,320],[320,310],[310,300]}, and the seller’s quotation interval set PS is: {[310,320],[320,330],[330,340],[340,360],[360,370],[370,380],[380,390]}.
[0195] First, simulate clearing is performed, and the process is shown in Table 8 below:
[0196] Table 8 Schematic diagram of the simulated liquidation process based on “Selection Method 3”
[0197]
[0198] The marginal clearing price obtained after the simulated clearing is the clearing price of the last round, which is 335.
[0199] In the above simulated clearing process, after the first round of simulated clearing, the purchase interval [380,370] to be cleared has been cleared, and the corresponding buyer b4 has also been cleared. Since the buyer corresponding to the next highest-priced sub-interval [370,360] in PB is only b4, and b4 has been cleared, in the second round of simulated clearing, the purchase interval to be cleared is the sub-interval [360,340] with the highest price.
[0200] Then, from the buyer's quotation interval set PB, select the sub-interval that contains or is greater than the marginal clearing price and is closest to the marginal clearing price and has not yet been cleared, that is, the purchase interval to be cleared is [340,330]; from the seller's quotation interval set PS, select the sub-interval that contains or is less than the marginal clearing price and is closest to the marginal clearing price and has not yet been cleared, that is, the sales interval to be cleared is [330,340].
[0201] The specific clearing process is shown in Table 9 below:
[0202] Table 9 Schematic diagram of the clearing process based on “Selection Method 3”
[0203]
[0204] It should be noted that the above preferred embodiments can also be combined in different ways according to actual conditions to meet actual needs. For example, the combination of "selection method three" and "discrete quotation interval set formation method" and the "update set method" in the simulated clearing process of "selection method three". If the "update set method" is used in the simulated clearing process, because PB and PS are changed in the simulated clearing process, it is necessary to reconstruct the buyer's quotation interval set PB and the seller's quotation interval set PS before the formal clearing.
[0205] Through various combinations, more preferred embodiments of the present invention can be formed. The specific process of clearing out is similar and will not be described in detail.
[0206] In actual calculations, the calculated result of the clearing price clearPrice may be greater than the upper limit of the purchase range to be cleared or less than the lower limit of the sales range to be cleared. Such a calculation result is meaningless and exceeds the transaction willingness of the buyer and seller.
[0207] For example: the purchase interval to be cleared is [340,320], and the sales interval to be cleared is [330,380]. According to the method of Example 1, clearPrice = ((psu+psd) / 2+(pbu+pbd) / 2) / 2 = ((380+330) / 2+(340+320) / 2) / 2 = 342.5. The clearing price clearPrice is 342.5, which exceeds the upper limit of 340 of the purchase interval to be cleared. Although the buyer and seller have a price consensus interval of [340,330], the transaction cannot be completed.
[0208] Similarly, the same problem may also exist when other methods for determining the clearing price clearPrice are used. To solve this problem, in some preferred embodiments of the present invention, the following processing may also be performed:
[0209] After determining the clearing quantity and clearing price:
[0210] If clearPrice < psd, then set clearPrice = psd;
[0211] If clearPrice > pbu, then set clearPrice = pbu;
[0212] Alternatively, before determining the clearing quantity and clearing price:
[0213] Before step S103, it also includes:
[0214] If pbd < psd, then set pbd = psd;
[0215] If psu > pbu, then set psu = pbu;
[0216] Alternatively, before determining the clearing quantity and clearing price:
[0217] If psu > pbu, then set psu = pbu;
[0218] If pbu > psu, then set pbu = psu;
[0219] If psd < pbd, then set psd = pbd;
[0220] If pbd < psd, then set pbd = psd.
[0221] Still taking the to-be-cleared purchase range [340, 320] and the to-be-cleared sales range [330, 380] as an example, the calculated result of the clearing price clearPrice is 342.5. Since clearPrice > pbu, then set clearPrice = pbu = 340. The final clearing price clearPrice is 340. Similarly, if clearPrice < psd, then clearPrice can be set to psd.
[0222] In addition to the above method of directly assigning a value to clearPrice, the following method can also be used:
[0223] Method A: If pbd < psd, then set pbd = psd; if psu > pbu, then set psu = pbu.
[0224] Or Method B:
[0225] If psu > pbu, then set psu = pbu; if pbu > psu, then set pbu = psu;
[0226] If psd < pbd, then set psd = pbd; if pbd < psd, then set pbd = psd.
[0227] Taking the to-be-cleared purchase range [360, 100] and the to-be-cleared sales range [330, 350] as an example, since pbd < psd, let pbd
[0228] = 330; since psu < pbu, psu remains unchanged. The final clearing price is: clearPrice = 342.5. The purpose of Method A is to eliminate the non-tradable parts in the to-be-cleared purchase range and the to-be-cleared sales range, that is, the part where the buyer's price is lower than the seller's lowest price, and the part where the seller's price is higher than the buyer's highest price.
[0229] The purpose of Method B is similar. Directly take the price consensus range of the buyer and the seller as the to-be-cleared purchase range and the to-be-cleared sales range. At this time, the calculation result of clearPrice will definitely fall within the consensus range. Taking the to-be-cleared purchase range [360, 100] and the to-be-cleared sales range [330, 350] as an example, the price consensus range is [330, 350], and the final clearing price is: clearPrice = 340.
[0230] Example Seven
[0231] If a buyer or a seller uses interval quotation, and the difference between the upper limit value and the lower limit value of its quotation interval is relatively large, it may be unfavorable to the efficiency and fairness of the market. Therefore, in Example Seven, the difference between the upper limit value and the lower limit value of all buyers' quotation intervals and / or all sellers' quotation intervals meets the preset requirements.
[0232] For example, when forming the to-be-cleared purchase range and the to-be-cleared sales range, "Selection Method One" is adopted. The quotation interval of buyer B1 is [350, 360], and the quotation interval of buyer B2 is [349, 361]. The average value of the above two intervals is 355, but the difference between the upper limit value and the lower limit value of B2 is a little larger than that of B1, which will cause B2 to always be traded prior to B1. This means that when a buyer or a seller quotes, the size of the difference between the upper limit value and the lower limit value of its quotation interval is a problem that must be seriously considered. For different buyers or sellers, the design of the difference between the upper limit value and the lower limit value of the quotation interval is not only related to their own costs and profits, but also affected by various market factors, as well as the differences between the upper limit value and the lower limit value of the quotation intervals of other buyers and sellers. Therefore, it is difficult for a buyer or a seller to give a reasonable difference between the upper limit value and the lower limit value of the quotation interval, which is not conducive to the improvement of market efficiency and the fairness of transactions.
[0233] In order to improve market efficiency and promote fair trading, the trading center may require that the difference between the upper and lower limits of all buyers' quotation intervals and / or all sellers' quotation intervals meet preset requirements when designing trading rules. For example, the difference between the upper and lower limits of all buyers' quotation intervals may be required to be 10, or the difference between the upper and lower limits of all sellers' quotation intervals may be required to be no more than 20. It is also possible to require that the difference between the upper and lower limits of the quotation interval does not exceed 5% when the market supply and demand are stable, and that the difference between the upper and lower limits of the quotation interval does not exceed 10% when the contradiction between market supply and demand is large. It is also possible to require that the difference between the upper and lower limits of the quotation interval of thermal power sellers does not exceed 5%, and the difference between the upper and lower limits of the quotation interval of new energy power generators does not exceed 10%.
[0234] If the market transaction rules are: the difference between the upper and lower limits of all buyer quotation intervals and / or all seller quotation intervals does not exceed 10. The buyer or seller can flexibly design the difference between the upper and lower limits of the quotation interval between 0-10. If the designed upper and lower limits are the same, that is, the difference is 0, it means that the buyer or seller has adopted the traditional fixed-price quotation mode. If the fixed-price quotation mode is allowed, in the process of obtaining the buyer quotation interval set PB and / or the seller quotation interval set PS, when sorting the upper and lower limits of all buyer quotation intervals and / or all seller quotation intervals, the repeated values of the upper and lower limits of the quotation interval related to the fixed price must be retained. Furthermore, when determining the buyer corresponding to the purchase interval to be cleared and / or the seller corresponding to the sales interval to be cleared, the buyer and / or the seller must not only meet the condition of not being cleared, but also must meet the condition that the quotation interval overlaps with the purchase interval to be cleared and / or the sales interval to be cleared, and the overlapping part is the same non-degenerate interval or the same degenerate interval as the purchase interval to be cleared and / or the sales interval to be cleared.
[0235] In order to implement the above-mentioned clearing method, the present invention also proposes a clearing system based on interval quotation, including a selection module and a clearing module, and completes clearing through a modular structure. Specifically:
[0236] The selection module is used to select a sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS, respectively, to form a to-be-cleared purchase interval and a to-be-cleared sales interval;
[0237] The buyer's quotation interval set PB and the seller's quotation interval set PS are obtained in the following way:
[0238] After sorting the upper and lower limits of all buyer quotation intervals, a buyer quotation interval set PB consisting of sequentially adjacent upper or lower limits is obtained; after sorting the upper and lower limits of all seller quotation intervals, a seller quotation interval set PS consisting of sequentially adjacent upper or lower limits is obtained;
[0239] Alternatively, after sorting the upper and lower limits of all buyer quotation intervals and all seller quotation intervals, a buyer quotation interval set PB and a seller quotation interval set PS consisting of sequentially adjacent upper and lower limits are obtained;
[0240] The clearing module is used to determine the buyer corresponding to the purchase interval to be cleared, the buyer has not been cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval; determine the seller corresponding to the sales interval to be cleared, the seller has not been cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval; combine the uncleared quantity of each buyer and the uncleared quantity of each seller to determine the corresponding cleared quantity of each buyer and each seller, and determine the clearing price of the current purchase interval to be cleared and the sales interval to be cleared; judge whether there are any sub-intervals that can be traded and have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS, if so, re-select the next sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS through the selection module, otherwise, complete the clearing.
[0241] In other embodiments of the clearing system of the present invention, the selection module and the clearing module may be further divided into more sub-modules to implement the technical solutions corresponding to the selection module and the clearing module, and are not limited by the division of modules or sub-modules.
[0242] In addition, the technical solutions that can be implemented by the selection module and the clearing module can also adopt various preferred embodiments of the clearing method based on interval quotation of the present invention, which will not be repeated here.
[0243] The present invention also proposes a computer program product, which includes instructions, and when the instructions are executed by a processor, the steps in the above-mentioned clearing method embodiment are implemented. Alternatively, when the processor executes the computer program, the functions of each module / unit in the above-mentioned system embodiment are implemented.
[0244] The computer program may be divided into one or more modules / units, and the one or more modules / units are stored in a memory and executed by the processor to accomplish the present invention.
[0245] The carrier for implementing the above-mentioned computer program product may be a computer device, or the computer program product may be stored in a computer storage medium.
[0246] The computer device may be a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The computer device may include, but is not limited to, a processor and a memory.
[0247] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0248] The memory may be used to store the computer programs and / or modules, and the processor implements various functions of the computer device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory.
[0249] If the module / unit integrated in the computer device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0250] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A clearing method based on interval quotation, characterized in that: The following steps are involved: S1, select a sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS, respectively, to form a to-be-cleared purchase interval and a to-be-cleared sales interval; The buyer's quotation interval set PB and the seller's quotation interval set PS are obtained in the following way: After sorting the upper and lower limits of all buyer quotation intervals, a buyer quotation interval set PB consisting of sequentially adjacent upper or lower limits is obtained; after sorting the upper and lower limits of all seller quotation intervals, a seller quotation interval set PS consisting of sequentially adjacent upper or lower limits is obtained; Alternatively, after sorting the upper and lower limits of all buyer quotation intervals and all seller quotation intervals, a buyer quotation interval set PB and a seller quotation interval set PS consisting of sequentially adjacent upper and lower limits are obtained; S2, Clearance S2.1, determine the buyer corresponding to the purchase interval to be cleared, the buyer has not been cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval; Determine the seller corresponding to the sales interval to be cleared, the seller has not been cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval; S2.2, combining the outstanding quantity of each buyer and the outstanding quantity of each seller, determining the corresponding cleared quantity of each buyer and each seller; and determine the clearing prices corresponding to the current pending purchase range and pending sales range; S3, determine whether there are any sub-intervals that can be traded but have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS. If so, return to step S1, otherwise, complete the clearing.
2. The clearing method based on interval quotation according to claim 1, characterized in that: Also included between step S2.2 and step S3: Delete the lower limit value and / or upper limit value of the quotation interval that is only related to the cleared buyers from the upper limit values and lower limit values of all buyers' quotation intervals, and / or delete the lower limit value and / or upper limit value of the quotation interval that is only related to the cleared sellers from the upper limit values and lower limit values of all sellers' quotation intervals; update the buyer's quotation interval set PB and / or the seller's quotation interval set PS.
3. A clearing method based on interval quotation according to claim 1 or 2, characterized in that: Step S1 is specifically as follows: Method 1: Select the sub-interval with the highest price from the sub-intervals that have not been cleared in the buyer's quotation interval set PB, and select the sub-interval with the lowest price from the sub-intervals that have not been cleared in the seller's quotation interval set PS; Method 2: Select the sub-interval with the largest transaction volume that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS respectively; Method 3: Before step S1, the method further includes: simulating clearing; S0-1, select the sub-interval with the highest price from the sub-intervals that have not been simulated and cleared in the buyer's quotation interval set PB, and select the sub-interval with the lowest price from the sub-intervals that have not been simulated and cleared in the seller's quotation interval set PS, and form the purchase interval to be simulated and cleared and the sales interval to be simulated and cleared accordingly; S0-2. Determine the buyer corresponding to the to-be-simulated clearing purchase range, where the buyer has not been simulated for clearing and the quotation range has an overlap with the to-be-simulated clearing purchase range that can form a non-degenerate range; determine the seller corresponding to the to-be-simulated clearing sales range, where the seller has not been simulated for clearing and the quotation range has an overlap with the to-be-simulated clearing sales range that can form a non-degenerate range. S0-3. Combine the simulated unsold quantities of each buyer and the simulated unsold quantities of each seller to determine the corresponding simulated clearing quantities of each buyer and each seller. And determine the simulated clearing price corresponding to the current to-be-simulated clearing purchase range and the to-be-simulated clearing sales range. S0-4. Judge whether there are still sub-ranges that can be traded and have not been simulated for clearing in the buyer's quotation range set PB and the seller's quotation range set PS. If so, return to step S0-1; otherwise, complete the simulated clearing to obtain the marginal clearing price. Step S1 is specifically as follows: Select from the buyer's quotation range set PB the unsold sub-range that contains or is greater than the marginal clearing price and is closest to the marginal clearing price. Select from the seller's quotation range set PS the unsold sub-range that contains or is less than the marginal clearing price and is closest to the marginal clearing price.
4. The clearing method based on interval quotation according to claim 3 is characterized in that: There is also step S2-1-2 between step S2.1 and step S2.2: Judge whether pbu≥psd is satisfied. If so, execute step S2.2; otherwise, execute step S3, where pbu is the upper limit value of the to-be-cleared purchase range and psd is the lower limit value of the to-be-cleared sales range. In step S2.2, the clearing price clearPrice satisfies the following conditions: pbu≥clearPrice≥psd; In step S2.2, the clearing price clearPrice is determined by the following method: clearPrice = ((psu + psd) / 2 + (pbu + pbd) / 2) / 2; where psu is the upper limit value of the to-be-cleared sales range and pbd is the lower limit value of the to-be-cleared purchase range. Or, clearPrice is equal to the weighted average of (pbu + pbd) / 2 and (psu + psd) / 2. Or, clearPrice = (psu + pbd) / 2; Or, clearPrice is equal to the weighted average of pbd and psu. Or, clearPrice is calculated according to a preset rule.
5. The clearing method based on interval quotation according to claim 3, characterized in that There is also included between step S2.2 and step S3: If clearPrice < psd, then let clearPrice = psd; If clearPrice > pbu, then let clearPrice = pbu; Or, There is also included between step S2.1 and step S2.2: If pbd < psd, then let pbd = psd; If psu > pbu, then let psu = pbu; Or, There is also included between step S2.1 and step S2.2: If psu > pbu, then let psu = pbu; If pbu > psu, then set pbu = psu; If psd < pbd, then set psd = pbd; If pbd < psd, then set pbd = psd.
6. The clearing method based on interval quotation according to claim 3, wherein: In step S2.2, the specific method for determining the corresponding clearing quantity of each purchaser and each seller is as follows: Calculate the interval clearing quantity clearance corresponding to the to-be-cleared purchase interval and the to-be-cleared sales interval; wherein, clearance is the smaller value of qtyB and qtyS, qtyB is the sum of the non-cleared quantities of each purchaser, and qtyS is the sum of the non-cleared quantities of each seller; Determine the corresponding clearing quantity of each purchaser or each seller in the following manner: According to the non-cleared quantity corresponding to each purchaser or each seller, allocate the clearing quantity clearance proportionally among each purchaser or each seller; Alternatively, evenly allocate the clearing quantity clearance among each purchaser or each seller; Alternatively, allocate the clearing quantity clearance among each purchaser or each seller according to a preset priority; Alternatively, allocate the clearing quantity clearance among each purchaser or each seller according to a preset rule.
7. The clearing method based on interval quotation according to claim 6, wherein: The number of purchasers and sellers determined in step S2.1 is greater than or equal to 1; In step S2.2, if the calculated result of the clearing quantity of a purchaser or a seller is greater than the corresponding non-cleared quantity, then allocate the excess part among other purchasers or other sellers again.
8. The clearing method based on interval quotation according to claim 3, wherein: The difference between the upper limit value and the lower limit value of all purchaser quotation intervals and / or all seller quotation intervals meets the preset requirements.
9. A clearing system based on interval quotation, characterized by: It includes a selection module and a clearing module; The selection module is used to respectively select an uncleared sub-interval from the purchaser quotation interval set PB and the seller quotation interval set PS, and correspondingly form a to-be-cleared purchase interval and a to-be-cleared sales interval; The purchaser quotation interval set PB and the seller quotation interval set PS are obtained through the following method: After sorting the upper limit values and lower limit values of all purchaser quotation intervals, obtain the purchaser quotation interval set PB composed of sequentially adjacent upper limit values or lower limit values; after sorting the upper limit values and lower limit values of all seller quotation intervals, obtain the seller quotation interval set PS composed of sequentially adjacent upper limit values or lower limit values; Alternatively, after sorting the upper limit values and lower limit values of all purchaser quotation intervals and all seller quotation intervals, obtain the purchaser quotation interval set PB and the seller quotation interval set PS composed of sequentially adjacent upper limit values and lower limit values; The clearing module is used to determine the buyer corresponding to the purchase interval to be cleared, the buyer has not been cleared and the quotation interval overlaps with the purchase interval to be cleared to form a non-degenerate interval; determine the seller corresponding to the sales interval to be cleared, the seller has not been cleared and the quotation interval overlaps with the sales interval to be cleared to form a non-degenerate interval; combine the uncleared quantity of each buyer and the uncleared quantity of each seller to determine the corresponding cleared quantity of each buyer and each seller, and determine the clearing price of the current purchase interval to be cleared and the sales interval to be cleared; judge whether there are any sub-intervals that can be traded and have not been cleared in the buyer's quotation interval set PB and the seller's quotation interval set PS, if so, re-select the next sub-interval that has not been cleared from the buyer's quotation interval set PB and the seller's quotation interval set PS through the selection module, otherwise, complete the clearing.
10. A computer program product, characterized in that: The computer program product comprises instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Centralized bidding and clearing method and system for electric energy market transaction
CN108198006A
Cited By
Method and related device for clearing interval bidding spot market based on declaration quantity segmentation
CN122736677A
Interval price quotation spot market clearing method based on quantity-price conversion and related device
CN122928398A