Finnhub-Stock-API / finnhub-python

Finnhub Python API Client. Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals, global ETFs holdings and alternative data. https://finnhub.io/docs/api
https://finnhub.io/
Apache License 2.0
584 stars 101 forks source link

individual economic data series download #14

Closed brahmac closed 4 years ago

brahmac commented 4 years ago

Hi, I am having some trouble downloading economic data. For example,

print(finnhub_client.economic_code('MA-ABW-667984'))

gives

TypeError: economic_code() takes 1 positional argument but 2 were given

What am I missing?

Thanks,

brahmac commented 4 years ago

Solved. Thanks. It's economic_data, not economic_code

print(finnhub_client.economic_data('MA-ABW-667984'))