alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.63k stars 377 forks source link

Update cryptos.csv and include option to select exchange #388

Open alvarobartt opened 3 years ago

alvarobartt commented 3 years ago

As spotted in https://www.investing.com/crypto/bitcoin/markets, we shouldn't be retrieving the cryptos data from https://www.investing.com/crypto/bitcoin, but from the URLs of the different markets, since e.g. the main BTC website on Investing.com just contains some basic information, but does not follow the same pattern as all the other financial products, which was leading to some missing functionalities such as the technical indicators as asked in https://github.com/alvarobartt/investpy/discussions/387, the selection of the different exchanges as Investing.com, Binance or Coinbase, and much more!

So on, I'll update the script to retrieve the cryptos.csv file, including not just the crypto, but also the different markets of each crypto e.g. BTC/USD, BTC/EUR, etc.

alvarobartt commented 3 years ago

Currently we are just retrieving the first row of the markets data for all the crypto currencies, which is the Investing.com website with the basic information / overview of each of the listed cryptos, and we now need to retrieve not just the first row but all the other ones, which in this case are all the available USD markets of each crypto.

image

Note: in the short-term we may include all the markets not just the USD ones, but now for the sake of simplicity we will just be including the USD ones :+1: