alvarobartt / investpy

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

NCI - Nasdaq Crypto Index missing #414

Open GlbertoVilar opened 3 years ago

GlbertoVilar commented 3 years ago

The NCI is available at investing.com, including historical data since April. However, it is not possible to get it via investpy.get_index_historical_data, nor find via search index. Can you add this asset into the lib?

https://www.investing.com/indices/nasdaq-crypto-index-historical-data

Towasi commented 3 years ago

I haved the same problem with S&P500, and it's because for the index method, you have to give the name of the index, like for example:

db = investpy.get_index_historical_data (index = "S&P 500", country = 'United States', from_date = "01/01/2021", to_date = "10/14/2021", as_json = True, order = 'ascending', interval = 'Daily')