yahoo-api

Stock Quotes from Yahoo finance for Indian NSE, BSE

岁酱吖の 提交于 2021-02-18 19:18:05
问题 Following is my query using YQL, data is fetched using Yahoo finance, I am using the symbols for the stocks traded on the Indian NSE, BSE http://query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.quotes where symbol in ("AIAENG.NS","ATULAUTO.NS")&env=http://datatables.org/alltables.env&format=json Strange thing is this query always return null data (Invalid data) for all the fields, even when the symbol that I am using is correct and can be used on the Yahoo finance for querying

problem with 1m interval in get_data_yahoo(pandas_datareader)

ぃ、小莉子 提交于 2020-12-29 08:42:31
问题 I wrote from pandas_datareader import data as pdr import yfinance as yf data = pdr.get_data_yahoo("AAPL", start='2020-04-12', end='2020-04-13', interval="m") And I got a error KeyError 'Date' I heard people saying Yahoo finance API is down but I still can get the following code working correctly data = pdr.get_data_yahoo("AAPL", start='2020-04-12', end='2020-04-13') 回答1: pandas_datareader interval="m" means 1 month you need yfinance. pip download yfinance import yfinance a = yfinance.download

problem with 1m interval in get_data_yahoo(pandas_datareader)

回眸只為那壹抹淺笑 提交于 2020-12-29 08:42:30
问题 I wrote from pandas_datareader import data as pdr import yfinance as yf data = pdr.get_data_yahoo("AAPL", start='2020-04-12', end='2020-04-13', interval="m") And I got a error KeyError 'Date' I heard people saying Yahoo finance API is down but I still can get the following code working correctly data = pdr.get_data_yahoo("AAPL", start='2020-04-12', end='2020-04-13') 回答1: pandas_datareader interval="m" means 1 month you need yfinance. pip download yfinance import yfinance a = yfinance.download

problem with 1m interval in get_data_yahoo(pandas_datareader)

烈酒焚心 提交于 2020-12-29 08:41:01
问题 I wrote from pandas_datareader import data as pdr import yfinance as yf data = pdr.get_data_yahoo("AAPL", start='2020-04-12', end='2020-04-13', interval="m") And I got a error KeyError 'Date' I heard people saying Yahoo finance API is down but I still can get the following code working correctly data = pdr.get_data_yahoo("AAPL", start='2020-04-12', end='2020-04-13') 回答1: pandas_datareader interval="m" means 1 month you need yfinance. pip download yfinance import yfinance a = yfinance.download

Yahoo OAuth2 Implicit Grant flow not working for new yahoo app

落爺英雄遲暮 提交于 2020-08-24 07:40:06
问题 I have existing web app and dedicated Yahoo App working. It uses OAuth2 Implicit Grant Flow Now I want to set up another domain working by same principle. I have created new Yahoo App with new callback domain Url used to get user consent (in both cases) is https://api.login.yahoo.com/oauth2/request_auth?client_id=consumer_key&redirect_uri=https://redir_url&response_type=token It is working for old domain and old Yahoo App (Consumer key ends in --) But it doesn't want to work with new domain

Fetching 1 minute bars from Yahoo Finance

白昼怎懂夜的黑 提交于 2020-02-26 13:05:53
问题 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 query: http://chartapi.finance.yahoo.com/instrument/1.0/AAPL/chartdata;type=quote;range=1d/csv The thing is that data keeps on changing even when the markets are closed! Try refreshing every minute or so and some minute bars change, even from the beginning of the session. Another

Get contacts using Yahoo Contacts API

旧街凉风 提交于 2020-01-21 05:29:25
问题 I followed these steps "http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html" and I got oauth token and GUID from authenticated user. Now I am trying retrieve all contacts through GUID as I have seen on searchs for web using this url "http://social.yahooapis.com/v1/user/GUID_HERE/contacts" and passing authorization data via headers but I just get this response: <?xml version='1.0' encoding='UTF-8'?><yahoo:errorxmlns:yahoo='http://yahooapis.com/v1/base.rng' xml:lang='en-US'><yahoo

Yahoo php sdk getContacts() intermittently works

自闭症网瘾萝莉.ら 提交于 2020-01-06 14:58:57
问题 I'm using the Yahoo! Social SDK to allow a user to authorize and then get a list of their contacts. I've setup the app to allow for the contact data to be read and this is verified when authenticating. The authentication works because I can the profile using getProfile() on every single page load. The getContacts() is the problem though as 95% of the time it returns false which is not correct. Am I doing something wrong with the request tokens that means getContacts() doesn't have the correct

Yahoo php sdk getContacts() intermittently works

断了今生、忘了曾经 提交于 2020-01-06 14:58:15
问题 I'm using the Yahoo! Social SDK to allow a user to authorize and then get a list of their contacts. I've setup the app to allow for the contact data to be read and this is verified when authenticating. The authentication works because I can the profile using getProfile() on every single page load. The getContacts() is the problem though as 95% of the time it returns false which is not correct. Am I doing something wrong with the request tokens that means getContacts() doesn't have the correct

Yahoo Authorization OAUTH:oauth_problem=“timestamp_refused”

那年仲夏 提交于 2020-01-03 16:55:09
问题 I have been following Yahoo OAUTH guide closely and successfully established a connection and was able to retrieve the access token along with other objects which i get in response URI.But, now when i try to fetch the Contacts of the authenticated user i always get this Error no matter what NTP server i choose for my computers clock: Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth oauth_problem="timestamp_refused", realm="yahooapis.com"}