Can I get a dividend "free lunch" by buying a stock just before the ex-dividend date and selling it immediately after?
What prevents investors from buying high yield stocks and selling them as soon as their dividend is paid out?