yahoo-finance

Getting data from Yahoo Finance

一世执手 提交于 2019-11-27 05:00:25
问题 I read about the YQL, but I didn't understand how can I get some simple data (like company ticker, market cap, stock price, etc.), for ALL COMPANIES? And an additional question, how can I get all Yahoo Finance tables and theirs fields that can be queried by YQL? 回答1: To your first question, you can't really do any query through YQL to get data for all companies. It's more oriented towards obtaining data for a smaller query. (I.e., it's not going to give you a full data dump of the whole Yahoo

Yahoo Finance API / URL not working: Python fix for Pandas DataReader

南楼画角 提交于 2019-11-27 03:38:03
问题 Yahoo Finance URL has not been accessible using the Pandas DataReader's "yahoo" method since 16 May 2017. I have yet to test this fix-yahoo-finance: https://pypi.python.org/pypi/fix-yahoo-finance that was posted just yesterday, with the statement: "Yahoo! finance has decommissioned their historical data API". EDIT August 2, 2017: I have since followed the steps in https://pypi.python.org/pypi/fix-yahoo-finance to: $ pip3 install fix_yahoo_finance --upgrade --no-cache-dir, upgraded pandas

Downloading mutliple stocks at once from yahoo finance python

和自甴很熟 提交于 2019-11-27 03:29:17
问题 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 = ["stock1","stock2",....] start = datetime.datetime(2012,5,31) end = datetime.datetime(2018,3,1) f = pdr.DataReader(stocks, 'yahoo',start,end) Since yesterday i get the error "IndexError: list index out of range", which appears only if I try to get multiple stocks.

What is the query limit on Yahoo's Finance API?

流过昼夜 提交于 2019-11-27 00:43:38
问题 What is the query limit for Yahoo's Finance API? Or where is the documentation that describes the limit? For all of Yahoo's API's I've only been able to find general documentation for all API's. If you know where the documentation is for Yahoo's Finance API that'd also be appreciated. (I've been searching for a few days on Google, and on Yahoo's API sites, finally turned to friends at SO) Thanks! 回答1: See the Yahoo Query Language Usage Information and Limits page. This is for all of the YQL

Alternatives to the Yahoo Finance API? [closed]

谁说胖子不能爱 提交于 2019-11-27 00:11:35
问题 Yahoo finance recently discontinued their API. I have been looking for alternatives. The ones I've found so far are Google Finance and Quandl. Google Finance was deprecated in 2011 but still appears to work somewhat. However, there is little to no documentation, and I need to pull dividend data which I was unable to find. Quandl appears to work well but the data is spread across multiple databases which makes getting appropriate access timely and costly. Does anyone know of any other viable

Yahoo finance webservice API

删除回忆录丶 提交于 2019-11-27 00:07:02
问题 I am trying to get realtime stock data from BSE and NSE using yahoo finance web-services. I was able to get some data using following URL http://finance.yahoo.com/webservice/v1/symbols/COALINDIA.NS/quote?format=json But it gives me very limited information. { "list": { "meta": { "type": "resource-list", "start": 0, "count": 1 }, "resources": [ { "resource": { "classname": "Quote", "fields": { "name": "COAL INDIA LTD", "price": "367.649994", "symbol": "COALINDIA.NS", "ts": "1418895539", "type"

Python and Yahoo finance weird “YQLQueryError(response['error']['description'])” get_historical

此生再无相见时 提交于 2019-11-26 23:37:11
问题 I am getting some very weird results using Python and yahoo-finance package. When I run my function on individual stock symbols the function performs OK. But if I put them in a loop (hope later on to expand the list), I got some error codes from YQL. Have anyone encountered similar errors or did I miss anything? See the code below and outputs. Sorry relatively new to Python. Thanks for any help! t1=m1('AAPL') t2=m1('MSFT') df1=['MSFT','APPL'] print(t1) print(t2) for stock in df1: print(type

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

最后都变了- 提交于 2019-11-26 22:25:07
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 error: Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, : cannot download all files In addition: Warning message: In download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m, : URL 'https://ichart.finance.yahoo.com/table.csv? s=WOW&a=0&b=01&c=2007&d=4&e=17&f=2017&g=d&q=q&y=0&z=WOW&x=.csv': status was '502 Bad Gateway' The

Has Yahoo finance web service disappeared? API changed? Down temporarily?

人走茶凉 提交于 2019-11-26 19:43:51
For quite some time I've been using the following REST API to query Yahoo finance for current prices. It is documented in several Stack Overflow posts, e.g. Yahoo finance webservice and elsewhere in yahoo-finance . http://finance.yahoo.com/webservice/v1/symbols/$SYMBOLS/quote?format=json where $SYMBOLS is a comma-delimited list of stock or index symbols. Yesterday the query stopped working, returning only a "Moved Temporarily. Redirecting to ..." message. Is this web service now closed? Has it been replaced by YQL or another API? Queries for a table of historic prices to "ichart" still work. E

Has Yahoo suddenly today terminated its finance download API?

做~自己de王妃 提交于 2019-11-26 13:19:25
For months I've been using a url like this, from perl: http://finance.yahoo.com/d/quotes.csv?s=$s&f=ynl1 #returns yield, name, price; Today, 11/1/17, it suddenly returns a 999 error. Is this a glitch, or has Yahoo terminated the service? I get the error even if I enter the URL directly into a browser as, eg: http://finance.yahoo.com/d/quotes.csv?s=INTC&f=ynl1 so it doesn't seem to be a 'crumb' problem. Note: This is NOT a question which has been answered in the past! It was working yesterday.That it happened on the first of the month is suspicious. aleg Yahoo confirmed that they terminated the