Quantitative finance collector
C++ Matlab VBA/Excel Java Mathematica R/Splus Net Code Site Other
Jan 6

Download Multiple Stock Quotes

Posted by abiao at 09:07 | Code » Matlab | Comments(0) | Reads(16614)
I once wrote a small VBA function to download multiple stock quotes from Yahoo finance, here is another Matlab file pointed out by sjev, you can download the M file @ http://quantum.meplaza.nl/get_yahoo_quote.m, it downloads quotes from yahoo and returns the data in a struct. The function supports a bunch of symbols and special tags, however, unlike the VBA function, returns the latest record only.

For instance, data = get_yahoo_quote({'MSFT','IBM','GOOG','GE'}) returns
1x4 struct array with fields:
    symbol
    desc
    lastTrade
    lastTradeTime
    dividendDate
    open
    lastClose


Tags:
Add a comment
Emots
Enable HTML
Enable UBB
Enable Emots
Hidden
Remember
Nickname   Password   Optional
Site URI   Email   [Register]