+ Reply to Thread
Results 1 to 5 of 5

Scrap data with PowerQuery with advanced options from INVESTING.COM

  1. #1
    Registered User
    Join Date
    12-10-2019
    Location
    Turkey
    MS-Off Ver
    2019
    Posts
    5

    Scrap data with PowerQuery with advanced options from INVESTING.COM

    i am interested in stock markets and i guess investing.com web site is the most powerfull in its area. They have many well programmed and efficient tables in site and their coverage is whole worldwide markets. So, i want to use it more efficient. What i want to get help about here is:

    For example:
    1- when i get the current stock prices from UK, i can set a web data query with link: "..uk.investing.com/equities/united-kingdom". And it gives me FTSE-100 stocks from its default page. But if i want to see ALL stocks prices, i must choose "United Kingdom All Stocks" option on web page's Select Box object. Then i see all stocks without any change on web address.. but in PowerQuery, nothing changes, it still gets FTSE-100 stocks. Any idea how i can get all stocks prices to my query table in excel sheet?

    2- İnvesting.com values are delayed 15 minutes. For example, I can see live data on my screen from my investing bank's web page which i contracted with. Is there a way to get those live values from actual html page on my desktop screen

    I searched on web about these issues and i have found some usefull articles and i can share them. I know this kind of web scrapping (especially 2nd example) needs some programming skills (little html, more Power-bi and maybe Python as best). But if there are some experienced people here who knows about these kind of issues, maybe they can give me a starting point. Thanks.

  2. #2
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,147

    Re: Scrap data with PowerQuery with advanced options from INVESTING.COM

    Do you need something like this?

    https://www.excel.web.tr/threads/bis...rileri.169875/

    .

  3. #3
    Registered User
    Join Date
    12-10-2019
    Location
    Turkey
    MS-Off Ver
    2019
    Posts
    5

    Re: Scrap data with PowerQuery with advanced options from INVESTING.COM

    Thanks for reply, Haluk.. i don't see any detailed information about your excel file in that link.. i see an animated gif which shows your file gets BIST-100 stocks values only.. And i dont know if they are live values or not.. i have already got my own excel file including my personalised vba codes to get data from web.. But my point is different:

    - main link: "tr.investing.com/equities/turkey". When i create a web query with this link, i can get BIST-100 stock values. But i want all shares not only 100..
    - on web page, i must choose "all stocks" from SELECT BOX, then i can see all shares.. But i can not transfer those all shares to my excel sheet..

    Anyway, i wish to be connected for inspecting your excel file..
    Selamlar.. Regards..

  4. #4
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,147

    Re: Scrap data with PowerQuery with advanced options from INVESTING.COM

    Hi;

    The file can get the FTSE-100 stocks from investing.com as well and the datas are 15 minutes delayed.

    But I understand NOW that you need to get ALL shares. I'll give a try to ammend the code.

    .
    Last edited by Haluk; 01-12-2020 at 02:24 AM.

  5. #5
    Registered User
    Join Date
    12-10-2019
    Location
    Turkey
    MS-Off Ver
    2019
    Posts
    5

    Re: Scrap data with PowerQuery with advanced options from INVESTING.COM

    Added sample file can get data from UK Stock Markets (FTSE-100, FTSE-250 or all stocks). Any other country is possible. Only need to change source link.
    This code uses iexplorer object not power query. Its quite good but slow.
    And i think when i create a special iexplorer object to login my investing bank account, then i can get live values by this way.
    Attached Files Attached Files

+ 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. Advanced Filter Options (VBA)
    By Beast_OnThe_Keys in forum Excel General
    Replies: 3
    Last Post: 03-05-2019, 03:11 AM
  2. Scrap data from multiple Links
    By camarao69 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-28-2018, 04:52 AM
  3. Advanced UserForm Options
    By Travis M. in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-05-2018, 03:48 AM
  4. Advanced Options in Excel 2011 for Mac
    By tom2jerry in forum Excel General
    Replies: 3
    Last Post: 08-03-2014, 10:37 PM
  5. [SOLVED] Scrap unwanted data
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-06-2014, 11:49 PM
  6. VBA to scrap job board data
    By Sako in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2013, 09:41 PM
  7. i have list of url in my sheet.i want to scrap data from about us page.....
    By Jalpesh Dadania in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2013, 03:43 AM

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