Hi,
If I close my position (sell my stock) after the ex-dividend date, does Quantopian still pay me the dividend? Is this factored in the back tests? If yes, when is the dividend added to the P/L. On the payout date or on the ex-dividend date?
Best regards,
Pravin