Patent ID: 8156023

Claim:
A method of responding to an event at a stock loan trading system used by borrowers and lenders, comprising: automatically determining, by a computer program executing at the stock loan trading system, a positive borrower sequence of the borrowers, a positive lender sequence of the lenders, a negative borrower sequence of the borrowers, and a negative lender sequence of the lenders, based on activities of the borrowers and lenders during a first predetermined time period, receiving, by the computer program executing at the stock loan trading system, an event that is one of (i) a request for a new stock loan from one of the borrowers, (ii) an offer to loan stock from one of the lenders, (iii) a stock return from one of the borrowers, and (iv) a stock recall from one of the lenders, when the event is one of a request for a new stock loan request or a new stock loan offer, (1) adding, by the computer program executing at the stock loan trading system, the event to the next batch auction for the stock (2) during the next batch auction, sorting, by the computer program executing at the stock loan trading system, the stock loan requests and the stock loan offers according to price, (3) at each price, matching, by the computer program executing at the stock loan trading system, the stock loan requests and the stock loan offers according to the positive borrower sequence and the positive lender sequence so as to (a) fulfill the quantity for an initial borrower before going on to a next borrower, and (b) for each borrower, to fulfill the quantity for an initial lender before going on to a next lender, and (4) moving, by the computer program executing at the stock loan trading system, borrowers that participated in the matching to the end of the positive borrower sequence, (5) moving, by the computer program executing at the stock loan trading system, lenders that participated in the matching to the end of the positive lender sequence, when the event is a stock return, (6) allocating, by the computer program executing at the stock loan trading system, the stock return according to the negative lender sequence, and (7) moving, by the computer program executing at the stock loan trading system, lenders that participated in the stock return to the end of the negative lender sequence, when the event is a stock recall, (8) allocating, by the computer program executing at the stock loan trading system, the stock recall according to the negative borrower sequence, and (9) moving, by the computer program executing at the stock loan trading system, borrowers that participated in the stock recall to the end of the negative borrower sequence.