Two Essays on Investor Emotions and Their Effects in Financial Markets