You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
SMAIndicator may benefit from reusage of precalculated partial sums.
CachedIndicator caches only final result, but, for example, SMA 200 have to iterate over 200 bars for each new bar again and again.
We can store for serial access previous sum and then subtract FIFO bar which gous out and add a new bar which goes in.
The text was updated successfully, but these errors were encountered:
I have checked existing issues and wiki
Is your feature request related to a problem? Please describe.
SMAIndicator may benefit from reusage of precalculated partial sums.
CachedIndicator caches only final result, but, for example, SMA 200 have to iterate over 200 bars for each new bar again and again.
We can store for serial access previous sum and then subtract FIFO bar which gous out and add a new bar which goes in.
The text was updated successfully, but these errors were encountered: