Get Stock Information from Yahoo

This function allows you to pull stock information from Yahoo with Yahoo! Query Language in Matlab.

You are now following this Submission

This function allows you to pull stock information from Yahoo with "Yahoo Query Language" in Matlab. Below list contains the information being pulled from Yahoo.
--
'Ask'
'AverageDailyVolume'
'Bid'
'AskRealtime'
'BidRealtime'
'BookValue'
'Change_PercentChange'
'Change'
'Commission'
'ChangeRealtime'
'AfterHoursChangeRealtime'
'DividendShare'
'LastTradeDate'
'TradeDate'
'EarningsShare'
'ErrorIndicationreturnedforsymbolchangedinvalid'
'EPSEstimateCurrentYear'
'EPSEstimateNextYear'
'EPSEstimateNextQuarter'
'DaysLow'
'DaysHigh'
'YearLow'
'YearHigh'
'HoldingsGainPercent'
'AnnualizedGain'
'HoldingsGain'
'HoldingsGainPercentRealtime'
'HoldingsGainRealtime'
'MoreInfo'
'OrderBookRealtime'
'MarketCapitalization'
'MarketCapRealtime'
'EBITDA'
'ChangeFromYearLow'
'PercentChangeFromYearLow'
'LastTradeRealtimeWithTime'
'ChangePercentRealtime'
'ChangeFromYearHigh'
'PercebtChangeFromYearHigh'
'LastTradeWithTime'
'LastTradePriceOnly'
'HighLimit'
'LowLimit'
'DaysRange'
'DaysRangeRealtime'
'FiftydayMovingAverage'
'TwoHundreddayMovingAverage'
'ChangeFromTwoHundreddayMovingAverage'
'PercentChangeFromTwoHundreddayMovingAverage'
'ChangeFromFiftydayMovingAverage'
'PercentChangeFromFiftydayMovingAverage'
'Name'
'Notes'
'Open'
'PreviousClose'
'PricePaid'
'ChangeinPercent'
'PriceSales'
'PriceBook'
'ExDividendDate'
'PERatio'
'DividendPayDate'
'PERatioRealtime'
'PEGRatio'
'PriceEPSEstimateCurrentYear'
'PriceEPSEstimateNextYear'
'Symbol'
'SharesOwned'
'ShortRatio'
'LastTradeTime'
'TickerTrend'
'OneyrTargetPrice'
'Volume'
'HoldingsValue'
'HoldingsValueRealtime'
'YearRange'
'DaysValueChange'
'DaysValueChangeRealtime'
'StockExchange'
'DividendYield'
'PercentChange'
--

Cite As

pangyuteng (2026). Get Stock Information from Yahoo (https://www.mathworks.com/matlabcentral/fileexchange/34075-get-stock-information-from-yahoo), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Get U.S. Stock Symbols

Inspired: Yahoo! Finance Data Loader

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

plucked a bug.

1.0.0.0