Builder

Assembles a request for the Treasury yield series, adding the reporting interval and bond maturity to the parameters inherited from EconomicIndicatorRequest.Builder.

Constructors

Link copied to clipboard
Creates a builder for the TREASURY_YIELD endpoint.

Properties

Link copied to clipboard
The response format, set via dataType.
Link copied to clipboard
The Alpha Vantage function this request calls, set via function.

Functions

Link copied to clipboard
Assembles the parameters set so far into a Treasury yield request.
Link copied to clipboard
public T dataType(DataType dataType)
Sets the format the API replies in.
Link copied to clipboard
public T function(Function function)
Sets the Alpha Vantage function this request calls.
Link copied to clipboard
Sets the reporting interval for the series.
Link copied to clipboard
Sets the bond maturity the yield is reported for.