Stock Unit
One open-high-low-close-volume bar of a stock time series, covering whichever span the requested cadence samples at — minutes, a day, a week or a month.
The four prices are quoted in the ticker's listing currency and volume counts shares traded over the span, so a monthly bar's volume is the month's total rather than a daily average.
Three further fields — getAdjustedClose, getDividendAmount and getSplitCoefficient — only carry values when the request went to the adjusted variant of a cadence. They are primitive double fields, so an unadjusted bar reports them as 0.0 rather than as absent, and 0.0 on its own does not distinguish "not requested" from "no dividend paid". The cadence the bar came from is what tells those apart.
Author
Sylvester Sefa-Yeboah
Since
1.0.1
Functions
2 for a two-for-one split, for instance.