Builder

Assembles a request for weekly bars.

It adds no setters of its own, since the currency pair and data type inherited from ForexRequest.Builder are everything FX_WEEKLY accepts.

Constructors

Link copied to clipboard
public void WeeklyRequest.Builder()
Creates a builder for the FX_WEEKLY endpoint.

Functions

Link copied to clipboard
Assembles the currency pair set so far into a weekly request.
Link copied to clipboard
public T dataType(DataType dataType)
Sets the format the API replies in.
Link copied to clipboard
public T fromSymbol(String fromSymbol)
Sets the base currency of the pair — the one whose price is being quoted.
Link copied to clipboard
public T toSymbol(String fromSymbol)
Sets the quote currency of the pair — the one the base currency is priced in.