Bob Matthews wrote:I have just downloaded v5.12.0 and installed, tested and monitored OK
Not sure how to incorporate it into my current system - as follows
I have a dozen cloned strategies written in java each independent of the others
I start them one at a time on a forex java platform
From a high level perspective, I guessed your strategies were your nodes that need to communicate with each other.
Are each strategy running in its own jvm instance?
Are all your strategies running on the same machine?
I guess by forex, you are referring to the trading platform.
I wish to use ActiveMQ to allow each strategy to communicate with all the others
I wish to use just 2 simple message formats a status message and a decision message
Can you point to an example of how I set this all up please
p.s. is it just a matter of putting the activeMQ jar file into each strategy ?
You need at least the client activeMQ jar file accessible to each strategy and you need at least 1 activeMQ server running (e.g. ActiveMQ Broker) somewhere although it might be possible to run an ActiveMQ Broker inside one or all of your strategy jvm, depending on the forex platform specificities.
I hadn't been here for fifteen years
posted 5 years ago
OK so nodes are strategies (java programs)
Is each strategy running in its own jvm instance?
Not sure I understand this.................
I logon to the forex platform and then run each strategy separately
At the moment - say up to 3 strategies are running on the same machine but in future I need to have more than one host (machine)
Forex - foreign exchange I am using the Dukascopy Trading platform
client activeMQ jar file - accessible to each strategy
no problem - I add this to a library of jar files in each strategy
my thinking is that I run activeMQ broker inside each and every strategy
each strategy will send message1 at predetermined intervals - saying hey - I am here!
each strategy will send message2 soon after saying - my next prediction is such-and-such
All strategies need to know when they have received all possible message2's - not sure how to do this part..............
Then each strategy does the same calculation routine to reduce x trades down to y trades where the exposure is much less but achieves the same trade action
Thank you again for your help
A timing clock, fuse wire, high explosives and a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop