business-science / alphavantager

A lightweight R interface to the Alpha Vantage API
69 stars 30 forks source link

Fundamental data category all returns an error. #23

Open neldivad opened 3 years ago

neldivad commented 3 years ago

Example:

msft_ov <- av_get(symbol = "MSFT",
                  av_fun = "OVERVIEW")

Returns:

Error: MSFT. API parameters used: symbol=MSFT, function=OVERVIEW, apikey=HIDDEN_FOR_YOUR_SAFETYCommon Stock. API parameters used: symbol=MSFT, function=OVERVIEW, apikey=HIDDEN_FOR_YOUR_SAFETYMicrosoft Corporation. API parameters used: symbol=MSFT, function=OVERVIEW, apikey=HIDDEN_FOR_YOUR_SAFETYMicrosoft Corporation develops, licenses, and supports software, services, devices, and solutions worldwide. Its Productivity and Business Processes segment offers Office, Exchange, SharePoint, Microsoft Teams, Office 365 Security and Compliance, and Skype for Business, as well as related Client Access Licenses (CAL); Skype, Outlook.com, and OneDrive; LinkedIn that includes Talent, Learning, Sales, and Marketing solutions, as well as premium subscriptions; and Dynamics 365, a set of cloud-based and on-premises business solutions for small and medium businesses, large organizations, and divisions of enterprises. Its Intelligent Cloud segment licenses SQL and Windows Servers, Visual Studio, Syste

SNTag commented 3 years ago

Just tried running the above, I got the expected results.

stmorgan1185 commented 3 years ago

I'm getting the same error on this code, and similar code for other stocks and fundamentals data. Did you ever figure this out, OP?

neldivad commented 3 years ago

I stopped using Alpha Vantage for 5 months already, so I don't know about their updates, but fundamental data never works for me, or at least for the tickers I choose to input.

mgiglia commented 3 years ago

I installed the github version of this package using dev tools and have been able to get the desired output for the fundamentals.

msft_ov <- av_get(symbol = "MSFT", av_fun = "OVERVIEW")

# A tibble: 60 x 2 rank_group \<chr>
1 Symbol
2 AssetType
3 Name
4 Description 5 CIK
6 Exchange
7 Currency
8 Country
9 Sector
10 Industry
value
\<chr>
1 MSFT
2 Common Stock
3 Microsoft Corporation
4 Microsoft Corporation develops, licenses, and supports soft… 5 789019
6 NASDAQ
7 USD
8 USA
9 Technology
10 Software-Infrastructure
# … with 50 more rows

bohm0072 commented 3 years ago

Same error for me as OP; however, not resolved with dev_tools install.