Package-level declarations

Fluent request builders for Alpha Vantage's economic indicator endpoints, one per indicator.

com.crazzyghost.alphavantage.economicindicator.request.EconomicIndicatorRequest holds the function and response format every indicator request shares; each concrete subclass — for example com.crazzyghost.alphavantage.economicindicator.request.TreasuryYieldRequest or com.crazzyghost.alphavantage.economicindicator.request.CpiRequest — pins its own function code and adds whatever further parameters that indicator accepts, such as interval or maturity. Reached through com.crazzyghost.alphavantage.economicindicator.EconomicIndicator.

Types

Link copied to clipboard
A request to CONSUMER_SENTIMENT, which returns the monthly consumer sentiment and confidence index of the United States, as measured by the University of Michigan's Surveys of Consumers.
Link copied to clipboard
A request to CPI, which returns the monthly and semiannual consumer price index (CPI) of the United States.
Link copied to clipboard
A request to DURABLES, which returns the monthly manufacturers' new orders for durable goods in the United States.
Link copied to clipboard
public abstract class EconomicIndicatorRequest
The parameters every economic indicator request carries: the Alpha Vantage function that selects the indicator, and the data type the series is returned in.
Link copied to clipboard
A request to FEDERAL_FUNDS_RATE, which returns the daily, weekly, and monthly federal funds rate (interest rate) of the United States.
Link copied to clipboard
A request to INFLATION_EXPECTATION, which returns the monthly median expected inflation rate over the next 12 months, as measured by the University of Michigan's Surveys of Consumers.
Link copied to clipboard
A request to INFLATION, which returns the annual inflation rate of the United States, as measured by the consumer price index.
Link copied to clipboard
A request to NONFARM_PAYROLL, which returns the monthly total nonfarm payroll of the United States, a key indicator of overall employment.
Link copied to clipboard
A request to REAL_GDP_PER_CAPITA, which returns the quarterly real GDP per capita of the United States.
Link copied to clipboard
A request to REAL_GDP, which returns the annual and quarterly real gross domestic product (GDP) of the United States.
Link copied to clipboard
A request to RETAIL_SALES, which returns the monthly advance retail sales of the United States.
Link copied to clipboard
A request to TREASURY_YIELD, which returns the daily, weekly, and monthly US Treasury yield for a given Maturity.
Link copied to clipboard
A request to UNEMPLOYMENT, which returns the monthly unemployment rate of the United States.