No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
BASIC version of retrieving quote from google finance

3.0 | 3 ratings Rate this file 4 Downloads (last 30 days) File Size: 9.65 KB File ID: #23985 Version: 1.1

BASIC version of retrieving quote from google finance



03 May 2009 (Updated )

The function obtains quote from google finance into command line variable

| Watch this File

File Information

Couldn't find a working version of quote retriever so built my own.

>> gequote = get_gf_quote('ge','detailed')
Obtaining Google finance quote for ge...
gequote =

        quote: 12.8600
    companyId: 14135
      dayOpen: 13.0700
     dayClose: -1
       mktCap: '136.18B'
      dayHigh: 13.2600
       dayLow: 12.7000
       yrHigh: 32.7000
        yrLow: 5.7300
         yild: '9.64'
       shares: '10.59B'
       volume: '83.38M'

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
25 Jul 2016 Rami AbouSleiman

02 Nov 2009 Ariel Kalingking

Is anyone able to use it to stream real time quotes from google?

Comment only
29 Sep 2009 Alejandro Arrizabalaga

Great tool!
Indeed, I would also like to know if you can combine this with the datafeed toolbox.
Also, it would be great if you could extend the script to get quotes of specific days/weeks.

19 Jul 2009 krish reddy

Hey Joe.. dont know how to stream real-time quotes but am sure you can use excel if you are a member of thinkorswim broker.
anyways, am writing a new piece of code to get all info related to a stock such as 'estimates' , ' news', 'guidance', from aolfinance, marketwatch, streetinsider and also ''ATM options-prices'

Comment only
16 Jul 2009 Joe

Joe (view profile)

I don't know why my last coment didn't post correctly. Anyways,
Iintended to ask if you have looked into using matlab's datafeed
toolbox to get streaming real-time quotes from google? I have
only seen how to do it with yahoo and bloomberg, but they both
charge for real-time quotes.

Comment only
15 Jul 2009 Joe

Joe (view profile)

I like this piece of code. Have you considered or do you have any ideas how to use this in conjunction with matlab's datafeed toolbox to get streaming real-time quotes from google finance?

Comment only
25 May 2009 Paul Courchene

Very Helpful 'quick' example ...

17 May 2009 1.1

Detailed stock values such as market cap, shares, day low day high, yr high, yr low....

Contact us