Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Demo IEngine.broadcast http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=88&t=50774 |
Page 1 of 1 |
Author: | hyperscalper [ Fri 07 Feb, 2014, 06:44 ] |
Post subject: | Demo IEngine.broadcast |
Hi, I'm just wondering. Is there any possibility that the Demo server sends IEngine.broadcast messages only to the JForex client? I may be wrong here but in testing, I'm not getting IEngine.broadcast to my Linux servers logged into the same Demo account using the standalone API to run Strategies with onMessage handlers looking for broadcast messages. The broadcast message should arise from a Remote Strategy running in the same Demo account which is the message IEngine.broadcast source. A Local Run Strategy in JForex platform listening for onMessage broadcast messages (of type IStrategyBroadcastMessage) definitely DOES receive the messages. I'll verify this tomorrow. I could be wrong. HyperScalper |
Author: | hyperscalper [ Mon 17 Feb, 2014, 23:25 ] |
Post subject: | Re: Demo IEngine.broadcast |
It does appear that the DEMO Remote Server does not broadcast to all API clients signed into the DEMO account, but only to the JForex platform Demo client. Please confirm this? HyperScalper |
Author: | hyperscalper [ Tue 18 Feb, 2014, 03:31 ] |
Post subject: | Re: Demo IEngine.broadcast |
I'm also not getting IEngine.broadcasts sent to a Linux standalone API client in a Live account. However, the JForex client in the same Live account always receives those same broadcast messages. SO...... am I missing something here? Is there something that a standalone Linux API client has to do to receive IStrategyBroadcastMessage callbacks ?? The client is running like a dozen strategies, but only 1 of them is "interested" in the onMessage broadcast message handling. My understanding is that all running Strategies will receive every message broadcast, from within the same account. Is this really true? What is it that the JForex platform is doing, that my standalone API IClient is not doing? Any ideas what that could be? These broadcasts originate from Remote Server, so could it be that Remote Server does not broadcast to ALL clients logged into the account? It always seems to work for Strategies run by the JForex platform... whether Demo or Live. Some ideas anybody ? I'm so glad that I'm not relying very much on IEngine.broadcast. I just use a message once in a while, originating on Remote Server, but I do need to receive that message reliably. If I have to implement the functionality out on the Linux servers, at some distance, then I'll suffer a lot more network traffic that if I ran it on the Remote Server. HyperScalper |
Author: | hyperscalper [ Tue 18 Feb, 2014, 04:34 ] |
Post subject: | Re: Demo IEngine.broadcast |
OK, more information. in my onMessage, the message argument is NULL !! Now the question would be why is IStrategy.onMessage(IMessage message) receiving a null message? The very same message as received by a Strategy running locally simultaneously in JForex is correct, not null. I will check whether this message might exceed the 1000 character limit....... nope, that's not the problem. Well, I'm temporarily "stumped" by this. Any ideas welcome... JForex platform local strategy running simultaneously, using the same code, always receives the message... HyperScalper |
Author: | API Support [ Tue 18 Feb, 2014, 09:28 ] |
Post subject: | Re: Demo IEngine.broadcast |
We are going to fix this. |
Author: | hyperscalper [ Wed 26 Feb, 2014, 23:26 ] |
Post subject: | Re: Demo IEngine.broadcast |
Thank you. This bug also appears to affect the Live servers as well, not just Demo servers. I am not receiving broadcasts on my Linux servers currently running standalone API 2.9.5.1 logged into the same Live account. They are receiving the News messages, though. I am a U.S. FXDD user, if that makes any difference at all. It still remains true that the JForex platform client always receives broadcasts, whether Demo or Live. Thanks for fixing this, HyperScalper |
Author: | hyperscalper [ Thu 03 Apr, 2014, 19:27 ] |
Post subject: | Re: Demo IEngine.broadcast |
Just wanted to add that I updated to v2.9.7.1 It seems that Remote Server, probably both Demo and Live, fails to send broadcast messages to all clients. RemoteServer appears to send only to the JForex platform client, and not to other API clients. Anyway, please fix Remote Server so that it will broadcast to all clients in the account. Thanks, HyperScalper |
Author: | hyperscalper [ Tue 13 May, 2014, 23:01 ] |
Post subject: | Re: Demo IEngine.broadcast |
When will the Live and Demo remote servers properly IEngine.broadcast to ALL clients signed into the trading account? In particular, my Linux servers don't receive broadcasts, while the JForex client does. Thanks, HyperScalper |
Author: | API Support [ Fri 27 Jun, 2014, 13:06 ] |
Post subject: | Re: Demo IEngine.broadcast |
Fix available with JForex-API 2.9.12. |
Page 1 of 1 |