Package-level declarations

Fluent request builders for Alpha Vantage's stock time series endpoints.

com.crazzyghost.alphavantage.timeseries.request.TimeSeriesRequest holds the ticker, endpoint function and response format every request shares. Four subclasses — com.crazzyghost.alphavantage.timeseries.request.IntraDayRequest, com.crazzyghost.alphavantage.timeseries.request.DailyRequest, com.crazzyghost.alphavantage.timeseries.request.WeeklyRequest and com.crazzyghost.alphavantage.timeseries.request.MonthlyRequest — sample a ticker's price history at a fixed cadence, while com.crazzyghost.alphavantage.timeseries.request.QuoteRequest and com.crazzyghost.alphavantage.timeseries.request.RealtimeBulkQuoteRequest ask for a single current snapshot instead, for one ticker and for many respectively. Reached through com.crazzyghost.alphavantage.timeseries.TimeSeries.

Types

Link copied to clipboard
public class DailyRequest extends TimeSeriesRequest
A request to TIME_SERIES_DAILY, which returns one open-high-low-close-volume bar per trading day for a ticker, going back twenty years or more.
Link copied to clipboard
public class IntraDayRequest extends TimeSeriesRequest
A request to TIME_SERIES_INTRADAY, which returns open-high-low-close-volume bars sampled within the trading day at an Interval the caller picks.
Link copied to clipboard
public class MonthlyRequest extends TimeSeriesRequest
A request to TIME_SERIES_MONTHLY, which returns one open-high-low-close-volume bar per month for a ticker.
Link copied to clipboard
public class QuoteRequest extends TimeSeriesRequest
A request to GLOBAL_QUOTE, which returns the latest price and trading day for a single ticker rather than a series.
Link copied to clipboard
A request to REALTIME_BULK_QUOTES, which returns a current snapshot for many tickers in a single call, up to a hundred of them.
Link copied to clipboard
public abstract class TimeSeriesRequest
The parameters every stock time series request carries: which endpoint to call, which ticker to call it for, and the format the API should answer in.
Link copied to clipboard
public class WeeklyRequest extends TimeSeriesRequest
A request to TIME_SERIES_WEEKLY, which returns one open-high-low-close-volume bar per trading week for a ticker.