bortexz / tacos

Collection of timeseries technical analysis indicators
Eclipse Public License 1.0
17 stars 1 forks source link

Use ring buffers as timeseries data structure #1

Open bortexz opened 1 year ago

bortexz commented 1 year ago

Ring buffers are a better data structure for timeseries that append to the end and automatically discard earlier items. It also has better time complexity. On the other hand, adding late arriving items might not be feasible to do, although I am happy with removing support for late arriving items (or have it with linear time complexity or other non-optimal approach)