Builder

Assembles a request for monthly bars.

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

Constructors

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

Functions

Link copied to clipboard
Assembles the currency pair set so far into a monthly 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.