Best way to update an existing indicator when you receive a new candle #883
Replies: 3 comments 4 replies
-
@SimoneLocatelli, keep an eye on #824. I'm currently working on the streaming quotes use case. Currently, the library uses a more common full time-series approach, so for now you'd just add the new quote to |
Beta Was this translation helpful? Give feedback.
-
The results I get from above do not match with the actual ones when I see them on chart.. I am looking to get 20 period moving average for a time frame of 15 minutes. The quotes received from the service provider match with the actual data. I am interested the moving average at date/time of the last candle closed. What am I missing ? Can you guide ? List liveQuotes = GetHistoricPrices(stock, timeframe, maperiod); |
Beta Was this translation helpful? Give feedback.
-
Follow or continue this conversation in our discussion on streaming indicators for progress and information about pre-release package versions to support live and incremental quote sources. |
Beta Was this translation helpful? Give feedback.
-
Let's suppose I create the following indicator
Currently, when I add a new candle to list, I can update the indicator by recalculating it again
I was wondering if this is best approach or if there is a more faster/better way to update the indicator?
Beta Was this translation helpful? Give feedback.
All reactions