Package-level declarations

Fluent request builders for Alpha Vantage's foreign exchange endpoints, one per cadence.

com.crazzyghost.alphavantage.forex.request.ForexRequest holds the currency pair and response format every cadence shares; com.crazzyghost.alphavantage.forex.request.IntraDayRequest, com.crazzyghost.alphavantage.forex.request.DailyRequest, com.crazzyghost.alphavantage.forex.request.WeeklyRequest and com.crazzyghost.alphavantage.forex.request.MonthlyRequest each pin their own endpoint function and add whatever extra parameters that cadence accepts. Reached through com.crazzyghost.alphavantage.forex.Forex.

Types

Link copied to clipboard
public class DailyRequest extends ForexRequest
A request to FX_DAILY, which returns one open-high-low-close bar per trading day for a currency pair.
Link copied to clipboard
public abstract class ForexRequest
The parameters every foreign exchange time series request carries: the currency pair being quoted, and the format the API should answer in.
Link copied to clipboard
public class IntraDayRequest extends ForexRequest
A request to FX_INTRADAY, which samples a currency pair repeatedly through the trading day instead of collapsing each period into a single bar.
Link copied to clipboard
public class MonthlyRequest extends ForexRequest
A request to FX_MONTHLY, which condenses a currency pair's history into one open-high-low-close bar per calendar month.
Link copied to clipboard
public class WeeklyRequest extends ForexRequest
A request to FX_WEEKLY, which condenses a currency pair's history into one open-high-low-close bar per week.