Open ovresko opened 2 years ago
The calculation of most technical indicators requires some intermediate values that have been calculated before, and this part is difficult.
exactly, since most TA requires known timeperiod, why not create (update shape) when updateData is used get X last TA values and instead of calcTechnicalIndicator: (kLineDataList: any[], { params, plots }) where kLineDataList is full timeseries calcTechnicalIndicator: (kLinePeriodDataList: any[], { params, plots }) where kLinePeriodDataList is X last timeseries