DailyRequest

public class DailyRequest extends TimeSeriesRequest

A request to TIME_SERIES_DAILY, which returns one open-high-low-close-volume bar per trading day for a ticker, going back twenty years or more.

It is the only cadence in this package with a length control, because it is the only one whose full history is long enough for the distinction to matter. The default COMPACT trims the answer to the 100 most recent trading days; FULL returns the whole series.

adjusted switches the request over to TIME_SERIES_DAILY_ADJUSTED, which adds an adjusted close, a dividend amount and a split coefficient to every bar. That is the only cadence whose adjusted variant reports a split coefficient.

Author

Sylvester Sefa-Yeboah

Since

1.0.1

Types

Link copied to clipboard
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.