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
24
votes
1 answer

Error in new.session() : Could not establish session after 5 attempts

I've been facing in R the error message for days using getSymbols of the quantmod package: Error in new.session() : Could not establish session after 5 attempts. getSymbols(tick, from = date_from, to = date_to, warnings = FALSE, auto.assign =…
Marco Rago
  • 343
  • 1
  • 2
  • 6
21
votes
8 answers

JSON Decode Error with yFinance [JSONDecodeError: Expecting value: line 1 column 1 (char 0)]

I have been using yfinance for the last several weeks to pull historical data on a number of stocks. I normally run the program at the end of each week to store data for that week, but this problem error just randomly starting occurring this past…
20
votes
2 answers

Python, Pandas datareader and Yahoo Error RemoteDataError: Unable to read URL

I am trying to download historical data from Yahoo using Pandas datareader. This is the code that I normally use: import pandas_datareader as pdr df = pdr.get_data_yahoo('SPY') However, I started receiving this error today: RemoteDataError: Unable…
Martingale
  • 511
  • 1
  • 6
  • 15
18
votes
9 answers

Yahoo Finance API - GET quotes returns "Invalid Cookie"

For the past few years, I've been using the following link to fetch a full current quote for the symbols in the query: https://query1.finance.yahoo.com/v7/finance/quote?symbols=AAPL All of a sudden, as of about 5 hours ago, I'm now getting the error…
Biff Downhill
  • 245
  • 2
  • 10
18
votes
5 answers

Downloading multiple stocks at once from Yahoo Finance

I have a question about the function of Yahoo Finance using the pandas data reader. I'm using for months now a list with stock tickers and execute it in the following lines: import pandas_datareader as pdr import datetime stocks =…
ScharcoMolten
  • 183
  • 1
  • 1
  • 5
17
votes
2 answers

Get historic prices by ISIN from yahoo finance

I have the following problem: I have around 1000 unique ISIN numbers of stock exchange listed companies. I need the historic prices of these companies starting with the earliest listing until today on a daily basis. However, as far as my research…
Carol.Kar
  • 4,581
  • 36
  • 131
  • 264
16
votes
6 answers

Retrieve company name with ticker symbol input, yahoo or google API

Just looking for a simple api return, where I can input a ticker symbol and receive the full company name: ticker('MSFT') will return "Microsoft"
paulz
  • 382
  • 1
  • 3
  • 10
14
votes
6 answers

Can't download data from Yahoo Finance using Quantmod in R

I'm trying to download data from Yahoo using this code: library(quantmod) getSymbols("WOW", auto.assign=F) This has worked for me in the past in every occasion except now, 5 days before my group assignment is due. Except now I receive this…
Daniel
  • 149
  • 1
  • 1
  • 4
14
votes
6 answers

How to get historical data for currency exchange rates via Yahoo Finance?

I need to obtain JSON or XML response with the chronology of currency exchange rates, for example, from 2015-01-07 to 2015-03-07. With this answer we can get just the latest info on currency exchange rates for chosen currencies. Here we can get the…
Sergey V.
  • 981
  • 2
  • 12
  • 24
14
votes
2 answers

Fetching 1 minute bars from Yahoo Finance

I'm trying to download 1 minute historical stock prices from Yahoo Finance, both for the current day and the previous ones. Yahoo (just like Google) supports up to 15 days worth of data, using the following API…
Danny
  • 169
  • 1
  • 1
  • 6
14
votes
4 answers

Programmatically access Currency Exchange Rates from Yahoo Finance by Date

I found the answer to this question VERY useful, but I would like to also get exchange rates for dates in the past, not just today's exchange rates. I'm writing an iPhone app that uses the exchange rate to calculate money made from sales in…
Mark
  • 2,666
  • 3
  • 25
  • 29
14
votes
2 answers

concat pandas DataFrame along timeseries indexes

I have two largish (snippets provided) pandas DateFrames with unequal dates as indexes that I wish to concat into one: NAB.AX CBA.AX Close Volume Close Volume Date…
Matthew Brown
  • 1,028
  • 3
  • 11
  • 24
13
votes
6 answers

Programmatic access to detailed historical financial data

I know that Yahoo has a great API for accessing detailed financial metrics about a company documented at http://www.gummy-stuff.org/Yahoo-data.htm. Yahoo also provides historical pricing data, documented at…
Joshua Hartman
  • 1,216
  • 1
  • 11
  • 18
13
votes
9 answers

Python pandas datareader no longer works for yahoo-finance changed url

Since yahoo discontinued their API support pandas datareader now fails import pandas_datareader.data as web import datetime start = datetime.datetime(2016, 1, 1) end = datetime.datetime(2017, 5, 17) web.DataReader('GOOGL', 'yahoo', start,…
Scilear
  • 216
  • 1
  • 3
  • 10
13
votes
1 answer

How to get more than 10 search results from Yahoo Finance API?

The following call will search the Yahoo Finance API for stocks that have "Yahoo" in its name: http://d.yimg.com/autoc.finance.yahoo.com/autoc?query=yahoo®ion=US&lang=en-US&row=ALL&callback=YAHOO.Finance.SymbolSuggest.ssCallback Unfortunately,…
Timo Ernst
  • 15,243
  • 23
  • 104
  • 165
1
2
3
87 88