Replies: 2 comments 1 reply
-
See our discussion on incremental calculations. I have streaming use cases in our backlog and will have a preview of how this would work in #802. Currently, the library only calculates full series. The interface will be something like: # establish indicator base
var emaBase = quotes.InitEma(14);
var results = emaBase.Results;
# add streaming / repeating updates
emaBase.Add(quote); |
Beta Was this translation helpful? Give feedback.
1 reply
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Dave,
I'm using your library in a real-time stock data stream, I have to re-calculate the total series when every new candle comes in.
Is there a method that doesn't need to re-calculate all the data series, but only calculates the new coming one?
my code is :
While(true)
{
.....
dataList.Add(newCandles);
dataList.RemoveAt(0);
dataList.GetMacd(9, 24, 5, CandlePart.Close);
}
the count of the dataList is keeping in 300.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions