arnonmoscona / iqfeed Goto Github PK
View Code? Open in Web Editor NEWIQfeed client base functionality (requires IQfeed developer license)
License: Apache License 2.0
IQfeed client base functionality (requires IQfeed developer license)
License: Apache License 2.0
EventPublisher
is not a very good event model. Need to refactor to something like EventBus
or MBassador
Currently the facade knows about the client. Most applications are not all that high performance as the original and I can afford to make things cleaner at some performance cost.
Stream.generate
The current code relies on tags and older jam features. It may be possible to
The "inherited code" in the iqfeed project uses it's own weird dependency injection. For instance injecting a concrete IQFeed Facade class into the IQfeed client.
Need to use a third party dependency injection.
Remodel iqfeed client using java8 streams. Consider also using apache Camel as a processing pipeline.
Should also consider esper as it has very good support for windowing, such as what one would use for moving averages. Although another possibility is to find some extension of java8 streams that has windowing functions. Failing to find one it might be a good exercise to build one myself and publish it. Esper functionality might be a good feature guide for this.
Look also at http://pic.dhe.ibm.com/infocenter/streams/v2r0/index.jsp?topic=%2Fcom.ibm.swg.im.infosphere.streams.javadoc.api.doc%2Fdoc%2Findex.html (IBM infosphere streams window operator)
Also look at spark reduceByKeyAndWindow http://spark.apache.org/docs/0.9.1/streaming-programming-guide.html
The most important thing in this case is that the input stream and output stream may not be numbers. Input could be ticks and output could be bars (window size is not be fixed and can be zero) or it could be a bar stream to bar stream transformation.
The thing is that it may simply be a matter of using the built-in Collectors.groupingBy() method and some rather thin layer that is trading specific...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.