Valuation code for various standard financial products