yahoo-finance

https://query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.xchange where pair in (“ARSARS”)&env=store://datatables.org/alltableswithkeys

百般思念 提交于 2019-12-01 07:01:18
I have been using the following URL for the past 3 years without issue. However, it has stopped returning results. URL: https://query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.xchange where pair in ("ARSARS")&env=store://datatables.org/alltableswithkeys Now returns the following: <?xml version="1.0" encoding="UTF-8"?> <query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" yahoo:count="0" yahoo:created="2017-11-02T09:33:25Z" yahoo:lang="en-AU"> <results/> </query><!-- total: 9 --> Notice how there are no results, it simply has the tag "results". I have tried on this many

Using BeautifulSoup to Search Through Yahoo Finance

江枫思渺然 提交于 2019-11-30 23:09:42
I'm trying to pull information from the 'Key Statistics' page for a ticker in Yahoo (since this isn't supported in the Pandas library). Example for AAPL: from bs4 import BeautifulSoup import requests url = 'http://finance.yahoo.com/quote/AAPL/key-statistics?p=AAPL' page = requests.get(url) soup = BeautifulSoup(page.text, 'lxml') enterpriseValue = soup.findAll('$ENTERPRISE_VALUE', attrs={'class': 'yfnc_tablehead1'}) #HTML tag for where enterprise value is located print(enterpriseValue) Edit: thanks Andy! Question: This is printing an empty array. How do I change my findAll to return 598.56B ?

Using BeautifulSoup to Search Through Yahoo Finance

时光总嘲笑我的痴心妄想 提交于 2019-11-30 18:39:57
问题 I'm trying to pull information from the 'Key Statistics' page for a ticker in Yahoo (since this isn't supported in the Pandas library). Example for AAPL: from bs4 import BeautifulSoup import requests url = 'http://finance.yahoo.com/quote/AAPL/key-statistics?p=AAPL' page = requests.get(url) soup = BeautifulSoup(page.text, 'lxml') enterpriseValue = soup.findAll('$ENTERPRISE_VALUE', attrs={'class': 'yfnc_tablehead1'}) #HTML tag for where enterprise value is located print(enterpriseValue) Edit:

How can get ' USDJPY'(currency rates) with pandas and yahoo finance?

≡放荡痞女 提交于 2019-11-30 14:45:23
I am learning and using the pandas and python. Today, I am trying to make a fx rate table, but I got a trouble with getting the pricess of 'USDJPY'. When I get a prices of 'EUR/USD', i code like this. eur = web.DataReader('EURUSD=X','yahoo')['Adj Close'] it works. But when I wrote jpy = web.DataReader('USDJPY=X','yahoo')['Adj Close'] the error message comes like this: --------------------------------------------------------------------------- IOError Traceback (most recent call last) in () ----> 1 jpy = web.DataReader('USDJPY=X','yahoo')['Adj Close'] C:\Anaconda\lib\site-packages\pandas\io

Yahoo Finance API stock/ticker lookup only allowing exact match

落爺英雄遲暮 提交于 2019-11-30 05:03:36
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 specific region and language and b.) it is only yielding exact match results only for the ticker and not for the company name. Thus usually you get only one results back. Thus for http://autoc.finance.yahoo.com/autoc?query=y&region=US&lang=en&callback=YAHOO.Finance.SymbolSuggest.ssCallback there's now only one result: YAHOO.Finance.SymbolSuggest

Programmatically access Currency Exchange Rates from Yahoo Finance by Date

旧城冷巷雨未停 提交于 2019-11-30 04:58:38
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 different countries. Here's the example from the answer mentioned above to get today's echange rate for GBP to EUR: http://download.finance.yahoo.com/d/quotes.csv?s=GBPEUR=X&f=sl1d1t1ba&e=.csv Does anyone know how to do this for any other dates? THANK YOU! To retrieve historical data of currency exchange rates, you can't use Yahoo Finance. Their API only

Getting stock's historical data

北城以北 提交于 2019-11-30 00:42:05
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, but the values during a certain day), with this : http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.historicaldata%20where%20symbol%20%3D%20%22AAPL%22%20and%20startDate%20%3D%20%222012-09-11%22%20and%20endDate%20%3D%20%222014-02-11%22&format=json&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=

Programmatic access to detailed historical financial data [closed]

孤街醉人 提交于 2019-11-29 21:56:52
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 http://code.google.com/p/yahoo-finance-managed/wiki/csvHistQuotesDownload . However, I'm trying to find a place where I can programmatically access detailed historical data, like what was a company's earnings 10 years ago, and not just the price of the stock. Does anyone know of such a site? I'm willing to pay, and I think http://www.mergent.com/servius , but they seem very, very expensive

JSON formatted stock quote API (live or historical)

做~自己de王妃 提交于 2019-11-29 19:14:20
i am building a RESTful web app for myself and i'm interested in getting JSON-formatted stock data for free. I plan to use javascript for the client-side. Is there a free stock API that i can tap into, that does not return XML and does not use C#. EDIT: i found this JSON query...will it do the job? http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(%22YHOO%22%2C%22AAPL%22%2C%22GOOG%22%2C%22MSFT%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&format=json Sure, if brought back and parsed as JSON with javascript, you would be

Get historic prices by ISIN from yahoo finance

两盒软妹~` 提交于 2019-11-29 17:14:18
问题 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 goes, yahoo can only provide prices for stock ticker symbols, which I do not have. Is there a way to get for example for ISIN: AT0000609664 , which is the company Porr the historic prices from yahoo automatically via their api? I appreciate your