Return global index data #307
-
Hi everyone! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @enricomosca96, in order to retrieve the information from that concrete index you need to introduce its name and the So that the function call should look like: import investpy
data = investpy.get_index_historical_data(index="MSCI Emerging Markets",
country="world",
from_date="01/01/2020",
to_date="01/01/2021")
print(data.head()) For more information please check this doc entry which explains to you how to use the Hope this was useful to you! 🤗 |
Beta Was this translation helpful? Give feedback.
Hi @enricomosca96, in order to retrieve the information from that concrete index you need to introduce its name and the
country='world'
, as I'm tagging the country asworld
whenever Investing.com saysGlobal Indices
.So that the function call should look like:
For more information please check this doc entry which explains to you how to use the
investpy.search_indices()
function so that you can …