One of the casualties of the credit crisis has been the idea of fair-value accounting--the practice of valuing financial assets , mainly securities , at market prices or the closest thing there is to them .