SYSTEM AND METHOD FOR OPTIMIZING COLLATERAL MANAGEMENT
In certain embodiments, transaction-subset-assignment of computer processing nodes may be facilitated to perform collateral allocation. In some embodiments, a query may be performed to obtain a set of transactions. Computer processing nodes may be selected from a set of available nodes for performing collateral allocations. Collateral allocation rules associated with a lender may be obtained, and each of the computer processing nodes may be caused to perform collateral allocations for one subset of the transaction set in accordance with the collateral allocation rules by assigning transactions of the transaction set respectively to the computer processing nodes such that the computer processing nodes collectively perform collateral allocations for the transaction set. In some embodiments, each of the computer processing nodes may be configured to transmit parameter updates to be provided to the other computer processing nodes and perform its respective collateral allocation based on the other computer processing nodes' parameter updates.
This application is a Continuation of U.S. patent application Ser. No. 16/546,953, filed on Aug. 21, 2019, granting as U.S. Pat. No. 10,991,050 on Apr. 27, 2021, which is a Continuation of U.S. patent application Ser. No. 14/137,441, filed on Dec. 20, 2013 (now Abandoned), which claims benefit to U.S. Provisional Application No. 61/745,187 filed on Dec. 21, 2012. The subject matter of each of the above-mentioned applications is incorporated herein by reference in their entireties.
BACKGROUNDWith the advent of computers, collateral allocation computer systems to automate the management of numerous collateral assets have proliferated. As the amount of collateral assets and the complexity of given transactions grow, however, typical allocation systems face frequent processing delays related to collateral allocations. Among other things, what is needed is a computer-implemented system and method that simplifies and improves the allocations of collateral associated with Tri-Party Repos.
SUMMARYAspects of the invention relate to methods, apparatuses, and/or systems for providing efficient collateral allocations, including, for example, facilitating transaction-subset-assignment of computer processing nodes to perform such collateral allocations.
In some embodiments, a query may be performed to obtain a set of transactions. Computer processing nodes may be selected from a set of available nodes for performing collateral allocations. Collateral allocation rules associated with a lender may be obtained, and each of the computer processing nodes may be caused to perform collateral allocations for one subset of the transaction set in accordance with the collateral allocation rules by assigning transactions of the transaction set respectively to the computer processing nodes such that the computer processing nodes collectively perform collateral allocations for the transaction set. In some embodiments, each of the computer processing nodes may be configured to transmit parameter updates to be provided to the other computer processing nodes and perform its respective collateral allocation based on the other computer processing nodes' parameter updates.
Various other aspects, features, and advantages of the invention will be apparent through the detailed description of the invention and the drawings attached hereto. It is also to be understood that both the foregoing general description and the following detailed description are exemplary and not restrictive of the scope of the invention.
In the discussion of various embodiments and aspects of the system and method of this disclosure, examples of a processor may include any one or more of, for instance, a personal computer, portable computer, personal digital assistant (PDA), workstation, or other processor-driven device, and examples of network may include, for example, a private network, the Internet, or other known network types, including both wired and wireless networks.
Those with skill in the art will appreciate that the inventive concept described herein may work with various system configurations. In addition, various embodiments of this disclosure may be made in hardware, firmware, software, or any suitable combination thereof. Aspects of this disclosure may also be implemented as instructions stored on a machine-readable medium, which may be read and executed by one or more processors. A machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computing device, or a signal transmission medium), and may include a machine-readable transmission medium or a machine-readable storage medium. For example, a machine-readable storage medium may include read only memory, random access memory, magnetic disk storage media, optical storage media, flash memory devices, and others. Further, firmware, software, routines, or instructions may be described herein in terms of specific exemplary embodiments that may perform certain actions. However, it will be apparent that such descriptions are merely for convenience and that such actions in fact result from computing devices, processors, controllers, or other devices executing the firmware, software, routines, or instructions.
In a Repurchase Agreement (“Repo”), a seller (dealer/borrower/cash receiver) sells securities for cash to a buyer (lender/cash provider) and agrees to repurchase those securities at a later date for more cash. The Repo rate is the difference between borrowed and paid back cash expressed as a percentage. The buyer typically utilizes Repos to invest cash for an agreed upon duration of time (typically overnight, although the term may vary), and would receive a rate of interest in return for the investment. The seller typically utilizes Repos to finance long positions in securities or other assets in the seller's portfolio.
Repos are financial instruments used in money markets and capital markets, and are economically similar to a secured loan, with the buyer receiving securities as collateral to protect against default. Virtually any security may be employed in a Repo, including, for example, Treasury or Government bills, corporate and Treasury/Government bonds, stocks/shares, or other securities or financial instruments. In a Repo, however, the legal title to the securities clearly passes from the seller to the buyer, or “investor”. Coupons (installment payments that are payable to the owner of the securities), which are paid while the Repo buyer owns the securities are, in fact, usually passed directly onto the Repo seller. This may seem counterintuitive, as the ownership of the collateral technically rests with the buyer during the Repo agreement. It is possible to instead pass on the coupon by altering the cash paid at the end of the agreement, though this is more typical of Sell/Buy Backs.
Although the underlying nature of a Repo transaction is that of a loan, the terminology differs from that used when talking of loans because the seller does actually repurchase the legal ownership of the securities from the buyer at the end of the agreement. Although the actual effect of the whole transaction is identical to a cash loan, in using the “repurchase” terminology, the emphasis is placed upon the current legal ownership of the collateral securities by the respective parties.
In a Tri-Party Repo, the collateral is managed by a third-party agent (a “Tri-Party agent”) (typically a bank), who may match the details of the trade agreed upon by the buyer and the seller, and assume all of the post trade processing and settlement work. The Tri-Party agent controls the movement of securities, such that the buyers do not actually take delivery of collateralized securities. The Tri-Party agent acts as a custodian for the collateral, and allows the flow of collateral and cash between buyers and sellers across one or more deals.
In some Repo agreements, the seller/dealer may have numerous assets that are being managed by the Tri-Party agent. In these cases, it may be desirable for the Tri-Party agent to allow for the restructuring of the collateral of the deals, so that the seller may free up some assets while placing other agreeable assets in the legal ownership of the buyer, during the deal. Such movements would generally be agreed to by the buyer and the seller when entering the agreement to be managed by the Tri-Party agent.
In various embodiments, a web-based collateral management system or platform links dealers with investors to conduct collateral transactions in a safe, efficient, and reliable way. Online dealers and investors can manage collateral among a diverse range of instruments, including Tri-Party repo agreements in all major currencies, securities lending transactions, municipal deposits, bank loans, derivatives transactions, letters of credit, and structured trades, for example. The system may be managed by the Tri-Party agent, and may additionally provide, for example, daily mark-to-market valuations, haircuts/margins, and concentration limits (i.e., maintain percentages of market capitalization, dollar amount limits for a particular security, or a percentage of the portfolio in a particular security, for example), as well as manage, track, and settle collateral transactions across global capital markets by working collaboratively with clients to provide collateral transparency. The enhanced collateral allocation aspect of this disclosure may allow dealers (i.e., the sellers in Repos) to control and/or automatically permit the shifting of collateral associated with a plurality of deals that are under the management of the Tri-Party agent, even though the collateral is titled to the buyers in the Repo. Such transfers may “optimize” the allocations, so, for example, the fewest number of deals are under-collateralized or over-collateralized, while the collateral allocations meet buyer and/or seller requirements for the deals, as described in greater detail below.
Collateral management system 140 may additionally include reporting and messaging module 170, which may be configured to provide standard and/or custom report and messaging formats that may be transferred to network 130 by collateral management system 140, (optionally) through platform manager 120, or through an alternate communications path illustrated by the dashed double-ended arrow in
Once the data is loaded at 210, process 200 may continue to initialize the data at 215. Data initialization at 215 may be configured to structure the data in a manner that may permit greater efficiency of data handling further in process 200. In some embodiments, initializing the data at 215 may include locking the dealer boxes, repo accounts, and concentration limits (e.g., for the duration of the allocation, to ensure that another allocation or unwind processes does not access the same resources in parallel with another allocation running at the same time). Data initialization at 215 may include at 220 performing eligibility testing of the positions against the rulesets, basket identifier (BID) schedules, and collateral preference schedules (CPS) for all relevant deals. In an embodiment, only the MPI nodes responsible for a given subset of the deals will test eligibility for those deals. In an embodiment, each node may process multiple deals in parallel, using, for example, an OpenMP architecture. Data initialization at 215 may further include at 225 creating a margin array data structure, such that non-eligible positions for a given deal will have a margin of zero, while eligible positions will have their margin or haircut loaded into the structure. In an embodiment, the margin array may be a double array indexed by repo number and position number, however may be stored as a single contiguous area of memory. In an embodiment, different parts of the margin array may be populated by different MPI nodes, however may be synchronized across the cluster of MPI nodes. In an embodiment, deals sharing a group level concentration limit are grouped onto the same node so that concentration limit data does not have to be communicated through the cluster to help improve performance. In an embodiment, a load balancing algorithm is used to authorize a node as manager of a specific deal so that each node in the cluster has an equal workload.
Data initialization at 215 may further include at 230 refreshing the margins in database 160 for any margin of the array that is different from previously allocated margins loaded into memory at 210. Such differences may arise, for example, due to changes in security data or rulesets. At 235, data initialization continues with populating a concentration linked list for Repo and position combinations. Such a list may permit allocation and de-allocation of positions by iterating through the linked list to update concentration buckets without reparsing the ruleset to identify applicable concentration limits. In an embodiment, concentrations that were not correctly populated in database 160 for previously allocated positions are refreshed in database 160. Data initialization at 215 may further include at 240 populating a Cost of Carry array, which may be a double array indexed by deal and position. In an embodiment, the Cost of Carry array may be populated by MPI nodes managing their associated deals, and then synchronized across the cluster of MPI nodes. Data initialization at 215 may further include at 245 taking a snapshot of a previous allocation, then returning all previously allocated positions back to a Dealer Box in the memory.
Once data initialization at 215 is completed, process 200 may continue at 250 by performing pre-optimization of the positions for the deals. Such pre-optimization may allow selection of various features for particular deals, which may override optimized or otherwise enhanced allocations performed later in process 200. In an embodiment, pre-optimization at 250 may include at 255 allocating all collateral that is eligible for a given deal to that deal, even if the deal becomes over-collateralized. In an embodiment, any collateral allocated to those deals may be locked, and not utilized for other optimizations. In an embodiment, pre-optimization at 250 may include at 260 a minimum modification feature, which may be associated with a given deal such that an attempt would be made to reallocate any collateral previously allocated to that deal (i.e., indicated in the backup snapshot at 245) back to the deal. In an embodiment, if the position is no longer eligible, would break a concentration limit, or would over-collateralize that deal, then that position might not be allocated, or might be partially allocated. In an embodiment, any position allocated to the deals designated for minimum modification would not be accessed for optimization, or otherwise reallocated for the remainder of process 200. In an embodiment, the deals selected for minimum modification may still have additional positions allocated to it to prevent under-collateralization. For example, if the account is short, additional collateral may be allocated to the deal. Furthermore, if the account is over-collateralized, some collateral may be removed, but not enough to make the account under-collateralized. Again, any collateral already allocated would remain collateral; however this may exclude collateral that is no longer eligible collateral, if the rulesets for the deal are modified. In an embodiment, the allocations during the pre-optimization at 250 may utilize a parallel replacement algorithm, described in greater detail below.
Once the pre-optimization phase at 250 is complete, process 200 may continue with mathematically optimizing the collateral allocations at 270, where the one or more processors may be used to find an allocation of the portfolio that minimizes current required collateral across the plurality of deals. In an embodiment, seller 110 and buyer 115 may agree to allow such movements of the collateral in their deals, either automatically or at the request of one or both parties. Typically, as seller 110 has agreed to buy back the collateral at a later time, seller 110 would be the one who would want to shift collateral, so that additional collateral may be freed up which may be utilized for other purposes. In an embodiment, the mathematical optimization at 270 may also utilize the parallel replacement algorithm, again described below, which may be iterated repeatedly until the portfolio comes fully collateralized, or when the derivative of the weighted average of the previous ten iterations becomes zero or negative.
The mathematical optimization at 270 may include, at 275, indexing and sorting the deals based on position eligibility. In an embodiment, a bipartite graph may be created between the set of positions and the set of deals. Edges may be drawn showing eligibility between the sets of positions and deals. In an embodiment, vertex degrees are calculated for each set, representing the number of edges connecting to each member of the set. In an embodiment, the sorting may include sorting the set by vertex degree, such that repo accounts may subsequently be collateralized in the increasing order of their vertex degrees. Such collateralization may allow allocation of positions which have lower eligibility.
Mathematical optimization at 270 may further include at 280 creating groups of positions, which may be utilized to parallelize the allocation process. In an embodiment, a self organizing map (SOM)/Kohonen map, or other similar neural network technique may be utilized to create the groups. The SOM may use vectors of margins for individual positions as inputs to train the network in a learning mode. A mapping mode may then classify a new input vector. In an embodiment, the SOM algorithm may utilize the Euclidian Distance formula to categorize and group the positions. In an embodiment, the vectors may include the margins for a position applied to each deal. Once the positions are grouped at 280, the position groups may then be sorted at 285. In an embodiment where the best use of margins is the basis for enhancement/optimization, sorting the position groups at 285 may comprise ordering the groups according to the average margins of positions within the group. In an embodiment, the SOM algorithm may be configured to split the position into a number of categories. In an embodiment, the number of categories may be equal to the number of MPI nodes. In some embodiments, the SOM algorithm may ensure that positions in the same category would have similar margins across all associated deals.
As an example, if the margins for each position within each Repo Account (RA) corresponds to what is reflected in Table I below, then when the positions are grouped and sorted as reflected in Table II, the groups may be ordered such that the group with the lowest margins has higher priority in allocation, as follows:
In an embodiment, where two groups have the same average margins (such as G1 and G2 in the example of Table II), then the group having positions with the lower eligibility may be awarded the higher priority. In some embodiments, once the groups are sorted at 285, the mathematical optimization at 270 may continue with assigning the deals among nodes at 290. In some embodiments, the deals are assigned to groups as part of loading the data at 210. Such assignment may be performed to parallelize the collateral allocation process. In an embodiment, a deal or a group of deals may be assigned to a particular node based on maximum/minimum concentration limits. As noted above, in some embodiments the deals may be balanced to the MPI nodes, which in some cases may account for group level concentration limits, whereby deals sharing a group level concentration limit are assigned to the same node, while other deals are split across the remaining nodes. In an embodiment, only the MPI node managing a particular deal would allocate collateral to that deal, while any MPI node could de-allocate collateral from a given deal. In an embodiment, the number of nodes would equal the number of position groups for maximum efficiency. In an embodiment, the position groups may be rotated across the MPI nodes so that all nodes have an opportunity to allocate any position from any position group. In an embodiment, the position groups are assigned to a node using pipeline architecture to ensure that lowest margin collateral are considered first for allocation. An example of such allocation is depicted in Table III below.
Once the groups are sorted in order of their vertex degrees, and in various embodiments assigned to particular nodes, the mathematical optimization at 270 may continue at 295 by performing a maximal allocation. In an embodiment, the maximal allocation may comprise sorting Repo Accounts by ascending order of vertex degree, based on positions in the Dealer Box. The maximal allocation may continue by sorting the sorted Repo Accounts by the vertex degree based on position in an Allocated Securities Box (although in the first iteration of the maximal allocation at 295, the Allocated Securities box would be empty). Maximal allocation at 295 would continue with the position groups being arranged such that those with the lowest average of margins are allocated first.
Following the maximal allocation at 295, some of the RAs may be left undercollateralized, with some collateral still left in the Dealer Box. A replacement procedure may be implemented at 300 to swap some of the collateral in the fully collateralized repo accounts with the remaining eligible collateral in the Dealer Box, and reallocate the freed up collateral to the undercollateralized deals. As above, eligibility may be ascertained by any appropriate mechanism, including but not limited to allowance by buyer 115 in rulesets associated with the deals, preference by seller 110 through the BID schedule, or so on. In an embodiment, the reallocation may again give greater importance to the margins. In an embodiment, the replacement procedure at 300 may comprise sorting the RAs first by vertex degree based on the positions left in the Dealer Box, then by vertex degree based on the positions now in the Allocated Securities box. During the replacement allocations, securities in the Dealer Box would be considered first, before securities in the Allocated Securities box. The undercollateralized accounts would continue to be collateralized with securities from the Allocated Securities box, once the eligible collateral in the Dealer Box is depleted. In an embodiment, the replacement procedure at 300 may be iterated across all accounts until all accounts are fully collateralized, or there is a shortage of collateral. In an embodiment, the replacement procedure at 300 may utilize the bipartite graph method to establish priorities for the replacement collateralization.
An example of the mathematical optimization performed at 270 is depicted in
A stopping point for the mathematical optimization at 270 may be determined by any suitable determination criteria. In an embodiment, the mathematical optimization at 270 may simply proceed for a predetermined number of iterations. In another embodiment the stopping point for the mathematical optimization at 270 may be ascertained from a moving average calculated from the prior iterations. As shown in the illustrated embodiment of process 200 in
As shown in Table IV, in an embodiment a weighted average of the undercollateralized amount may be calculated from the previous ten iterations of the replacement process at 300. The “undercollateralized amount” indicates the amount by which the account is undercollateralized at the end of the maximal allocation process at 295. The Replacement algorithm at 300 attempts to collateralize this amount by swapping eligible collateral between RAs and the Dealer Box, before allocating the collateral to the given RA. The slope may then be calculated, representing the difference between the current iteration's weighted average and the weighted average of the tenth prior iteration. In an embodiment, the stopping point may be ascertained when this slope becomes greater than or equal to zero. In Table IV, the stopping point is reached with iteration 42, where the slope becomes positive. The optimal allocation, having the least undercollateralized amount, may then be selected from the calculated iterations, which in the example of Table IV is found in iteration 37.
During the swapping of collateral, it may be observed that the replacement algorithm at 300 continues to run iteratively despite there not being any eligible collateral available in any of the accounts. In an embodiment, instead of a set number of iterations being run, as was depicted in Table IV, the optimized collateral allocation determination at 305 may detect when the collateralization value has become constant, indicating a lack of further eligible collateral, recognizing that as a termination point. In an embodiment, the optimized collateral allocation determination at 305 may ascertain that the iteration should terminate when the under-collateralized amount becomes zero. In an embodiment, if the moving average value over ten iterations remains constant or increases, the allocation may be ascertained at 305 to be complete. The moving average may be a greater determination of optimal collateralization, because in cases where larger collateral is swapped for smaller collateral, the under-collateralized amount value may increase for that particular iteration, however, this may decrease again in subsequent iterations, and it may be desirable to continue the iterations of the replacement process at 300.
Once it is determined at 305 that the collateral allocations have been mathematically optimized, the mathematical optimization at 270 may end, and process 200 may continue to A, which continues at
As further shown, the business optimization at 310 may further include at 340 determining which of a dealer's preferred collateral should be allocated to a deal. The dealer's preferred collateral may be of any appropriate type, and may correspond, for example, to the dealer's BID schedule, and the intersection of the BID schedule with the deal's ruleset (which may specify the collateral acceptable to buyer 115). In an embodiment, any collateral that is allocated with a higher cost of carry may be swapped with eligible collateral still in the Dealer Box that has a lower cost of carry. In an embodiment, any collateral that is allocated with a higher margin may be swapped with eligible collateral still in the Dealer Box that would have a lower margin. In an embodiment wherein deals are associated with particular MPI processes, deals may be processed in parallel using shared memory programming within the same MPI node. In an embodiment, for each Repo deal managed by an MPI process, priority may be established as either by margins 345 or by Cost of Carry 350. For each deallocation position equal to the position DESC (in SQL syntax) that is allocated to the deal, and for each allocation position equal to the allocation ASC (in SQL syntax) that is available in the Dealer Box, the dealer preferred collateral determination at 340 may include breaking out of the position DESC and position ASC loops if the allocation position is equivalent to the deallocation position. Otherwise, the determination algorithm may comprise deallocating the deallocation position, allocating the allocation position, and trying to fully collateralize the deal with the position that was de-allocated. If the deallocation position was fully removed, the loop over all MPI nodes may end. In prioritizing by margin at 345, if a position is eligible for two different deals, if there is a lower margin in one deal, it should be allocated to that deal so that fewer positions are used to collateralize the portfolio. In prioritizing by Cost of Carry at 350, seller 110 may analyze the collateral from a risk/desirability standpoint, determining which collateral is the cheapest to deliver, and how they believe the collateral's value will change during the course of the deal.
Although in some embodiments, other business optimizations may be included in the business optimization at 310, in an embodiment process 200 may continue at 355 with a final allocation of deals in the Dealer Box. In an embodiment, these final allocations at 355 may be utilized to collateralize the portfolio of deals if there are any positions in the Dealer Box after both the mathematical optimizations at 270 and the business optimizations at 310. In an embodiment, the parallel replacement algorithm may again be utilized for the final allocations at 350.
In an embodiment, process 200 may continue with a submission of allocation instructions at 360. For example, in an embodiment the current allocations that were tracked at 245 may be compared with the optimized portfolio calculated in process 200. The differences between the pre-optimized allocations at 245 and the newly optimized allocations may be forwarded to a separate instruction allocation server, which may utilize instructions from a collateral optimization server, such as collateral management system 140, to implement the optimized instructions across the deals. In an embodiment, removal of positions that shouldn't be allocated would be performed by the instruction allocation server first, followed by a reallocation of collateral to new deals. In an embodiment, if there exists an instruction where the position cannot be allocated due to eligibility, concentration limits, or so on, the instruction server may update database 160 or another storage construct with the reason for the failure. In an embodiment, the instruction allocation server may then perform the remaining position movements, collateralizing the deal associated with the erroneous instruction at a later time.
In some embodiments, the instruction allocation server may be configured to perform position movements so as to minimize financial exposure to the Tri-Party agent, or other similar party. Some embodiments may be configured to minimize cash exposure. Some embodiments may be configured to control net free equity (NFE) exposure (e.g., unused collateral that the party has lien on). As an example, where collateral is removed from multiple accounts before being reallocated, the Tri-Party agent would be exposed for the entire uncollateralized amount over the multiple accounts. However if the collateral were reallocated from some of the accounts to others of the accounts prior to removing collateral from those other accounts, the exposure to the Tri-Party agent would be reduced. As such, in some embodiments the movements of collateral may be ordered to minimize shortage. As shown in the simplified example of Table V, the Tri-Party agent would be exposed by the value of each collateral removed from a given deal.
In Scenario A, between steps 2 and 3, the Tri-Party agent would be exposed by the value of collateral owed to Account A plus the value of collateral owed to Account B. In Scenario B, however, by allocating Collateral X to Account B immediately after removing it from Account A, Account B is never shorted, reducing the exposure to the Tri-Party agent. In more complicated embodiments, where collateral is being reallocated over and between a greater number of accounts, any number of determination criteria may be utilized to ascertain the order of deallocation and reallocation, to reduce exposure to the Tri-Party agent. In some embodiments, multiple movements may be processed together (i.e., as a single transaction), which may also reduce or eliminate exposure to the Tri-Party agent. For example, if Movements 1-4 of either Scenario A or Scenario B were performed as a single transaction, then there would not be any exposure to the Tri-Party agent, as the account holders would never see a shortage to the deals in their accounts. In some such embodiments, an automatic cash crediting system for providing credit from the Tri-Party agent to shorted accounts may calculate at a transaction level, comparing differences in exposure at the start of the transaction to the end of the transaction.
Returning to
As indicated above, in an embodiment optimization may include consideration of BID schedules. In an embodiment wherein there is insufficient collateral for a given deal, upgrades may also be considered for the deals. For example, in an embodiment a CPS (or an “upgrade” schedule) may be utilized to prioritize collateral allocation. In an embodiment, the eligibility of collateral may be simply indicated in the margin array. In an embodiment, during the dealer preferred allocations 340 of the business optimizations at 310, collateral with a high cost of carry (determined by the CPS) may be swapped with collateral of a lower cost of carry, which would utilize the CPS in a descending direction. In an embodiment, the CPS may determine eligibility of collateral in the ascending direction, while dealer preferred collateral may be ascertained by reading the CPS in the descending direction.
In an embodiment, if a given deal reaches a specified maximum number of positions, an extra check may be performed after allocating each position. In an embodiment, if the number of positions equals the maximum allowable position count, and if the current required collateral of the deal is greater than zero, then the smallest allocated position may be removed, which may allow for the potential of a larger position to be allocated.
As noted above, in an embodiment, the parallel design of the computation of the deals is appreciated, wherein various memory locks may be implemented to prevent multiple processes from allocating positions to the deal. In an embodiment, however, any MPI process may be configured to remove any position from any deal, regardless of whether the specific MPI process is responsible for managing that deal. In an embodiment, groups of RAs may be allocated using a pipeline architecture, such that in a first time-cycle, a first node will process a first group G1, while in a subsequent time-cycle, the first node will process a second group G2, while a second node will process the first group G1. Such grouping of positions may allow multiple MPI processes to allocate in parallel, preventing multiple processes from allocating the same position at the same time. In an embodiment, the grouping of positions may permit allocation of the lowest average margin positions, which can reduce the number of positions used to collateralize the portfolio of deals. In an embodiment, the positions are synchronized across the MPI nodes between each time-cycle allowing each MPI node to know the current state of all positions in the group it is about to allocate from in the next time-cycle.
The system and method of this disclosure may be implemented in various ways. For example, as noted above, access to collateral management system 140 may be provided via operator I/O & display 165. In an embodiment, operator I/O & display 165 may be accessible over network 130, such that seller 110 and/or buyer 115 may have access to collateral allocation module 180, for example. In an embodiment illustrated in the “screenshot” of
Optimization options for mathematical optimization 270 in allocation template “B” may be controlled at Letter “D”. As shown, a number of features are controllable in the illustrated embodiment. For example, in an embodiment, a Fussy Factor may be presented, giving a user of the GUI “A” the ability to establish a percentage of a position that is allocated in each iteration of the optimization. A Forced Fussy Factor option may control how strictly the Fussy Factor is enforced. In an embodiment, a Full Replacement option may be presented to control the number of passes that may be run in a full replacement algorithm for the optimization. An option may be presented to selectively include MINMOD tagged accounts in the replacement procedure at 300. Furthermore, it may be selected that the replacement algorithm at 300 may run the deals with an older stat date option, or a lower priority option. Another option presented in the optimization options “D” may include a number of times to retry the optimization and/or post-optimization phases (i.e., mathematical optimization 270 and business optimization 310).
At Letter “E” options for the business optimization at 310 are presented. As shown, there may be separate sections for both the determining of which deals to short at 315, and the determining dealer-preferred allocations at 340. As shown, the user of GUI “A” may prioritize from basket prioritization 320, internal short prioritization 325, market deadlines 330, and dealer priority at 335. Again, for basket prioritization at 320, accounts assigned to a basket tag should be allocated before accounts not assigned to a basket tag. With internal short prioritization 325, deals with older state dates, still undercollateralized, would be allocated before accounts with earlier start dates. In market deadline prioritization 330, accounts with closed Markets would be allocated before accounts with open markets. In dealer prioritization 320, undercollateralized deals with lower priority would be allocated before accounts with higher priority. In the dealer-preferred allocations at 340, the options presented in some embodiments may include assigning a priority to use better margins compared to the cost of carry. Likewise, a priority may be assigned to use a cost of carry profile as compared to a better margin profile.
Although the options depicted in letters “C”, “D” and “E” are presented as drop-down lists that permit selection of “Yes,” “No,” numerical elements (such as for prioritization or percentages) and so on, other graphical user interface elements may also or alternatively be utilized in GUI “A”. For example, a series of push buttons or radio buttons may be presented to make the applicable options selections. Furthermore, in some embodiments a text based interface (or a text base element in a GUI) may be utilized, allowing a user to type in an applicable response to an option prompt. In some embodiments, combinations of GUI and text elements may be utilized. For example, at Letter “F”, instructions for the instruction allocation server are input. As shown, the applicable Dealer ID (identifying seller 110, for example) is a text interface, while a “submit” dropdown box allows for a constant, intermittent, or delayed submission of the optimization instructions to the instruction allocation server.
Shown at letter “G” is a pushbutton that would reset the values input at letters “C” through “F” to default values. Such default values may be, for example, all “NO” responses, all “YES” responses, zeroed numerical prioritizations, or so on. In an embodiment, the default values implemented by the reset pushbutton “G” may be the most commonly implemented response for each optimization element. Pushbutton “H” is a submission pushbutton, configured to accept the responses established for allocation template “B”. As shown, pushbutton “H” is a preview pushbutton, which would advance the user to a summary page depicted in the screenshot of
In an embodiment, a portion of GUI “A” may allow for a listing of previously created templates, and the ability to create new templates. In
As illustrated in
In the embodiment of GUI “A” depicted in
It may be appreciated that in some embodiments, the optimizations described above (e.g., the mathematical optimization at 270), or alternative optimizations, may be implemented as mathematical models configured with multiple objective functions. At the system level, such optimization may include two main steps: (1) determine the optimal collateral allocation configuration, which may be known as an end state optimization, and (2) generate and execute instructions to realize allocation changes for transitioning to the optimal allocation configuration from an existing one. Due to the potential very large number of data record changes and the limited number of changes that can be accommodated in a single system transaction, a transition to the end state may be executed as multiple individual transactions involving a number of intermediate configurations that satisfy the appropriate constraints. Such determining the intermediate configurations may give rise to transition state optimization. As described in greater detail below, the handling of the multiple objectives may be treated differently across embodiments.
In an embodiment, the objectives may be implemented one at a time, where the optimal value for a given run will be taken and used to re-code the objective as a constraint while the model is re-run for the next objective function. In an embodiment, this may be implemented in such a way that the objectives and ordering of the objectives may be configured independently for each dealer. In an embodiment, the independent configuration may be implemented for each run of the optimization.
The end state optimization and the transition state optimizations described below are described with reference to set theory, and in particular do so according to the following conventions:
B is the set of borrowers, L is the set of lenders, and K is the set of collaterals.
Db,l={db,l:b∈B, l∈L}: the set of deals d between borrower b and lender l. As used below, the index b and l may be dropped in a context when their meaning is evident.
Dl=Ub∈B Db,l represents the set of deals of a lender l, while Db=Ul∈LDb,l represents the set of deals of a borrower b, and D=Ub∈B,l∈Ldb,l represents all deals.
The value pk represents the par amount of a collateral k. Defined to be an integer, it is the fundamental variable in the collateral allocation optimization. The par amount pk of a given quantity qk of collateral k is determined by
where Uk, the mutt par (unit tradable amount) of collateral k, is a unit that represents the minimal number of shares can be allocated, and Int(x) represents the integer part of x. The par amount pk may be normalized such that pk=(par available)/(mult par). It may be appreciated that the value (e.g., in US dollars (USD)) of a par amount pk may be given by vk=πk pk, where πk is the cash value of a mult par of k.
Pk: D→N0: the par amount allocation function, i.e., Pk(d) is the par amount of a collateral k allocated to the deal d. N0 is the set of non-negative integers.
V: D→R+: the loan value function. Specifically, i.e., V(d) gives the value (e.g., in USD) of a deal d. R+ is the set of positive real numbers. With this function defined, Vb=Σd∈DV(d) represents the total loan amount of a borrower b.
A: D→R0: the allocated value function, Specifically, A(db,l) gives the margin adjusted value (e.g., in USD) of the collaterals allocated to a deal db,l. R0 is the set of non-negative real numbers. By definition,
where Mk,b,l is the margin factor between borrower b and lender l for collateral k.
Pk,b represents the par amount of collateral k owned by borrower b.
Pk,b(f) represents the par amount of free (unallocated) collateral k owned by borrower b.
In some embodiments, objective functions may be implemented concerning maturing deals and collaterals that are Depository Trust Company (DTC) securities. The DTC may interchangeably be understood as the Depository Trust and Clearing Corporation (DTCC). For the convenience of defining the objective functions below, the indicator functions are defined as follows:
The maturing deal indicator function:
The DTC collateral indicator function:
Cb(d) represents the intra-day cash credit extended to a borrower b so that its deal d is fully collateralized. With the introduction of Cb(d), from the perspective of tri-party repo collateral management, the state of a borrower b is completely defined.
For a specific deal d∈Db, the quantity min(V (d), Cb(d)+A(d)) is called the collateral maintenance level of the deal. Note that when a deal is not fully collateralized, its collateral maintenance level is the sum of the margin adjusted USD value of the allocated collaterals and any intra-day cash extended to it.
The tuple S(b)=({Cb(d), d∈Db}, {Pk,b(f), k∈K}, {Pk (d), k∈K and d∈Db}) represents the state of a borrower b from tri-party repo collateral management perspectives. The tuple and its components will be used to formulate end state and transition state optimization. Since the current scope of end state and transition state optimizations focus on a given borrower, the superscript b of S(b) will be dropped when its presence is evident in context.
Furthermore, the step function θ(x), utilized below, is defined by
In applying the conventions above, it may be appreciated that in an embodiment an end state optimization may seek to determine an optimal allocation of collaterals of the deals owned by the borrower. For example, the end state optimization may attempt to find the values of the functions Pk(d) when d=db,l for all of the deals db,l∈Db and k∈K. It may be appreciated that in an embodiment the outcome of the optimization may be a set of integer vectors that each give the collateral allocation of a deal. A component of a vector for a specific deal may give the par amount of a collateral allocated to the deal.
In some exemplary implementations, a typical borrower may have hundreds of deals and tens of thousands of collateral positions. This may determine the overall dimension of the configuration space of the optimization problem to be about 106˜108 order with about 104˜106 constraints.
The subsections below describe the constraints and objective functions of an embodiment of end state optimization. It should be noted that end state optimization may be specific to a given borrower. As such, the borrower label b may be dropped in all quantities where its use would be evident in context.
In the embodiment, the optimization may be constrained in that an allocated amount would be non-negative integer: Pk(d)∈N0. Also, an allocated par amount would not be greater than what a borrower owns: Σd∈D
A general concentration limit constraint may also be imposed: Σd∈D
As an example of the concentration function (e.g., with USD currency concentration): Σd∈D
It may be understood that the currency constraint may use collateral value that is not margin adjusted. In some implementations, margin adjusted value arguably should be used, such as in the extreme case when the margin factor of a collateral goes to infinity. In such a situation, however, the collateral and its allocation would not be financially relevant.
A maximal par concentration limit may also be defined, Σd∈D
For a weighted average of maturity: Σd∈D
For a weighted average of credit rating: Σd∈D
Another constraint may be implemented on a maximal number of positions: Σd∈D
While implementing one or more of these constraints, objective functions of the end state optimization may be performed. As shown, in some embodiments the optimization may include optimizing various values (for example, by minimizing them).
To minimize amount short: Σd∈D
To minimize collateralization index:
where Vb is the total loan amount of borrower b. When all deals of a borrower are fully collateralized (i.e., the amount short that may be minimized above is zero), the collateralization index measures how efficient the collaterals are used to cover the loans. It may be appreciated that Vb may be a constant during optimization, and its inclusion above would not affect optimization.
To minimize cost of carry index:
where Vb is the total loan amount and Γk,b,l is the cost of carry for collateral k for borrower b, Mk,b,l is the margin factor between borrower b and lender l for collateral k. It may be appreciated that cost of carry may represent the preference of a borrower on allocation of collaterals. Minimization of the cost of carry index may provide a mechanism for a borrower to influence allocation of collaterals based on the preference. Under reasonable assumptions, it may be shown that there exists a set of cost of carry {Γk,b,l, k∈K} that can drive collateral allocation to any given preference of a borrower. Again, Vb may be a constant during optimization, and its inclusion above would not affect optimization.
To minimize upgraded amount:
where Ik(U)(db,l) may be the upgrade indicator function for collateral k in deal db,l, and Mk,b,l is the margin factor between borrower b and lender l for collateral k.
To minimize auto cash: Σd∈D
To minimize short priority: Σd∈D
To minimize position movement:
where I(PM)(d) may be the indicator function for the set of deals for which position movement is to be minimized, Pk(0)(d) may be the par amount of the collateral k for deal d before the optimization, and δi,j may be the Kronecker δ-function:
To minimize allocation of DTC collaterals to maturing deals:
where I(M)(d) may be the maturing deal indicator function and I(DT C)(k) may be the DTC collateral indicator function.
As indicated above, transition state optimization may be performed in some embodiments. Transition state optimization may seek to determine a set of intermediate states that facilitate transition to the optimal collateral allocation configuration for a given borrower b. Specifically, it may determine a set {Si, i=0, 1, . . . , N}, of which the elements may be defined by: Si=({Cb(i)(d), d∈Db}, {Pk,b(i,f), k∈K}, {Pk(i)(d), k∈K and d∈Db}), where S0 may be the initial state and SN may be the optimal end state of the borrower. S0 and SN may be given by: S0=({Cb(0)(d), d∈Db}, {Pk,b(0,f), k∈K}, {Pk(0)(d), k∈K and d∈Db}), and SN=({Cb (d), d∈Db}, {Pk,b(f), k∈K}, {Pk (d), k∈K and d∈Db}), where Cb (d), and Pk (d) may be respectively the minimal auto cash amount, and the optimal collateral allocation, as described above and determined by end state optimization. The free (or unallocated) par amount Pk,b(i,f) may be given by Pk,b(i,f)=Pk,b−Σd∈D
In an embodiment, it may be appreciated that constraints associated with transition state optimization may be applied. In some embodiments, the constraints for end state optimization, as described above, might need to be satisfied by the intermediate states, because the intermediate states may be viewed potentially (under certain market conditions) as valid states for a borrower per given repo business applications.
As a constraint where auto cash cannot exceed defined limits: Σd∈D
As a constraint where collateral maintenance levels may not decrease for moves between the intermediate states: Cb(i+1)(D)+A(i+1)(d)≥Cb(i)(d)+A(i) (d) for i=0, 1, 2, . . . , N−1 and d∈Db, where A(i)(d) may be the margin adjusted value (e.g., in USD) of the collaterals allocated to deal d in the state Si. The constraints may collectively imply that the collateral maintenance level of any intermediate state might not exceed that of the end state, which is determined by end state optimization.
To constrain a number of data changes in a system transaction to not exceed defined limits: NS
With such constraints in mind, it may be appreciated that objective functions of the transition state optimization may be implemented. As shown, in some embodiments the optimization may include optimizing various values (for example, by minimizing them).
To minimize auto cash for all intermediate states: Σd∈D
To minimize data change penalty for moves between the intermediate states: U(NS
where U(−), U(+), β>0 are parameters of the penalty function. It may be appreciated that this specific form of U(N) respectively penalizes deviations below and above N(max) linearly and exponentially.
As noted above, in some embodiments the objective optimizations may be implemented one at a time, with the optimal value being utilized to recode the objective as a constraint while the model is re-run for a subsequent objective. The order in which the objectives are run may vary across embodiments. In one non-limiting embodiment, the auto cash may be minimized, before the amount short may be minimized, before the cost to carry index may be minimized, before the collateralization index may be minimized. In some embodiments, the ordering of the objectives may be configured independently for each dealer. In some embodiments, the ordering of objectives may be configured independently for each run of the optimization.
According to some embodiments, collateral optimizations may be implemented associated with Delivery Verses Payment (DVP) and/or Receipt Verses Payment (RVP) models for securities trades in repurchase agreements (e.g., “DRVP models”). For example, features of such models may be found in U.S. Provisional Patent Application Ser. No. 61/647,346, incorporated by reference in its entirety above. Such optimization may again include: (1) determining the optimal collateral allocation configuration, which may be known as an end state optimization, and (2) generate and execute instructions to realize allocation changes for transitioning to the optimal allocation configuration from an existing one. A transition to the end state may be executed as multiple individual transactions involving a number of intermediate configurations that satisfy the appropriate constraints. Determining the intermediate configurations may give rise to transition state optimization.
As with the embodiment described above, the end state optimization and the transition state optimizations described in greater detail below may make use of various conventions. Since optimization of collateral allocation may be done in the context of a given borrower, a simplified notation may be utilized to focus on the given borrower. Preference of lenders may be identified through various defined parameters. In the context of daily operation of tri-party repurchase agreement, many of the parameters and variables vary over time (e.g., during a business day). To describe the time dependent nature of the problem, t may be understood as representing time, and the parameters and variables may be a function of t when appropriate. As such, Kt represents the set of collaterals owned by the borrower at time t, while Dt represents the set of deals of the borrower at time t.
The value vd represents the priority of a deal din collateral allocation. In particular, it may express an aspect of a borrower's desire of how collaterals should be allocated across the deals. In some embodiments, such as those described herein, vd may have a fixed value throughout a given business day. Accordingly, the time dependence of vd has been dropped.
Pk,b(t) represents the par amount of a collateral k allocated to the deal d at time t.
Vd(t) represents the value (e.g., in USD) of the loan amount of a deal d at time t. It may be appreciated that V(t)=Σd∈D
{tilde over (V)}d (t) represents the settled amount for deal d at time t, and may include the cash amount already transferred from a lender to a borrower for the deal.
Cd(t) represents the amount of tri-party cash used for settlement of a deal d, and is a decision variable of the optimization.
Ad(t) represents the margin adjusted value (e.g., in USD) of the collaterals allocated to a deal d. It may be defined that
where μk,d is the margin factor of collateral k for deal d. Because πk and μk,d may both be assumed to be fixed for a given business day (as is custom in current tri-party repurchase practice), their time dependence has been dropped.
Pk(t) represents the par amount of collateral k owned by the borrower at time t.
Pk(f)(t) represents the par amount of free (i.e., unallocated) of collateral k owned by the borrower.
It may be appreciated that objective functions referring to maturing deals and collaterals that are DTC/DTCC securities may make use of the indicator functions defined above. To reiterate, the indicator functions may be defined where:
The Maturing deal indicator function:
The DTC collateral indicator function:
{tilde over (C)}d (t) represents the auto cash extended to deal d.
{tilde over (C)}(max)(t) represents the maximal amount of auto cash available to the borrower. In some embodiments (e.g., according to current tri-party practices), the available amount of auto cash may be determined by a number of factors, including but not limited to the borrower's net free equity held by the third party.
Md(t)min (vd(t), {tilde over (C)}d(t)Ad(o) represents the collateral maintenance level of deal d. When a deal is not fully collateralized, it may be appreciated that its collateral maintenance level may be the sum of the margin adjusted value (e.g., in USD) of the allocated collaterals and any auto cash extended to the deal.
The tuple Ψ(t)=(Vd(t), {tilde over (V)}d(t), Pk(t),
The embodiments described below may again utilize the step function θ(x), where
It may be appreciated that given the state Ψ(t) of the borrower at time t and the exogenous variables at time t′, the end state optimization may seek to determine the decision variables of Ψ(t′) for a given t′>t. The end state optimization may be implemented subject to the following constraints, in which:
The allocated amount may be constrained to be a non-negative integer: Pk,d(t)∈N0.
The allocated par amount may be constrained to not be greater than what a borrower owns: Σd∈D
The allocated par amount may be constrained to be greater than a threshold if allocated: Pk(t)∈{0}∪[max(Pk,d(min)), +∞], where Pk,d(min) is the minimal par piece size of deal d for collateral k, and Pk(min) is the minimal par size for the collateral k.
The collateral maintenance level may be constrained such that it cannot decrease: Md(t′)≥Md(t) for t′>t, for any d∈Dt∩Dt′.
There may be a constraint on the maximal auto cash: Σd∈D
There may be constraints on DVP, where Ad(t)+Cd(t)+{tilde over (C)}d (t)≥{tilde over (C)}d(t)+{tilde over (V)}d(t) and Cd(t)≤min(Vd−{tilde over (V)}d,
A general concentration limit may be applied: Σd∈D
Examples of various concentration limit constraints may also be appreciated. For example, a currency concentration (e.g., in USD): Σd∈D
It may be appreciated that the currency constraint may use a collateral value that is not margin adjusted. In some implementations, margin adjusted values arguably should be used, such as in the extreme case of large margin factor limits. In this extreme case, however, the collaterals with very large margin factor will not be financially relevant. Therefore it may be omitted from the concentration limit constraints, contrary to what the above constraint illustrates.
As an example of a maximal par concentration limit: Σd∈D
As an example of the weighted average of maturity: Σd∈D
As an example of the weighed averaged of credit rating: Σd∈D
As an example constraint on a maximal number of positions: Σd∈D
While implementing one or more of these constraints, objective functions of the end state optimization may be performed. As shown, in some embodiments the optimization may include optimizing various values (for example, by minimizing them).
To minimize settlement index: Σd∈D
and Δ(A) are respectively penalty factors for allocation shortage, under usage of tri-party cash, usage of auto cash, and excess of auto cash against decreased loan amount. In an embodiment, proper behavior of the objective function in the large margin factor limit may require the penalty factors to be proportional to the maximal margin. For example, Ξ(S)=ξ(S)·μ(max), Ξ(T)=ξ(T)·μ(max)Ξ(A)=ξ(A)·μ(max), and
is the maximal margin for the collaterals involved in the deals of borrower b. The actual value of the coefficients may be determined via experimentation. In an embodiment where it is given that μ(max)˜1 for all borrowers in all existing repurchase agreement deals, the value of the penalty factors may initially be: Ξ(S)=2, Ξ(T)=5, Ξ(A)=4, and Δ(A)=2.
To minimize the collateralization index and the cost of carry index, it may be appreciated that the collateralization index may be defined as:
where V(t) is the total loan amount of the borrower at time t. Since V(t) is exogenous variable, its inclusion in the above equation would not affect optimization. It may additionally be appreciated that the cost of carry index may be defined as:
where Sd(t) is allocation shortage determined as an outcome of optimizing the settlement index. Γk,d is the cost of carry for collateral k for deal d, and μk,d is the margin factor for collateral k in deal d.
It may be appreciated that these two objectives conflict with each other. As such, from tri-party repurchase agreement optimization perspectives, it may be more appropriate to define optimality in a Pareto or pseudo Pareto fashion.
As noted above, transition state optimization may be performed. Again, transition state optimization may seek to determine a set of intermediate states that facilitate transition to the optimal collateral allocation configuration. Specifically, in this embodiment it may determine a set {Ψ(i), i=0, 1, . . . , N} where Ψ(0) is the state of the borrower at time t before end state optimization and Ψ(N) is the optimal state determined by the end state optimization.
Similar to the embodiments above, it may be appreciated that constraints associated with transition state optimization may be applied. In some embodiments, the constraints for end state optimization, as described above, might need to be satisfied by the intermediate states, because the intermediate states may be viewed potentially (under certain market conditions) as valid states for a borrower per given repo business applications.
A constraint may be applied that collateral maintenance levels cannot decrease for moves between the intermediate states. In particular, Md(i+1)(t)≥Md(i)(t) for i=1, 2, . . . , N−1 and d∈Dt. It may be appreciated that the constraints collectively imply that the collateral maintenance level of any intermediate state might not exceed that of the end state.
Another constraint that might be applied that a number of data changes in a system transaction should not exceed defined limits. In particular, NΨ
With such constraints in mind, it may be appreciated that objective functions of the transition state optimization may be implemented. As shown, in some embodiments the optimization may include optimizing various values (for example, by minimizing them).
To minimize auto cash for all intermediate states: Σd∈D
To minimize data change penalty for moves between the intermediate states: U(NΨ
where U(−), U(+), β>0 are parameters of the penalty function, may be applicable. Again, this specific form of U(N) respectively penalizes deviations below and above N(max) linearly and exponentially.
It may be appreciated that various constraints and objectives may be implemented in various embodiments. In one non-limiting embodiment, the settlement index may be minimized to determine the minimal collateralization level of each deal. After doing so, the collateralization level may be re-encoded as a constraint, and the collateralization index and cost of carry index may be minimized, as described above. Minimizing the collateralization index and the cost of carry index may be utilized to determine which collateral to allocate to the deal. In an embodiment, a Pareto curve may be built between minimizing the collateralization index and minimizing the cost to carry index. In an embodiment, a user may choose a desired position on the Pareto curve, and the optimization may be modified accordingly.
Although implementing the optimization models described above may vary across embodiments, in an embodiment one or more the models may be implemented through a greedy algorithm that makes a logically optimal choice at each stage of analysis.
Having loaded data at 420, workflow 400 may continue at 500 by placing an allocation lock on dealer boxes, repo accounts and concentration limits. It may be appreciated that locking the dealer boxes, repo accounts, and concentration limits may be locked for the duration of the allocation, to ensure that another allocation or unwind processes does not access the same resources in parallel with another allocation running at the same time (which might otherwise result in double allocation of resources).
Workflow 400 may then determine position eligibility at 510. As shown, in the illustrated embodiment determining position eligibility at 510 may include running a gross eligibility analysis at 520, before updating margins at 530. Running the gross eligibility analysis at 520 may in some embodiments be similar to initializing the data at 215 in process 200, while updating the margins at 530 may in some embodiments be similar to refreshing the margins at 230 of process 200. The updated margins from 530 may be fed back into the target mode positions 490 stored in the database(s) 430. Position eligibility determinations at 510 may then continue at 540 by updating group concentrations. As shown, the group concentrations may be stored in target mode group concentration buckets 550 in the database(s) 430. Determining position eligibility at 510 may then continue at 560 by initializing concentration buckets at 560, making use of the target mode positions 490 and the target mode group concentration buckets 550. In some embodiments, updating the group concentrations at 540 and initializing the concentration buckets at 560 may comprise or otherwise be similar to populating the concentration linked list at 235 of process 200. Likewise, it may be appreciated that position eligibility determination at 510 may vary across embodiments, and those features described herein are merely exemplary. For example, in some embodiments one or more features of testing position eligibility may be as disclosed in U.S. patent application Ser. No. 13/368,952, incorporated in its entirety herein by reference.
Workflow 400 may then proceed at 570 by allocating collateral, and optimizing the allocations utilizing math models described above. In an embodiment, positions may initially be assigned within four structures: par_db (how much of each position is not allocated in memory), par_repo (how much of each position is allocated to each deal in memory), par_db_optimized (how much of each position is not allocated in the optimized state), and par_repo_optimized (how much of each position is allocated to each deal in the optimized state). These structure names are merely exemplary, and may vary across embodiments. In an embodiment, a begin transaction instruction may be generated initially, which may be executed later in the database. As shown, the allocation at 570 may begin at 580 by allocating available collateral. In an embodiment, for each position where par_db>0 and par_repo_optimized>par_repo, the allocation at 580 may comprise allocating the position in memory if it is not breaking a concentration limit. An associated instruction may also be generated during the allocation at 580. While the allocation may complete if it is then determined at 590 that all instructions have been generated, if more work is required then the allocation at 570 may proceed at 600 by substituting excess collateral. In an embodiment, the determination at 590 may include generating a commit transaction instruction. If par_repo does not equal the par_repo_optimized structure, then the allocation at 570 may end. Otherwise, a begin transaction instruction may be created for future execution. When substituting excess collateral at 600, for each position where par_repo>par_repo_optimized, the collateral may be removed up to (par_repo−par_repo_optimized), while keeping the deal fully collateralized. In an embodiment, for each position moved, a substitution instruction may be generated. In an embodiment, it may be acceptable to move positions to a tolerated level above (par_repo−par_repo_optimized), which may facilitate simpler transactions, and may result in fewer substitution instructions being generated.
If at 610 it is determined that no instructions were generated in the previous step, then the allocation at 570 may proceed at 620 by substituting to maximize cash exposure. In an embodiment, substituting excess collateral at 600 may break to 610 if more than a pre-determined number of instructions are generated, which may keep the transaction size manageable. In an embodiment, substituting to maximum cash exposure at 620 may comprise, for each position where par_repo>par_repo_optimized, removing collateral up to (par_repo−par_repo_optimized), while keeping the maximum cash exposure below a pre-defined limit. In an embodiment, for each position moved, a substitution instruction may be generated. If not all cash exposure is determined to have been maximized at 630, and some collateral remains, then allocation at 570 may proceed at 640 by substituting any remaining collateral. In an embodiment, substituting to maximum cash exposure at 620 may break to 630 if more than a pre-determined number of instructions are generated, which may keep the transaction size manageable. In an embodiment, substituting remaining collateral at 640 may comprise, for each position where par_repo>par_repo_optimized, removing collateral up to (par_repo−par_repo_optimized). For each position moved, a substitution instruction may be generated. In an embodiment, if more than a pre-determined number of instructions are generated, the allocation at 570 may break to 590 to keep the transaction size manageable. If cash exposure has been determined to have been maximized at 630 or once remaining collateral has been substituted at 640, allocation at 570 may return to 580, with allocation of available collateral. In an embodiment, if instructions were generated at 610 or 640, the allocation at 570 may return to 590, determining if all instructions are generated. If, at this point, all allocation instructions have been generated at 590, then allocation may terminate. Otherwise, if more work is still required, then excess collateral may again be substituted at 600. If it is determined at 610 that instruction were created in the previous step, then allocation at 570 may return to allocating available collateral at 580 without again substituting to maximize cash exposure at 620 (and potentially substituting any remaining collateral at 640).
The above-discussed embodiments and aspects of this disclosure are not intended to be limiting, but have been shown and described for the purposes of illustrating the functional and structural principles of the inventive concept, and are intended to encompass various modifications that would be within the spirit and scope of the following claims.
Various embodiments may be described herein as including a particular feature, structure, or characteristic, but every aspect or embodiment may not necessarily include the particular feature, structure, or characteristic. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it will be understood that such feature, structure, or characteristic may be included in connection with other embodiments, whether or not explicitly described. Thus, various changes and modifications may be made to this disclosure without departing from the scope or spirit of the inventive concept described herein. As such, the specification and drawings should be regarded as examples only, and the scope of the inventive concept to be determined solely by the appended claims.
Claims
1. A computer system for facilitating transaction-subset-assignment of computer processing nodes to perform collateral allocation, the computer system comprising:
- a database comprising collateral allocation rules associated with a lender for a tri-party agreement; and
- one or more processors, located remotely from the database, programmed with computer instructions that, when executed by the one or more processors, cause the computer system to: perform a query to obtain a set of transactions; select, from a set of available nodes, a plurality of computer processing nodes available for performing collateral allocations for transactions obtained via the query; obtain, from the database, the collateral allocation rules associated with the lender; and cause each of the plurality of computer processing nodes to perform collateral allocations for one subset of the set of transactions in accordance with the collateral allocation rules by assigning transactions of the set of transactions to the computer processing nodes, wherein each of the computer processing nodes is configured to: transmit one or more parameter updates to be provided to other ones of the computer processing nodes; and perform its respective collateral allocation based on one or more parameter updates transmitted by the other ones of the computer processing nodes; and generate for display in a graphical user interface status information for collateral allocations performed for the one subset of the set of transactions.
2. The computer system of claim 1, wherein each of the computer processing nodes performs the collateral allocation with respect to the computer processing node's assigned subset of transactions based on a cost of carry index and a collateralization index.
3. The computer system of claim 2, wherein the computer system is further caused to:
- obtain, from at least one of the computer processing nodes, an update for the cost to carry index, the at least one computer processing node's collateral allocation for its assigned subset of transactions being based on the cost to carry update; and
- provide the cost to carry index update to the other ones of the computer processing nodes to cause the cost to carry index used by the other ones of the computer processing nodes to be updated such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the cost to carry index update.
4. The computer system of claim 2, wherein the computer system is further caused to:
- obtain, from at least one of the computer processing nodes, an update for the collateralization index, the at least one computer processing node's collateral allocation for its assigned subset of transactions being based on the collateralization index update; and
- provide the collateralization index update to other ones of the computer processing nodes to cause the collateralization index used by the other ones of the computer processing nodes to be updated such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the collateralization index update.
5. The computer system of claim 2, wherein the collateral allocation rules comprising an auto cash rule, and wherein the auto cash rule defines intra-day cash credit to be allocated to a borrower based on a difference between (i) a sum of cash credit allocated to the borrower for a transaction and a value of collaterals allocated to the transaction before the performance of collateral allocations by the computer processing nodes and (ii) a margin adjusted value of collaterals allocated to the transaction.
6. The computer system of claim 5, wherein each of the computer processing nodes is configured to:
- perform non-cash collateral allocation with respect to the computer processing node's assigned subset of transactions; and
- allocate cash credit intra-day to a borrower in accordance with the auto cash rule to collateralize each transaction of the computer processing node's assigned subset of transactions responsive to the computer processing node's non-cash collateral allocation
7. The computer system of claim 6, wherein, for each of the computer processing nodes, the computer processing node's allocating of cash credit intra-day to the borrower in accordance with the auto cash rule comprises allocating cash credit intra-day to the borrower according to Σd∈Db C(d)·θ[C(d)], and wherein the borrower is a borrower b and the lender is a lender l, and: θ ( x ) = { 1 if x > 0 0 if x ≤ 0.
- Db is a set of transactions d between the borrower b and the lender l;
- C(d)=C(0)(d)+A(0)(d)−A(d), wherein C(0)(d) and A(0)(d) are the auto cash and allocation of transaction d before the performance of collateral allocations by the computer processing nodes, with C(d) representing intra-day cash credit allocated to the borrower b so that each transaction d is collateralized, and A(d) representing the margin adjusted value of collateral allocated to the transaction d; and
8. A method for facilitating transaction-subset-assignment of computer processing nodes to perform collateral allocation, the method comprising:
- performing, by one or more processors, a query to obtain a set of transactions;
- selecting, by one or more processors, from a set of available nodes, a plurality of computer processing nodes available for performing collateral allocations for transactions obtained via the query;
- obtaining, by one or more processors, collateral allocation rules associated with a lender; and
- causing, by one or more processors, each of the plurality of computer processing nodes to perform collateral allocations for one subset of the set of transactions in accordance with the collateral allocation rules by assigning transactions of the set of transactions to the computer processing nodes,
- wherein each of the computer processing nodes is configured to: transmit one or more parameter updates to be provided to other ones of the computer processing nodes; and perform its respective collateral allocation based on one or more parameter updates transmitted by the other ones of the computer processing nodes; and
- generating for display in a graphical user interface status information for collateral allocations performed for the one subset of the set of transactions.
9. The method of claim 8, wherein each of the computer processing nodes performs the collateral allocation with respect to the computer processing node's assigned subset of transactions based on a cost of carry index and a collateralization index.
10. The method of claim 9, further comprising:
- obtaining, from at least one of the computer processing nodes, an update for the cost to carry index, the at least one computer processing node's collateral allocation for its assigned subset of transactions being based on the cost to carry update; and
- providing the cost to carry index update to the other ones of the computer processing nodes to cause the cost to carry index used by the other ones of the computer processing nodes to be updated such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the cost to carry index update.
11. The method of claim 9, further comprising:
- obtain, from at least one of the computer processing nodes, an update for the collateralization index, the at least one computer processing node's collateral allocation for its assigned subset of transactions being based on the collateralization index update; and
- provide the collateralization index update to the other ones of the computer processing nodes to cause the collateralization index used by the other ones of the computer processing nodes to be updated such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the collateralization index update.
12. The method of claim 9, wherein the collateral allocation rules comprising an auto cash rule, and wherein the auto cash rule defines intra-day cash credit to be allocated to a borrower based on a difference between (i) a sum of cash credit allocated to the borrower for a transaction and a value of collaterals allocated to the transaction before the performance of collateral allocations by the computer processing nodes and (ii) a margin adjusted value of collaterals allocated to the transaction.
13. The method of claim 12, wherein each of the computer processing nodes:
- performs non-cash collateral allocation with respect to the computer processing node's assigned subset of transactions; and
- allocates cash credit intra-day to a borrower in accordance with the auto cash rule to collateralize each transaction of the computer processing node's assigned subset of transactions responsive to the computer processing node's non-cash collateral allocation.
14. The method of claim 13, wherein, for each of the computer processing nodes, the computer processing node's allocating of cash credit intra-day to the borrower in accordance with the auto cash rule comprises allocating cash credit intra-day to the borrower according to Σd∈Db C(d)·θ[C(d)], and wherein the borrower is a borrower b and the lender is a lender l, and: θ ( x ) = { 1 if x > 0 0 if x ≤ 0.
- Db is a set of transactions d between the borrower b and the lender l;
- C(d)=C(0)(d)+A(0)(d)−A(d), wherein C(0)(d) and A(0)(d) are the auto cash and allocation of transaction d before the performance of collateral allocations by the computer processing nodes, with C(d) representing intra-day cash credit allocated to the borrower b so that each transaction d is collateralized, and A(d) representing the margin adjusted value of collateral allocated to the transaction d; and
15. A non-transitory computer-readable media for facilitating transaction-subset-assignment of computer processing nodes to perform collateral allocation, comprising instructions that, when executed by one or more processors, cause operations comprising:
- performing a query to obtain a set of transactions;
- selecting, from a set of available nodes, a plurality of computer processing nodes available for performing collateral allocations for transactions obtained via the query;
- obtaining, from a database located remotely from the one or more processors, collateral allocation rules associated with a lender;
- causing each of the plurality of computer processing nodes to perform collateral allocations for one subset of the set of transactions in accordance with the collateral allocation rules by assigning transactions of the set of transactions respectively to the computer processing nodes;
- obtaining, from at least one of the computer processing nodes, one or more parameter updates to be provided to other ones of the computer processing nodes;
- providing the one or more parameter updates to the other ones of the computer processing nodes such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the one or more parameter updates; and
- generating for display in a graphical user interface status information for collateral allocations performed for the one subset of the set of transactions.
16. The non-transitory computer-readable media of claim 15, wherein each of the computer processing nodes performs the collateral allocation with respect to the computer processing node's assigned subset of transactions based on a cost of carry index and a collateralization index.
17. The non-transitory computer-readable media of claim 16, the operations further comprising:
- obtaining, from the at least one of the computer processing nodes, an update for the cost to carry index, the at least one computer processing node's collateral allocation for its assigned subset of transactions being based on the cost to carry update; and
- providing the cost to carry index update to other ones of the computer processing nodes to cause the cost to carry index used by the other ones of the computer processing nodes to be updated such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the cost to carry index update.
18. The non-transitory computer-readable media of claim 17, the operations further comprising:
- obtaining, from the at least one of the computer processing nodes, an update for the collateralization index, the at least one computer processing node's collateral allocation for its assigned subset of transactions being based on the collateralization index update; and
- providing the collateralization index update to other ones of the computer processing nodes to cause the collateralization index used by the other ones of the computer processing nodes to be updated such that each of the other ones of the computer processing nodes performs its respective collateral allocation based on the collateralization index update.
19. The non-transitory computer-readable media of claim 15, wherein the collateral allocation rules comprising an auto cash rule, and wherein the auto cash rule defines intra-day cash credit to be allocated to a borrower based on a difference between (i) a sum of cash credit allocated to the borrower for a transaction and a value of collaterals allocated to the transaction before the performance of collateral allocations by the computer processing nodes and (ii) a margin adjusted value of collaterals allocated to the transaction.
20. The non-transitory computer-readable media of claim 15, wherein each of the computer processing nodes is a message passing interface node.
Type: Application
Filed: Apr 26, 2021
Publication Date: Sep 2, 2021
Inventors: Brian BLANK (Manalapan, NJ), Song HE (Warren, NJ), Madhusudan RANA (Casselberry, FL), Pavithran RAJENDRAN (Tamil Nadu)
Application Number: 17/240,719