v3
Added:
data_set
Fields:
symbol (series__string)
time_period (series__string)
count (series__integer)
records (array__|data_row|#OBJ)
Updated:
getTimeFrameValues(symbol, period, max_bars, opens, closes, highs, lows, volumes, times)
: Creates an data_set typed object, copies open,close,high,low,volume,time data into records and also calculates trends of records
Parameters:
symbol (string): Symbol
period (string): Target time period for returning data
max_bars (int): The historical bar count to be get
opens (float): The historical bars of open data
closes (float): The historical bars of open data
highs (float): The historical bars of open data
lows (float): The historical bars of open data
volumes (float): The historical bars of open data
times (int): The historical bars of open data
Returns: An data_set object which contains array of data_row type which includes [timestamp, year, month, day, hour, minute, second, fulltime, open, close, high, clow, volume, trend]