I have the task of sending Buy/Sell signals generated from existing afl code to another system on LAN for further processing.
The target system will receive the data into managed code.
I was planning to develop a plugin so that it can be used in the afl code.
I just wanted to confirm if developing a plugin would be the best course of action?
Or if there is another better way to achieve this?
You can also implement simple HTTP server on the receiving end and use InternetOpenURL function to send GET requests. That would save the work of creating the plugin at all.
I mean is it similar to algo trading i.e placing orders automatically on the trading terminal (either web based or exe based) as per the signals generated in the afl----with out any manual intervention?
Actually the application running on the other system is a Desktop App and requirements specifications state the protocol must be TCP/IP, zero tolerance on performance.
So I gather it can be done through a plugin, if one doesn't mind putting in the work, right?
I was just a bit curious about what limitations, if any, does Amibroker put on the plugin code or I can do absolutely wataever that a C++ DLL is capable of ?
Does not matter at all. Desktop app can have HTTP server inside, no problem with that. HTTP server IS using TCP/IP and really everything I wrote previously holds up. From your posts I can see (near) zero knowledge about network programming so I really advise you hire someone who is knowledgeable.
Yeah..pretty much!
I will explain this one point further though..
The AFL Function could be your own(plugin) or an in-built one(like Tomasz suggested), depending on your needs you may or may not need the Bridge App. If you don't, you can directly use the Broker API from Ami plugin to trade. But if you do, this app will receive the signal from Amibroker and place the order using the API.