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

getting multiple company names from their respective ticker

Just looking for a return, where I can input ticker symbols and receive a list of the full company names: list = ['MSFT','HIVE','etc','etc'] ticker(list) will return list of company names
pbb031
  • 1
  • 1
-2
votes
1 answer

How to Import Historical Data from Yahoo Finance into Google Sheets and make it Auto-Update?

I've been trying to get Yahoo Finance ES symbol daily OHLC data into Google Sheet. I've checked the disabling javascript and reloading the page method by @Rubén and the OHLC data displays after reloading the page. But the IMPORT formulas returns…
-2
votes
1 answer

Get free SP500 historical end of day data through API

Is there any way to get free SP500 historical end-of-day data ideally in API and csv form? Not sure why it seems to be harder than I could imagine. For example: Quandl: SPY or SPX symbol not found rs =…
Chubaka
  • 2,933
  • 7
  • 43
  • 58
-2
votes
2 answers

How to ignore KeyError in my case? (Python)

Im trying to ignore KeyError in my case or other kind of errors while working with dictionaries that have blank or "NA" values. This is my code. The error comes from when using the stock like "CCIV", which does not have an employee count in Yahoo…
avocardio
  • 9
  • 1
  • 6
-2
votes
1 answer

How to see the full row of the historical data obtained from Yahoo Finance through Jupyterlab

I just started learning python today so bear with me on this one. Every time i tried to pull a the historical price from Yahoo Finance using pandas-datareader, the output has always been like this enter image description here Based on the attached…
-2
votes
1 answer

All my .csv files in Python are converting to excel files df.to_csv('stock_dfs/{}.csv'.format(ticker))

I am run this code and it works fine but the files it converts are supposed to be .csv but all my files in the folder are excel. I am not sure if this mistake is code related. but would appreciate any help. import bs4 as bs import datetime as…
-2
votes
1 answer

Yahoo Finance - Web scraping with R - SelectorGadget doesn't work

I am trying to get the 1980 matching stocks from this Yahoo Finance Screener: [https://finance.yahoo.com/screener/unsaved/38a77251-0996-439b-8be4-9d10ff18ff79?count=25&offset=0] using R and rvest. I normally use XPath but I can't get it with…
CarlosFC
  • 43
  • 6
-2
votes
1 answer

Stock prices and comparison

I parsed a html table for financial transactions and have 3 different lists: 1. DATE 2. TICKER 3. MOTHER COMPANY I would like to populate a stock prices for stocks from my TICKER list for a maximum possible period I am new to python and cant figure…
Tomas
  • 15
  • 6
-2
votes
1 answer

How to understand assert in python under website data retrieval use case?

I have been trying to run a code which I found on github to retrieve the yahoo finance data and kept running into below error. I have checked the Assert statement related docs but couldnt understand the use case here.. Can anyone help me understand…
mmmm2020
  • 11
  • 1
-2
votes
5 answers

stock quotes for android

Is there a way to download and parse stock quotes from yahoo or google using the android platform? Thanks
locoboy
  • 38,002
  • 70
  • 184
  • 260
-2
votes
3 answers

yahoo finance API stopped working

Anyone else having problems with this API? I have just recently started working with it but suddenly everything that was working both mine and others is no longer working, first the CSV interface and now the YQL interface. Surprised I don't see…
rolandr
  • 7
  • 1
-2
votes
1 answer

Yahoo Stock API Format

I am using yahoos stock api to pull information for my java application, I can pull high and low using URL yahoofinance = new URL("http://finance.yahoo.com/d/quotes.csv?s=" + stocks[0] + "+" + stocks[1] + "&f=hg"); I figure that f=hg is…
CHouse95
  • 111
  • 8
-2
votes
1 answer

Yahoo / Google finance JSON not working in Chrome

This is my JS code. This works perfectly in IE. If I paste the request link in browser then I do get JSON reply but when I run this code. I do not get any reply for either Yahoo or Google requests. Works very well in IE though. //var url1 =…
-2
votes
1 answer

Referencing multiple rows in pandas dataframe

I am really new to programming and trying to muddle my way through learning Python. I am writing some code to work with data from Yahoo Finance. It is mported to a Pandas dataframe I want to perform a simple calculation that refers multiple rows of…
MGP
  • 1
-2
votes
2 answers

Best way to use Yahoo-Finance Python API

The output of historical data using the Python Yahoo-Finance API is structured as follows: {u'Adj_Close': u'63.209999', u'Close': u'63.209999', u'Date': u'2015-08-27', u'High': u'63.259998', u'Low': u'61.080002', u'Open': u'61.459999', …
trf
  • 1
  • 1
1 2 3
87
88