Open GlbertoVilar opened 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')
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