Module for portfolio optimization, prices and options