mstables icon indicating copy to clipboard operation
mstables copied to clipboard

integrate investpy as a datasource?

Open datatalking opened this issue 2 years ago • 2 comments

The interface and setup of this module work well but since the morningstar api is deprecated we could use https://github.com/alvarobartt/investpy/issues as a data source since there is thousands of stocks. How could we check for compatibility amount their offering and what the morning star data set uses?

@caiobran perhaps this is something @chrisidso could help with?

39952 stocks,
82221 funds,
11403 ETFs,
2029 currency crosses,
7797 indices,
688 bonds,
66 commodities,
250 certificates,
4697 cryptocurrencies.

datatalking avatar Mar 11 '22 16:03 datatalking

I've been able to dig into this deeper and since MorningStar is dead and deprecation is needed but without a new data source I held off. Now to come back I found an alternative data source that gives us many options.

I've spent a few days with investpy, it is already integrated with pandas dataframe, already has thousands of data points for many asset classes.

  • 39,000 stocks
  • 82,000 funds
  • 11,000 ETFs
  • 7,000 indices
  • 4,000 cryptocurrencies
  • 2,000 currency crosses
  • 600 bonds
  • 250 certificates
  • 60 different commodities

So that exceeds all but two of my other project requirements and it seems to be updated (as of last month)

Now that we know that, it would just be a matter of pointing the data as running investpy to access a data update via a pandas dataframe to be save in sqlite. @caiobran @dimejy2

datatalking avatar Mar 14 '22 20:03 datatalking

@caiobran we can cross @investpy off the list as it seems morningstar has enabled some kind of CloudFare and broke data access.

datatalking avatar Aug 25 '23 19:08 datatalking