Window
Exactly one of {from,to}, last or bars. Warmup is fetched before
the window automatically and never counted in results. Clamped to the
plan's historical depth.
object
fromstring (date-time)tostring (date-time)Defaults to now.
laststringbarsinteger