To avoid hijack of AB 7 Wishlist thread, i am starting a separate thread.
is it possible to have a data plugin that will be a client that connects to a local websocket. The websocket will receive only RTD but use the AB local DB as storage?
So the idea is, many Brokers/Vendors provide data and they have client libraries as each is a bit custom. If there is a generic data plugin, it just has to connect to a local server. The onus of building the server program is on AB user. The plugin can have a format like the import files format.
I do not have a strong programming background and C++ is quite difficult to adapt for me.
@Tomasz After few hours going though ADK help about data plugins and looking at QT plugin code, it appears that the plugin requests data to http server each time. This would be completely opposite to websocket stream/broadcast.
Short guide to AmiBroker with QuoteTracker feed
For refresh interval it suggests 5-10 sec for intraday polling.
In next post, I have setup a small python script to simulate what could be a generic case. The format of the data is like format files specified for Imports.
A possible data structure if not simple plain text could be JSON, as each batch would have data for multiple symbols. How does QuoteEX() function handle that. I believe another function would do for each symbol in the batch of data received.
Of course, the idea is open to C++ enthusiasts as well, because currently it is out of my scope.
If such a plugin is useful for AB users, kindly comment incase its worth Tomasz putting his time into it. Thanks.