I have downloaded the mvport package from ssc (ssc install mvport), and use the command returnsyh. I typed help returnsyh and I tried to bring a list of tickers from Yahoo Finance, but it does not seem like I am finding any tickers:
Code:
clear all returnsyh AAPL MSFT GE GM WMT XOM, fm(1) fd(1) fy(2009) lm(12) ld(31) ly(2022) frequency(d) price(adjclose) Yahoo does not have the ticker AAPL or could not be reached Please make sure you are online and/or redefine your range Yahoo does not have the ticker MSFT or could not be reached Please make sure you are online and/or redefine your range Yahoo does not have the ticker GE or could not be reached Please make sure you are online and/or redefine your range Yahoo does not have the ticker GM or could not be reached Please make sure you are online and/or redefine your range Yahoo does not have the ticker WMT or could not be reached Please make sure you are online and/or redefine your range Yahoo does not have the ticker XOM or could not be reached Please make sure you are online and/or redefine your range no variables defined
0 Response to Download stock returns from Yahoo Finance via returnsyh (ssc)
Post a Comment