Questions tagged [google-finance]

Google Finance is a service used to track stock and portfolio information. Originally had a public API, but the API was shutdown. Use with tags(eg: [google-sheets-formula]), where the service is involved.

Google Finance is a service used to track stock and portfolio information. Originally had a public API, but the API was shutdown. However the service is still running. Limited programmatic access is also available through

Official Website

417 questions
0
votes
1 answer

How can I load historical stock indices data in my script without yahoo or google finance using pandas_datareader?

Sorry for my noobish question as I'm trying to use Python for my finance class in grad school. I am currently stuck trying to load historical stock indices of DOW JONES, S&P 500 and NASDAQ. Sadly, Google Finance is useless with stock indices so I…
Mysterio
  • 2,878
  • 2
  • 15
  • 21
0
votes
0 answers

JSON issues in Linux, but not in iOS

I am trying to get stock information for a particular ticker, and having issues with implementing the code in Linux Ubuntu in a virtual environment. I am getting the error below: ValueError: No JSON object could be decoded What's strange is I am not…
troymyname00
  • 670
  • 1
  • 14
  • 32
0
votes
0 answers

Missing data from google finance API

I'm using pandas to download the daily closing price of 'AMZN'. Since yahoo finance is down recently(Probably because they changed URL?), I wish to use google finance instead. However, I found that some data was missing when using google. For…
Lefair
  • 1
  • 1
0
votes
2 answers

Scraping data from google finance using BeautifulSoup in python

I'm trying to get data from google finance from this link like this: url = "https://www.google.com/finance/historical?cid=4899364&startdate=Dec+1%2C+2016&enddate=Mar+23%2C+2017&num=200&ei=4wLUWImyJs-iuASgwIKYBg" request =…
Ni3_k
  • 56
  • 12
0
votes
1 answer

Google Sheets: Access array once, use in multiple equations without output to spreadsheet

Basically I'm doing this: I have a series of 500 stocks that I'm running calculations on. Each calculation requires that I use GoogleFinance() and get a 50 day Open, High, Low, Close, Volume for the stock. I then re-use that data about 25 times…
David Urry
  • 807
  • 1
  • 8
  • 15
0
votes
1 answer

How to get company website from a finance ticker (stock symbol)?

I know how to get the stock symbols, the company names, and statistics using the API and services such as yahoo finance. However, I would like to obtain the company's official website from a ticker symbol. Would there be an API or a service that…
0
votes
2 answers

C++ API for Google Finance

Is there a C++ API for accessing stock quotes from Google finance?
Mohamed Bana
  • 1,251
  • 2
  • 17
  • 27
0
votes
1 answer

System.ArgumentNullException when trying to access span with Xpath (C#)

So i've been trying to get a program working where I get info from google finance regarding different stock stats. So far I have not been able to get information out of spans. As of now I have hardcoded direct access to the apple stock. Link to…
0
votes
2 answers

Creation of basic "stock-program"

i'm relatively new to python, hence the perhaps low level of my question. Anyway, i am trying to create a basic program for just displaying a couple of key statistics for different stocks (beta-value, 30-day high/low, p/e, p/s etc...). I have the…
0
votes
0 answers

How would I go about scraping sectors for tickers on Yahoo/Google Finance using Python?

I am trying to get sector classifications for tickers using python. How would I go about scraping? This is a function I designed but I was wondering if there is a better way to go about it. def get_sector(ticker): …
0
votes
1 answer

Error ('404 not found' )in getting getSymbols() in quantmod

I am using quantmod to run analysis on financial data.I am trying to fetch data from google finance, but I am getting an error. Error in download.file and HTTP status '404 Not…
1111
  • 93
  • 1
  • 1
  • 11
0
votes
1 answer

US equities stock price API

I'm trying to display stock prices in an iOS client app, similar to the built-in Stocks app for iOS. So far I haven't encountered any API that allows you to easily access close to real-time stock price data. A 15 minute delay would be acceptable to…
Apollo
  • 8,874
  • 32
  • 104
  • 192
0
votes
2 answers

Google Finance JSON reply not working in Chrome, Firefox but works in IE 11

I am building a JavaScript application to retrieve STOCK information from Google Finance API. finance.google.com/finance/info?q=nasdaq:AAPL If I copy paste the link in the browser then I receive the JSON reply correctly // [ { "id": "22144" ,"t" :…
0
votes
2 answers

Get company name from a Google Finance page with Python

I would like to print the company name from the Google Finance page, using the div class appbar-snippet-primary. The code I am usng returns none or []. Wasn't able to get to the span tag containing the company name using beautifulsoup. html =…
Mike
  • 5
  • 5
0
votes
1 answer

Why Doesn't This URL Work in IXMLHttpRequest Object?

I built some code to retrieve stock data from Yahoo as a CSV file, and it works fine. When I change the URL to the perfectly legal version that recalls minutewise data from Google instead, it fails on the objHTTP.open "GET", strURL,…
Joe Marfice
  • 151
  • 2
  • 18