interval

Sets how much time each bar covers. Defaults to ONE_MIN.

Only the five intraday members of Interval are accepted here — ONE_MIN, FIVE_MIN, FIFTEEN_MIN, THIRTY_MIN and SIXTY_MIN. The enum's wider members exist for the technical indicator and economic indicator endpoints, and this endpoint rejects them.

Return

this builder, for method chaining

Parameters

interval

the width of each bar