An operatorial approach to stock markets