Dukascopy
 
 
Wiki JStore Search Login

Demo IEngine.broadcast
 Post subject: Demo IEngine.broadcast Post rating: 0   New post Posted: Fri 07 Feb, 2014, 06:44 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Mon 17 Feb, 2014, 23:25 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Tue 18 Feb, 2014, 03:31 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Tue 18 Feb, 2014, 04:34 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Tue 18 Feb, 2014, 09:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We are going to fix this.


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Wed 26 Feb, 2014, 23:26 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Thu 03 Apr, 2014, 19:27 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Tue 13 May, 2014, 23:01 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
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


 
 Post subject: Re: Demo IEngine.broadcast Post rating: 0   New post Posted: Fri 27 Jun, 2014, 13:06 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Fix available with JForex-API 2.9.12.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com