Answer
In the first case we would use the inference about two means for independent samples. And, in the second case, for dependent samples.
The second option is the best because stocks are influenced by the news, political speeches, etc. So, it is better select both samples in the same interval of time (the same weeks).
Work Step by Step
Given above.