If I wanted to test a strategy between 2 stocks - for example RCL and CCL and see how one performed versus the other ahead of key dates (earnings, dividends) is there a free program i can use to make a strategy and see what the results would be
for example, if I wanted to buy 100 shares of RCL and sell the same dollar value of CCL 3 days before the ex-dividend date, is there a program that can tell me the historical return of that strategy and perhaps allow me to play with the days ie (buy/sell 4 days before ex, 3 days before ex and 2 days before ex, and then the ideal period to exit the trade after the dividend is paid)
Thank you in advance
for example, if I wanted to buy 100 shares of RCL and sell the same dollar value of CCL 3 days before the ex-dividend date, is there a program that can tell me the historical return of that strategy and perhaps allow me to play with the days ie (buy/sell 4 days before ex, 3 days before ex and 2 days before ex, and then the ideal period to exit the trade after the dividend is paid)
Thank you in advance