Replies: 3 comments 3 replies
-
Hi @electic, which indicator do you want to recompute? For a SMA of length 3 it always gets recomputed once a new datapoint arrives. Can you elaborate your use case or share some demo code? @lei1996 also built this library for streaming data: https://github.com/lei1996/rxjs-trading-signals |
Beta Was this translation helpful? Give feedback.
-
Hi, basically we want to recompute data as it streams. So for one minute candles, the current candle changes the MACD value however it has yet to close. Take a look at this package, there are two calls, nextValue and Moment. |
Beta Was this translation helpful? Give feedback.
-
One more thing I noticed is the library creates a new Big number on the heap which might be performance intensive. Not sure about it, but would love to get your feedback. |
Beta Was this translation helpful? Give feedback.
-
First off, great library. Thank you for creating it. Is there a way to update the latest sample and recomppute? Right now, it seems you can only add to a sample set and get a running result.
I am trying to use this in a streaming application. Appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions