API Support wrote:
Plugin would normally be a GUI module in the platform with the same capabilities that strategies have, with the following features:
- Auto-start on platform launch which is configurable through the parameters' dialog.
- Trade disabling.
- Extended access to platform GUI - with JForex-API 2.9.4 (i.e. with the next platform release) one will be able to create menu items by using the Plugin API.
- Packaging in jar, meaning that one is not forced to keep all the logic in the same file or manage the libraries through @Library annotation. The latest JForex-SDK.zip version contains examples how one can use Maven assembly plugin to package plugins with their dependencies (if there are any).
Hence, when we think of currently implemented strategies that involve manual user action for doing trading operations, do some analysis/overviews/reports - those would be the candidates to be converted to plugins.
OK, thanks very much. I'm glad I asked this question, which has stimulated lots
of ideas, at least for me.
So here's what I'm thinking. I have a group of Remote Strategies
to manage. So I could implement my Swing-based MyStrategies Manager as a Plugin. This would be able to start/stop and generally manage my group of Remote Strategies, as an extension to the JForex platform (as a Plugin), with launch appearing as a menu item,
especially given the new API features to do Remote Strategy management coming from API 2.9.4. This MyStrategy Manager facility would be provided as a JAR, registered, and then would be
started from a menu on the JForex platform,
and would run for as long as the JForex platform was running, and be driven by its own
custom user interface and logic.
Originally I was thinking that I would have to write a standalone API process to do all of this
but now I am thinking that the Plugin might be an easier method to use, and better
"integrated" with the platform.
Would this be a proper usage of the Plugin implementation? Would it be able to manage
local and remote Strategy running, start/stop strategies both local and remote?
One issue I can think of is Strategy startup, and whether the manual Remote Strategy parameter
dialog could be automated, rather than requiring user intervention. In my specific case, I could
have Remote Strategy launch with NO Parameters, and then set parameters after they were
running. But that depends upon custom comms code I've written, so that would work for
me but not generally for others.
I haven't seen the Remote Launch API, so I don't know if manual configuration can be
skipped on API Remote Launch.
Thanks,
HyperScalper