Builder

Assembles a request for daily bars, adding the output size and the choice of adjusted or raw prices to the ticker and data type inherited from TimeSeriesRequest.Builder.

Constructors

Link copied to clipboard
public void DailyRequest.Builder()
Creates a builder pinned to TIME_SERIES_DAILY, asking for raw prices and the 100 most recent trading days.

Properties

Link copied to clipboard
The endpoint being called, sent as the function parameter.

Functions

Link copied to clipboard
Switches the request to TIME_SERIES_DAILY_ADJUSTED, whose bars carry an adjusted close, a dividend amount and a split coefficient alongside the raw prices.
Link copied to clipboard
Assembles the ticker, output size and adjusted-or-raw choice set so far into a daily request.
Link copied to clipboard
public T dataType(DataType dataType)
Sets the format the API replies in.
Link copied to clipboard
public T forSymbol(String symbol)
Sets the ticker to request data for.
Link copied to clipboard
public T function(Function function)
Sets the endpoint to call.
Link copied to clipboard
Sets how much of the ticker's daily history to ask for.