Questions tagged [yahoo-finance]

Yahoo! Finance is a service from Yahoo! that provides financial information. It is the top financial news and research website in the United States. PLEASE NOTE : THE RELATED API HAS BEEN DISCONTINUED BY YAHOO.

Yahoo! Finance offers information including stock quotes, stock exchange rates, corporate press releases and financial reports, and popular message boards for discussing a company's prospects and stock valuation. It also offers some hosted tools for personal finance management. Yahoo! Finance Worldwide offers similar portals localized to assorted large countries in South America, Europe, and Asia.

Its URL is https://finance.yahoo.com/

NOTE:

This service API has been discontinued by Yahoo. The API returns:

It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to finance.yahoo.com.

1319 questions
12
votes
4 answers

Yahoo Finance API stock/ticker lookup only allowing exact match

Until yesterday a query such as this http://autoc.finance.yahoo.com/autoc?query=a&callback=YAHOO.Finance.SymbolSuggest.ssCallback yielded a long list of fuzzy/broadmatch results for both ticker and company name. Since today you are a.) required to…
jco40
  • 297
  • 3
  • 9
12
votes
1 answer

Getting stock's historical data

We would like to check on stock's historical data, using HTTP request, and get JSON. Using the yahoo API ,I found it hard to not only clearly understand the HTTP request fields, but also to get the data of a certain day (not average for each day,…
Curnelious
  • 1
  • 16
  • 76
  • 150
11
votes
4 answers

yahoo finance quotes API and historical data API

The yahoo finance quotes API(http://download.finance.yahoo.com/d/quotes.csv?) provides access to a number of features associated with a company for the current year (Sector Price Dividend Yield Price/Earnings Earnings/Share Book Value 52…
mathopt
  • 569
  • 1
  • 6
  • 17
11
votes
3 answers

How to Access Yahoo Finance YQL query with historical data

I'm new to YQL. Perhaps this is very trivial, but I couldn't quite figure this out. I know, for instance, how to query current stock data from Yahoo/YQL using the YQL console: http://developer.yahoo.com/yql/console/ with the query string: select *…
user780069
  • 431
  • 2
  • 5
  • 6
10
votes
6 answers

Yahoo! Finance API DOW

Until now, I've been using the INDU ticker to follow the DOW with the Yahoo! API. For whatever reason you were unable to directly follow ^dji ^djia or any other reasonable combination. Up until yesterday, INDU was working fine. However now I receive…
Peter Kazazes
  • 3,600
  • 7
  • 31
  • 60
10
votes
1 answer

calculating slope on a rolling basis in pandas df python

I have a dataframe : CAT ^GSPC Date 2012-01-06 80.435059 1277.810059 2012-01-09 81.560600 1280.699951 2012-01-10 83.962914 1292.079956 .... 2017-09-16 144.56653 2230.567646 and I want to find the slope of…
thomas.mac
  • 1,236
  • 3
  • 17
  • 37
10
votes
2 answers

How to create a composite strategy, using multiple instruments, in Pyalgotrade?

I'm using pyalgotrade for a trading strategy where I want to use multiple tickers in a list. The way it is set up now, it runs the strategy for each individual ticker in the list, but what I want it to do is to run them all as one, composite…
10
votes
5 answers

Yahoo Finance Package installation in Anaconda

I am trying to install Yahoo Finance Package from Anaconda Cloud with the below CMD Line instruction pip install -i http://pypi.anaconda.org/pypi/simple yahoo-finance But I am getting an error, not sure how to bypass. Please help If I do pip…
Deb
  • 295
  • 1
  • 3
  • 11
10
votes
2 answers

Yahoo! Finance API, how to get historical intraday data for one particular day?

I found an online article about how to download historical intraday data from Yahoo at : http://www.quantshare.com/sa-426-6-ways-to-download-free-intraday-and-tick-data-for-the-us-stock-market But how to get one particular day's historical intraday…
Frank
  • 30,590
  • 58
  • 161
  • 244
10
votes
2 answers

Getting stocks by industry via Yahoo Finance

i want to list all available industries ( like: http://biz.yahoo.com/p/ ) and show all corresponding stocks. Until now I'm using YAHOO.Finance.SymbolSuggest.ssCallback for the symbol suggestion and http://finance.yahoo.com/d/quotes.csv?s=... for…
Andy
  • 314
  • 3
  • 4
  • 11
9
votes
3 answers

Yahoo finance API gives error 403 (forbidden) on old URL and User-Agent

One of the use cases I use Yahoo finance API for is to find out the earnings date for a given stock. This was working fine till about 7/2021 but started giving error 403 (forbidden). After struggling a while, found that adding a {'User-agent':…
Raju58
  • 111
  • 1
  • 3
9
votes
4 answers

Python Plotly How to remove datetime gaps in candle stick chart?

I am trying to remove the datetime gaps in my candlestick (the gaps are the time periods when the stock market is closed, hence there are not data). Can't seem to find a good solution for using plotly graph object. Is there a feasible way to do…
9
votes
8 answers

google finance api not working from 6/september/2017

I was using google finance api to get the stock quotes and display the contents on my site. All of a sudden from 6/september/2017 this stopped working. The url i used to get the stock quotes is…
9
votes
1 answer

Is there a source to find a list of symbols?

I'm using the data of alpha vantage for a stock market analysis site. But I cannot find a complete list of symbols available ( to be used in a selection drop down ).
Christian
  • 848
  • 1
  • 11
  • 23
9
votes
7 answers

Yahoo Finance Historical data downloader url is not working

I have used the following url to fetch the historical data from yahoo finance. From last 16th May, 2017 the url is not working. http://real-chart.finance.yahoo.com/table.csv?s=AAL&a=04&b=01&c=2017&d=04&e=02&f=2017&g=d&ignore=.csv Seems like they…
Suvonkar
  • 2,440
  • 12
  • 34
  • 44
1 2
3
87 88