google-finance

Downloading Stock quotes to App

限于喜欢 提交于 2019-12-03 21:32:35
I'm new to iOS programming and want to display stock quotes and stock details in the iPad app I'm designing. I am looking at two options Im looking at google finance or yahoo finance. How would I go about sending a url request to their sites and then handling the reply in Xcode? I see that yahoo have a YQL service but I can't wrap my head around how I would get it to work despite reading some yahoo documentation online so Im looking to avoid it. Ive had a look at the google api but I can't figure out how to integrate it and get it to request stock details. I've decided to go through the url

Leading slashes in JSON from Google Finance API call

◇◆丶佛笑我妖孽 提交于 2019-12-03 17:00:29
I've been using the Google Finance API to successfully gather some stock info. The problem is that after a call to http://www.google.com/finance/info?infotype=infoquoteall&q=[$tickerSymbol] , the JSON that Google returns has // added before it and therefore the string cannot be encoded using PHP's json_encode() . The JSONLint JSON Validator confirms that the // s are not valid. The obvious workaround is to strip the slashes from the beginning of the JSON. None-the-less, I am left wondering why Google is adding slashes to the JSON it is returning. Is there a purpose behind the extra slashes? Is

page scraping to get prices from google finance

瘦欲@ 提交于 2019-12-03 09:12:11
I am trying to get stock prices by scraping google finance pages, I am doing this in python, using urllib package and then using regex to get price data. When I leave my python script running, it works initially for some time (few minutes) and then starts throwing exception [HTTP Error 503: Service Unavailable] I guess this is happening because on web server side it detects frequent page updates as a robot and throws this exception after a while.. is there a way around this, i.e. deleting some cookie or creating some cookie etc.. or even better if google gives some api, I want to do this in

How to work with Google Finance?

拟墨画扇 提交于 2019-12-03 08:20:00
I want to develop a small application to get stock price from Google Finance automatically and store it in my local machine for future analysis. Can anyone give me some clue how to get started? I know some C#. Will it be suitable for this purpose? Thank you in advance. rajaram_s The Google Finance Gadget API has been officially deprecated since October 2012 , but as of April 2014, it's still active: http://www.google.com/finance/info?q=NASDAQ:ADBE Note that if your application is for public consumption, using the Google Finance API is against Google's terms of service . This gives a JSON

stocks splitting api google or yahoo

白昼怎懂夜的黑 提交于 2019-12-03 03:58:54
问题 I am looking for a way to get stock splitting information. Using the yahoo stock API I can get all types of info on any symbol but I don't think I can get the split ratio or even whether it split. Does anyone know of a way of getting this info? 回答1: This is how the quantmod R package does it. The split information is in the "Dividend Only" CSV: http://ichart.finance.yahoo.com/x?s=IBM&a=00&b=2&c=1962&d=04&e=25&f=2011&g=v&y=0&z=30000 来源: https://stackoverflow.com/questions/6119867/stocks

stocks splitting api google or yahoo

本小妞迷上赌 提交于 2019-12-02 17:21:49
I am looking for a way to get stock splitting information. Using the yahoo stock API I can get all types of info on any symbol but I don't think I can get the split ratio or even whether it split. Does anyone know of a way of getting this info? This is how the quantmod R package does it. The split information is in the "Dividend Only" CSV: http://ichart.finance.yahoo.com/x?s=IBM&a=00&b=2&c=1962&d=04&e=25&f=2011&g=v&y=0&z=30000 来源: https://stackoverflow.com/questions/6119867/stocks-splitting-api-google-or-yahoo

DataReader google finance date not working

为君一笑 提交于 2019-12-01 00:50:06
I was just using pandas datareader to get the stock data for the past two weeks or so and it was working fine. All of a sudden since yesterday the date provided wasnt working anymore. It just gives me the past year data and I cant change the date. Used to work with the one commented out, but now its not. I even changed it to use datetime object, but still not working. Any idea? I updated pandas and pandas_datareader still no luck. Used another computer still didnt work. Did they just recently change the API? from pandas_datareader import data import datetime #start = '2010-01-01' #end = '2017

DataReader google finance date not working

二次信任 提交于 2019-11-30 19:24:27
问题 I was just using pandas datareader to get the stock data for the past two weeks or so and it was working fine. All of a sudden since yesterday the date provided wasnt working anymore. It just gives me the past year data and I cant change the date. Used to work with the one commented out, but now its not. I even changed it to use datetime object, but still not working. Any idea? I updated pandas and pandas_datareader still no luck. Used another computer still didnt work. Did they just recently

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

Error in Google finance API

∥☆過路亽.° 提交于 2019-11-29 12:17:16
I want to convert currencies using google finance api. But its not working in my local machine(India). It works fine when I hit from one server located in USA and provides proper result. Url : https://finance.google.com/finance/converter?a=1&from=ZAR&to=USD&meta=53336452-3e60-4fa1-9740-9ef8ea9e9118 Can anyone please help me to work this api properly in my local machine? Any help will be appriciated Thanks. I was facing the similar issue ( Google Converter API suddenly not working ) As per my finding, I got the solution and conclude here that Google recently update the finance API. The below