google-finance

Getting stock news data from google in R [closed]

岁酱吖の 提交于 2019-12-07 17:23:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 months ago . I can use quantmod to get historical data and close-to-realtime quotes for stocks. I can also use quantmod to get financials data from Google. Are there any existing R packages that would let me grab Google's news feed for a given stock? If not, is there a package for reading and parsing RSS feeds in R? 回答1:

How to get Taiwan Stock Exchange Index in google spreadsheet

血红的双手。 提交于 2019-12-07 12:59:48
问题 How to get Taiwan Stock Exchange Index in google spreadsheet? This index do exist in google finance under https://www.google.com/finance?q=TPE%3ATAIEX I tried the following formula, but all of them are failed. =GoogleFinance("TPE:TAIEX"; "price") =GoogleFinance("TPE.TAIEX"; "price") =GoogleFinance("TAIEX.TW"; "price") =GoogleFinance("TAIEX:TPE"; "price") =GoogleFinance("TAIEX.TPE"; "price") =GoogleFinance("TPE%3ATAIEX"; "price") 回答1: =GoogleFinance("TWII"; "price") 回答2: I can propose you 2

How to get Taiwan Stock Exchange Index in google spreadsheet

自作多情 提交于 2019-12-05 21:24:01
How to get Taiwan Stock Exchange Index in google spreadsheet? This index do exist in google finance under https://www.google.com/finance?q=TPE%3ATAIEX I tried the following formula, but all of them are failed. =GoogleFinance("TPE:TAIEX"; "price") =GoogleFinance("TPE.TAIEX"; "price") =GoogleFinance("TAIEX.TW"; "price") =GoogleFinance("TAIEX:TPE"; "price") =GoogleFinance("TAIEX.TPE"; "price") =GoogleFinance("TPE%3ATAIEX"; "price") xpawn =GoogleFinance("TWII"; "price") I can propose you 2 work around: The appscript trick: build a google apps script to retrieve the data from your favorite site.

Downloading Stock quotes to App

心已入冬 提交于 2019-12-05 06:14:57
问题 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

How come pandas_datareader for google doesn't work?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 03:31:10
问题 I tried to grab data from google finance by the following code: import pandas_datareader.data as wb import datetime as dt start = dt.datetime(2015, 1, 1) end = dt.datetime(2017, 1, 1) dt = wb.DataReader('FB', 'google', start, end) dt.head() and I got this. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 24697: invalid start byte But if I changed 'google' to 'yahoo' (by using yahoo finance instead), it works fine. So what's wrong with it? 回答1: There is an open issue here.

Google Finance, how to get the JSON data streamed?

那年仲夏 提交于 2019-12-05 03:12:28
问题 I tried to explain this earlier, but obviously failed! So, if you have a google finance graph open, for instance: http://www.google.com/finance?q=INDEXNASDAQ:.IXIC I would like to somehow use the (HttpWebRequest) object in C# so that I can grab the small data which google sends to the page to update the graph. A friend mentioned this was JSON? I was trying to use the following code example, but even when i set the keep alive property to 'true', it still wouldnt work: http://msdn.microsoft.com

Leading slashes in JSON from Google Finance API call

情到浓时终转凉″ 提交于 2019-12-04 23:42:07
问题 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

page scraping to get prices from google finance

元气小坏坏 提交于 2019-12-04 13:25:51
问题 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

Google Finance API for getting quote has stopped working today. Is there an alternate to get quote every minute? [closed]

北城以北 提交于 2019-12-04 04:03:23
Below URL has stopped working from today. Any alternate ? Get Quote from Google Finance I was using it for a long time, it looks like google has stopped it. It was very useful. The best part was you could download live prices for multiple scrips in one request. Alternatives for Indian Markets : Intraday one minute ohlcv data Zerodha API Upstox API 来源: https://stackoverflow.com/questions/46071595/google-finance-api-for-getting-quote-has-stopped-working-today-is-there-an-alte

How to make google spreadsheet refresh itself every 1 minute?

橙三吉。 提交于 2019-12-03 23:22:21
My google spreadsheet is using GOOGLEFINANCE('symbol','price) function to retrieve stock prices of my portfolio. Unfortunately, I have to refresh manually now. How can I make the spreadsheet refresh itself every 1 minute? Thank you for your help. If you're on the New Google Sheets, this is all you need to do, according to the docs : change your recalculation setting to "On change and every minute" in your spreadsheet at File > Spreadsheet settings. This will make the entire sheet update itself every minute , on the server side, regardless of whether you have the spreadsheet up in your browser