ForexRequest

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.

One subclass exists per sampling cadence — IntraDayRequest, DailyRequest, WeeklyRequest and MonthlyRequest — each pinning its own endpoint function and adding whatever extra parameters that cadence accepts.

The field names here are snake_case on purpose. com.crazzyghost.alphavantage.UrlExtractor builds the query string by lowercasing each non-null field name, and the endpoints expect from_symbol and to_symbol.

Author

Sylvester Sefa-Yeboah

Since

1.0.0

Inheritors

Types

Link copied to clipboard
public abstract class Builder<T extends ForexRequest.Builder<? extends Object>>
Collects the parameters shared by every cadence.