SAVING TIME: Scraping Financial Data

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 40

  • @ScientifikX1
    @ScientifikX1 3 роки тому +2

    Thanks for this video! My first financial data scraped! Finally someone did a video on this that I could understand. Do more of this sort of stuff please!

    • @SpencerPaoHere
      @SpencerPaoHere  3 роки тому

      I'm glad you liked it! I do have a few other videos related to the financial side of things (DCF, and monte carlo -- feel free to check those out!)
      I have a few other videos (And a ton of financial related ideas) related to finance coming down the road.

  • @siesta658
    @siesta658 Рік тому

    Hi Spencer, just wanted to say thanks for making this! This was my first time doing anything like this and managing to get it to work!

  • @siesta658
    @siesta658 Рік тому

    Thanks

  • @bigdaddy9089
    @bigdaddy9089 7 місяців тому

    Thanks for the motivation again

  • @ngudreamplaylist
    @ngudreamplaylist 4 роки тому +1

    noobie python here
    could'nt figure out how to convert json to csv so i write code to downoad csv.
    then open csv from desktop via csv reader.
    this way easier. 1 line of code in line 20 in video was all it took.
    thank u.

  • @TheLostOne172
    @TheLostOne172 4 роки тому

    All I did was search saving alot of data to find some Pokemon platinum diamond and pearl videos and I got a financial video.

  • @dannychang2100
    @dannychang2100 Рік тому

    Hi, I am not sure if you covered this, but do we have to pay to get cash flow statement? I keeping getting "This endpoint is not available under your current subscription please visit...." when I try to retrieve it. Income statement was very easy to retrieve.
    Thanks for your help! Love the video!

    • @SpencerPaoHere
      @SpencerPaoHere  10 місяців тому

      There is an endpoint that has cash-flow-statement that you can reference at the end of the URL

  • @chrisl4211
    @chrisl4211 2 роки тому

    do you have video teaching the basic of analying the data, like one or two.e.g.

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      Hmm. What do you mean by analyzing data? Many of the videos I have posted "analyze" data to some extent.
      Maybe some cleaning videos might do you some good?
      ua-cam.com/video/iLI_ymRe0w0/v-deo.html

  • @chrisl4211
    @chrisl4211 2 роки тому +1

    i sub you because you say welcome!

  • @sanelezuma
    @sanelezuma 3 роки тому

    Hi Spencer
    Thanx for the video its far more educating than i realised.........would you please make the .py file available, i n9ormally use sublime text...thanks in advance

    • @SpencerPaoHere
      @SpencerPaoHere  3 роки тому +1

      I'm glad you liked it!
      I've uploaded the corresponding scripts on my github: github.com/SpencerPao/FinanceScrape

    • @sanelezuma
      @sanelezuma 3 роки тому

      @@SpencerPaoHere You're a star...thanks man

  • @midnighthawkmh3923
    @midnighthawkmh3923 Рік тому

    can you do one for google sheets

  • @moneymaker8227
    @moneymaker8227 2 роки тому

    Great tutorial.!! I have a question.. I would like to know how import data to google sheet in cells that are already filled by other data. ??
    I'm trying to automate my stocks imported financial data (income statement, balance sheet, cash flow statement) but I'm only able to import one by one because google sheet cells are already filled by the first stock data I imported.!
    For example if I want to import balance sheet data of my stocks and the first imported stock data fill cells B2:F57; I would not be able to import financial data of the rest of my stocks because cells are already filled by the first stock ticker data.

    How Can I RESOLVE This Issue.??
    Thanks

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      That seems like a wide table (with multiple tables). Have you looked into creating an entirely new sheet with the financial statments listed separately ?

    • @moneymaker8227
      @moneymaker8227 2 роки тому

      @@SpencerPaoHere I tried to do so but I still didn't find any source explaining how to do that.
      Should I use google script ? or is there any other simple formula for what I'm trying to do ?
      Thanks

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      @@moneymaker8227 I like to use python for these situations (quite versatile). You can check out this post here that may be of assistance: stackoverflow.com/questions/67551298/using-python-to-create-a-new-google-sheet

    • @moneymaker8227
      @moneymaker8227 2 роки тому

      @@SpencerPaoHere thanks I'll check it

  • @LordikCZ
    @LordikCZ 2 роки тому

    Hi Spencer, thank you for your great work and inspiration. I want to ask do you have some good and reliable source of fundamental stock data which is affordably priced? Thank a lot!

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому +1

      No problem! I'm glad I was helpful. Now, it depends on what you mean by "affordable". If you're willing to spend a little bit, Morningstar is notable and has some quality data. They go for around $250 per year. Eikon Reuters can go for $3,600 for a reduced version per year.

  • @chrissmith4444
    @chrissmith4444 2 роки тому

    Hello, Do you know how I can edit the code in-order to get the quarterly NIAT of all the publicly traded companies in the S&P 500.
    I really want to have a script like the one you made. So I can see what businesses have the highest quarterly net income after taxes growth so I can buy their stocks.
    I've been wanting to automate that for years. But I have no idea what I'm doing when it comes to coding.

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      You could pull my code on github and run it on your local machine. You'd just need to get the appropriate ticker symbol AND address/location of what data you'd want to scrape.

  • @edmerzlak16
    @edmerzlak16 2 роки тому

    When I call this function, def get_daily_prices(ticker, timeseries, key):, i get ValueError: If using all scalar values, you must pass an index, can you tell me how to fix this - thanks Ed

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      Ah. FinancialModelingPrep has changed their API. I updated the code on GitHub to accommodate this change.

  • @victorinox1995
    @victorinox1995 2 роки тому

    Great video! Do you know how to get past float??

    • @SpencerPaoHere
      @SpencerPaoHere  2 роки тому

      float is a datatype and can be addressed. It depends on your situation. But you can look into casting.

  • @collingibb7265
    @collingibb7265 Рік тому

    Does executing this count as 1 of your 250 calls with the free plan for financial modeling prep? Or is the 250 call limit a new thing they have added?

    • @SpencerPaoHere
      @SpencerPaoHere  Рік тому

      For the Financial Modeling Prep site, you are limited to 250 query calls for the lifetime of the account (unless you pay for a subscription)
      And yes. I think that each GET/POST call you use on the site counts as one query through your signed account.

  • @martinpratto1475
    @martinpratto1475 3 роки тому

    Genious¡¡¡ thank a lot for this video¡¡¡

  • @edmerzlak1534
    @edmerzlak1534 3 роки тому

    Could you show in detail how you made the finance_scrapper

    • @SpencerPaoHere
      @SpencerPaoHere  3 роки тому

      Is there a specific time in the video that you can point to so that I can best assist? Thanks!
      You can also check my github repository if you want all the code associated with the scraping process. (Everything is included) Located: github.com/SpencerPao/FinanceScrape

  • @p1k1m4ru
    @p1k1m4ru Рік тому

    what about symbols with dots inside? why i cant call them?

    • @SpencerPaoHere
      @SpencerPaoHere  Рік тому

      Hmm i’m not sure what you’re referring to. Can you provide a time stamp or something to reproduce the scenario?

  • @franzmustermann760
    @franzmustermann760 3 роки тому

    Do you have any book recommendations on pandas?

    • @SpencerPaoHere
      @SpencerPaoHere  3 роки тому

      Perhaps this video might help you: ua-cam.com/video/tQqKQOsjEw8/v-deo.html
      If you prefer a more in-depth approach, you can check out this site: pandas.pydata.org/docs/getting_started/index.html#getting-started

  • @chrisglaze8256
    @chrisglaze8256 Рік тому

    thank you