time

public StockUnit.Builder time(String dateTime)

Sets the timestamp identifying the bar. Named for the parameter it reads — the payload keys its bars by time — while the finished bar exposes the same value through getDate.

Return

this builder, for method chaining

Parameters

dateTime

the bar's timestamp, as the API formatted it