Title: | Functions for Working with the 'www.estimize.com' Web Services |
---|---|
Description: | Provides the user with functions to develop their trading strategy, uncover actionable trading ideas, and monitor consensus shifts with crowdsourced earnings and economic estimate data directly from <www.estimize.com>. Further information regarding the web services this package invokes can be found at <www.estimize.com/api>. |
Authors: | Thomas P. Fuller <[email protected]> |
Maintainer: | Thomas P. Fuller <[email protected]> |
License: | LGPL-3 |
Version: | 1.0.0 |
Built: | 2024-10-31 16:33:17 UTC |
Source: | https://github.com/cran/restimizeapi |
Function prints some information about this package.
About()
About()
## Not run: About() ## End(Not run)
## Not run: About() ## End(Not run)
Returns the company information for all companies that Estimize covers.
GetCompanies()
GetCompanies()
The companies information as a data frame.
## Not run: result <- GetCompanies () ## End(Not run)
## Not run: result <- GetCompanies () ## End(Not run)
Returns the company information for the company specified by the ticker.
GetCompany(ticker)
GetCompany(ticker)
ticker |
The Estimize ticker – for example "MSFT". |
The company information as a data frame.
## Not run: result <- GetCompany ("msft") ## End(Not run)
## Not run: result <- GetCompany ("msft") ## End(Not run)
Returns all estimates for a company specified by the ticker.
GetCompanyEstimates(ticker, year = NULL, quarter = NULL)
GetCompanyEstimates(ticker, year = NULL, quarter = NULL)
ticker |
The Estimize ticker – for example "MSFT". |
year |
A four-digit year – for example 1999. |
quarter |
A numeric value between 1 and 4 inclusive. Note that if the quarter is used the year must also be set as well. |
The company estimates as a data frame.
## Not run: result <- GetCompanyEstimates ("MSFT") result <- GetCompanyEstimates ("MSFT", 2015) result <- GetCompanyEstimates ("MSFT", 2015, 2) ## End(Not run)
## Not run: result <- GetCompanyEstimates ("MSFT") result <- GetCompanyEstimates ("MSFT", 2015) result <- GetCompanyEstimates ("MSFT", 2015, 2) ## End(Not run)
Returns the past financial releases for the specified company by the ticker, for the specified fiscal year, and quarter.
GetCompanyReleases(ticker, year = NULL, quarter = NULL)
GetCompanyReleases(ticker, year = NULL, quarter = NULL)
ticker |
The Estimize ticker – for example "MSFT". |
year |
A four-digit year – for example 1999. |
quarter |
A numeric value between 1 and 4 inclusive; note that if the quarter is used the year must also be set as well. |
The company releases as a data frame.
## Not run: result <- GetCompanyReleases ("MSFT") result <- GetCompanyReleases ("MSFT", 2009) result <- GetCompanyReleases ("MSFT", 2009, 2) ## End(Not run)
## Not run: result <- GetCompanyReleases ("MSFT") result <- GetCompanyReleases ("MSFT", 2009) result <- GetCompanyReleases ("MSFT", 2009, 2) ## End(Not run)
Returns all estimates in the specified date-range for all companies.
GetEstimates(startDate, endDate)
GetEstimates(startDate, endDate)
startDate |
The start date, which must be in the format YYYY-MM-DD, for example "2015-01-20" |
endDate |
The end date, which must be in the format YYYY-MM-DD, for example "2015-02-15" |
The estimates as a data frame.
## Not run: result <- GetEstimates ("2015-01-20", "2015-02-15") ## End(Not run)
## Not run: result <- GetEstimates ("2015-01-20", "2015-02-15") ## End(Not run)
Returns the current consensus as well as the consensus history of the specified release. The user can obtain the id from results returned from the GetCompanyReleases function.
GetReleaseConsensus(id)
GetReleaseConsensus(id)
id |
The company identifier. |
The release consensus as a data frame.
## Not run: result <- GetReleaseConsensus ("535c963053c804e0d50002a1") ## End(Not run)
## Not run: result <- GetReleaseConsensus ("535c963053c804e0d50002a1") ## End(Not run)
Provides the user with functions to develop their trading strategy, uncover actionable trading ideas, and monitor consensus shifts with crowdsourced earnings and economic estimate data directly from <www.estimize.com>. Further information regarding the web services this package invokes can be found at <www.estimize.com/api>.
Provides a complete implementation of all web methods available at at api.estimize.com – functions available include:
Note that the SetKey
function must be called once prior
to invoking any of the other functions in this package.
Function sets the key which is required as a header in every web method call to estimize.com – contact [email protected] to obtain a key.
SetKey(key)
SetKey(key)
key |
The API key as provided by Estimize.com. |
## Not run: SetKey ("ENTER YOUR PRIVATE API KEY HERE.") ## End(Not run)
## Not run: SetKey ("ENTER YOUR PRIVATE API KEY HERE.") ## End(Not run)