Modeling financial relationships