-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
streaming preview: initial baseline #824
Conversation
This would be super handy for use with web sockets. Reactive Extensions internals would be a major plus... possibly consider Dynamic Data as well, which is what I'm currently using. |
For sure. I'm thinking of WebSocket specifically for this one. Thanks for the reference on Dynamic Data -- it might be easier than simply using the native homework completed
|
I've come back to this and am currently working through the complexities ... like dealing with out-of-sequence late quote arrivals through chains of dependencies 😮. @codebeaulieu and @danbopes, I'd love some early feedback on the public interface UX depicted in the description above if you have any. |
Just my humble opinion: you started to solve too many issues at once? Then, for my use case, I would be able to:
Edit: I just found the "STREAM INITIALIZATION" marked functions in Ema.Api.cs and yes, those look exactly like what I meant, thanks! I assume they are internal, as not production ready? |
This is some good general advice. Thank you. My goal here is to do a single tracer the whole way through with one chainable indicator before widely implementing across all other indicators. Once I get the basic concept working well, I'll think about how to apply some useful increments in smaller forms. And you're right, I probably could have done the # initialize quotes provider,
# can be extended to integrate with your
# quote stream or WebSocket source
QuoteProvider provider = new();
# subscribe individual indicators as observers at any time
# you can add batch quotes
provider.Add(quotes);
# or incremental quotes at any time
provider.Add(quote);
# to pass quotes to subscribers
// stop providing quotes to everyone
// will unsubscribe all gracefully
provider.EndTransmission(); |
That’s right. It’s only in the feature branch right now. I’ll release a preview package soon, for people to try it out. |
Description
A preview of streaming use cases for quotes,
.Use
, EMA, and SMA only, for prototyping of initial scenarios./tests/observe/
inv3
branchThis is the first in a series of preview releases that implement streaming use cases. We expect possibly 5-10 preview pre-release versions before we make an official v3 package. They are all experimental and will be quite volatile with breaking changes and conventions.
Known limitations (cannot do)
.Use
chainsWhat we'll do next