Systems and techniques for operating on data to value an instrument include representing an account include accessing a transition matrix including probabilities for a borrower transitioning from one credit rating to another; determining for each credit rating whether a borrower will stand or exercise a loan option; valuing the loan option; and determining a present value of the instrument.