Is your feature request related to a problem? Please describe.
Currently the Timestamps values for the REST models.Agg and WS models.EquityAgg structs are different in two ways:
Agg only has the start timestamp, EquityAgg has start and end
Agg timestamp is a time.Time, EquityAgg is an int64
I realize that the REST agg and WS agg aren't necessarily the same exact data (the WS agg contains more info in each datapoint), but I think it would be very useful (and hopefully a light lift) to standardize the timestamps for ease of client development.
Describe the solution you'd like
EquityAgg timestamps changed to time.Time (ideally all API timestamps would be time.Time)
Agg given an end timestamp OR remove EquityAgg end timestamp and add a Timespan field to both structs
Is your feature request related to a problem? Please describe.
Currently the Timestamps values for the REST
models.Aggand WSmodels.EquityAggstructs are different in two ways:Aggonly has the start timestamp,EquityAgghas start and endAggtimestamp is atime.Time,EquityAggis anint64I realize that the REST agg and WS agg aren't necessarily the same exact data (the WS agg contains more info in each datapoint), but I think it would be very useful (and hopefully a light lift) to standardize the timestamps for ease of client development.
Describe the solution you'd like
EquityAggtimestamps changed totime.Time(ideally all API timestamps would betime.Time)Agggiven an end timestamp OR removeEquityAggend timestamp and add aTimespanfield to both structs