+ Reply to Thread
Results 1 to 4 of 4

Yahoo Finance API (Stock Data Download) Dead? Other Options???

  1. #1
    Forum Contributor
    Join Date
    03-26-2015
    Location
    Cookeville, TN
    MS-Off Ver
    Excel 365
    Posts
    202

    Unhappy Yahoo Finance API (Stock Data Download) Dead? Other Options???

    It looks like the ability to download current stock prices (and other data) from Yahoo Finance (as a CSV file) has been discontinued (since 11/1/17). I've been using the code below to download a bunch of data for a list of comma-separated ticker symbols (StockTickers). Now it always gives the dreaded Run-time Error '1004':
    Please Login or Register  to view this content.
    Is there another option to download current stock data? If so, sample VBA code would be very helpful. I found info for the IEX API, but I don't know how to translate that into VBA (or if that's even possible).
    The most crucial data I need is Last Price (or most recent price). I'd also like to grab other data like 52-week high and low, book value, P/E ratio, etc. if it's available.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Yahoo Finance API (Stock Data Download) Dead? Other Options???

    There are lots of thread on this topic. I think I saw one in the last 5 days. People who used Yahoo have now shifted to Google finance.

  3. #3
    Forum Contributor
    Join Date
    03-26-2015
    Location
    Cookeville, TN
    MS-Off Ver
    Excel 365
    Posts
    202

    Re: Yahoo Finance API (Stock Data Download) Dead? Other Options???

    I found lots of online posts about Yahoo discontinuing the download of historical stock prices (back in May 2017), but few if any concerning this recent action. I'm not looking for historical data; I'm looking for current data.

    I'd be glad to use Google Finance. Could you give me some more detailed info on how to code that in VBA? I imagine it's not as simple as replacing "yahoo" with "google" in my current code...

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Yahoo Finance API (Stock Data Download) Dead? Other Options???

    Here's the link for setting up stock quotes using Google Finance.

    https://office-watch.com/2016/excel-...oogle-finance/
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatic Download of Yahoo Finance Data
    By mibikeks in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2014, 02:19 PM
  2. Extracting Stock Data from Yahoo Finance
    By Alex Fernandes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2013, 05:20 AM
  3. Getting real time stock quotes from google finance / yahoo finance in excel
    By Navin Agrawal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2012, 12:41 PM
  4. Download data from Yahoo Finance
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2010, 10:21 AM
  5. how to automatically download info from yahoo finance into excel
    By Pete Moss in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-14-2006, 02:40 PM
  6. importing/ analyzing Yahoo!Finance stock data
    By Paul987 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-17-2006, 12:18 PM
  7. [SOLVED] Historical Stock Quotes - Yahoo Finance
    By Jason in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-03-2005, 08:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1