pandas-datareader
pandas-datareader copied to clipboard
Yahoo Finance data for an specific hour
Hi,
I want to download hystorical data of stock value for an determinated hour.
Does anyone know how to do?
I am using this code but extracts only to the end of the day. I want to extract data for a midday:
failed=[]
passed=[]
def collect_data(data):
mydata = pd.DataFrame()
for t in data:
try:
mydata[t] = wb.DataReader(t,data_source='yahoo',start='01-10-2019')['Adj Close']
passed.append(t)
except (IOError, KeyError):
msg= 'NaN'
failed.append(t)
print(mydata)
return mydata)
Tahank you!
Yahoo! doesn't make this data available.
Yahoo doesn't make it available but IEX does, would this be a feature I could work on for a PR? Appropriate for a FeatureRequest
My bad pseudocode
- If not in yahoo finance
-
-
If IEX premium
-
-
-
-
go get it in IEX?
-
-