data: add 4 class methods

Added getOpen(), getClose(), getHighest(), getLowest().

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>