Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 2.20
by AndrewAMD. 11/15/19 03:34
What are you working on?
by jumpman. 11/14/19 16:17
A9
by preacherX. 11/14/19 15:28
Idx calculated every tick
by jcl. 11/14/19 15:25
IG plugin initial release
by Dalla. 11/13/19 19:07
Login 0 IG ..
by Dalla. 11/13/19 19:03
Moving Average crossover
by gra9. 11/13/19 10:43
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
6 registered members (Iglarion, kvm, AndrewAMD, Dooley, 3run, 1 invisible), 675 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LaszloK, gra9, Dev_ill, Ryu, andrews825
18329 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 12 of 12 1 2 10 11 12
Re: Dukascopy plugin (yet another version) [Re: kvm] #478535
11/04/19 09:36
11/04/19 09:36
Joined: Nov 2019
Posts: 3
S
smartstoic Offline
Guest
smartstoic  Offline
Guest
S

Joined: Nov 2019
Posts: 3
Hi KVM,

Thanks for the fast reply.

That is strange. I can log in without problems using the plug in's own GUI. I still get a connection issue using it with Zorro. This is the log after a fresh restart of Zorro. Any ideas?

BTW, I'm starting Zorro using a .bat file with the following content:

Quote
SET PATH=C:\Program Files (x86)\Java\jdk1.8.0_231\jre\bin;C:\Program Files (x86)\Java\jdk1.8.0_231\jre\bin\client;%PATH%
start zorro.exe


Thanks



2019-11-04 10:34:55.840 INFO [main ] c.m.v.d.DukascopyPlugin - Creating plugin instance of DukascopyPlugin
2019-11-04 10:34:56.415 INFO [main ] c.m.v.d.DukascopyPlugin - Start Plugin: VER: 1.4D2019-03-13T11:44:11ZJFX3.4.13 | UP(2019-11-04T09:34:55Z): 0m | CPU(4): -1% | THR(5): 5 | MEM(247/15): 6M
2019-11-04 10:34:56.846 INFO [main ] c.m.v.d.DukascopyPlugin - Config loaded: timeout=10s, lock=-1, maxRequests=0, maxTicks=1500
2019-11-04 10:34:56.852 INFO [main ] c.m.v.d.DukascopyPlugin - brokerLogin: type=REAL, credentials=INTRODUCED, url=http://platform.dukascopy.com/live_3/jforex_3.jnlp
2019-11-04 10:34:57.954 ERROR [main ] c.d.a.i.c.AuthorizationClient - Auth failed
com.dukascopy.auth.client.AuthServerException: Auth failed
at com.dukascopy.auth.client.transport.http.HttpAuthTransport.makeServerRequest(HttpAuthTransport.java:109)
at com.dukascopy.auth.client.protocol.AbstractSRPClientProtocol.performStep2(AbstractSRPClientProtocol.java:196)
at com.dukascopy.auth.client.SRPAuthClient.step2(SRPAuthClient.java:179)
at com.dukascopy.auth.client.SRPAuthClient.authenticate(SRPAuthClient.java:76)
at com.dukascopy.api.impl.connect.AuthorizationClient.getAPIsAndTicketUsingLogin_SRP6(AuthorizationClient.java:1021)
at com.dukascopy.api.impl.connect.AuthorizationClient.getAPIsAndTicketUsingLogin_SRP6(AuthorizationClient.java:838)
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:563)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:344)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:334)
at com.metakod.vega.dukascopy.DukascopyPlugin.brokerLogin(DukascopyPlugin.java:145)
at com.metakod.vega.common.PluginBridge.brokerLogin(PluginBridge.java:100)
2019-11-04 10:34:57.960 ERROR [main ] c.m.vega.common.PluginBridge - VER: 1.0D2019-03-13T11:44:11Z | UP(2019-11-04T09:34:55Z): 0m | CPU(4): -1% | THR(7): 6 | MEM(247/15): 10M
com.dukascopy.api.system.JFAuthenticationException: Incorrect username or password
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:609)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:344)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:334)
at com.metakod.vega.dukascopy.DukascopyPlugin.brokerLogin(DukascopyPlugin.java:145)
at com.metakod.vega.common.PluginBridge.brokerLogin(PluginBridge.java:100)
2019-11-04 10:34:57.970 INFO [main ] c.m.v.d.DukascopyPlugin - Stop Plugin!

Last edited by smartstoic; 11/04/19 09:39.
Re: Dukascopy plugin (yet another version) [Re: smartstoic] #478536
11/04/19 10:09
11/04/19 10:09
Joined: Jan 2017
Posts: 84
Bulgaria
kvm Online OP
Junior Member
kvm  Online OP
Junior Member

Joined: Jan 2017
Posts: 84
Bulgaria
Originally Posted by smartstoic
Hi KVM,

Thanks for the fast reply.

That is strange. I can log in without problems using the plug in's own GUI. I still get a connection issue using it with Zorro. This is the log after a fresh restart of Zorro. Any ideas?

BTW, I'm starting Zorro using a .bat file with the following content:

Quote
SET PATH=C:\Program Files (x86)\Java\jdk1.8.0_231\jre\bin;C:\Program Files (x86)\Java\jdk1.8.0_231\jre\bin\client;%PATH%
start zorro.exe


Thanks



2019-11-04 10:34:55.840 INFO [main ] c.m.v.d.DukascopyPlugin - Creating plugin instance of DukascopyPlugin
2019-11-04 10:34:56.415 INFO [main ] c.m.v.d.DukascopyPlugin - Start Plugin: VER: 1.4D2019-03-13T11:44:11ZJFX3.4.13 | UP(2019-11-04T09:34:55Z): 0m | CPU(4): -1% | THR(5): 5 | MEM(247/15): 6M
2019-11-04 10:34:56.846 INFO [main ] c.m.v.d.DukascopyPlugin - Config loaded: timeout=10s, lock=-1, maxRequests=0, maxTicks=1500
2019-11-04 10:34:56.852 INFO [main ] c.m.v.d.DukascopyPlugin - brokerLogin: type=REAL, credentials=INTRODUCED, url=http://platform.dukascopy.com/live_3/jforex_3.jnlp
2019-11-04 10:34:57.954 ERROR [main ] c.d.a.i.c.AuthorizationClient - Auth failed
com.dukascopy.auth.client.AuthServerException: Auth failed
at com.dukascopy.auth.client.transport.http.HttpAuthTransport.makeServerRequest(HttpAuthTransport.java:109)
at com.dukascopy.auth.client.protocol.AbstractSRPClientProtocol.performStep2(AbstractSRPClientProtocol.java:196)
at com.dukascopy.auth.client.SRPAuthClient.step2(SRPAuthClient.java:179)
at com.dukascopy.auth.client.SRPAuthClient.authenticate(SRPAuthClient.java:76)
at com.dukascopy.api.impl.connect.AuthorizationClient.getAPIsAndTicketUsingLogin_SRP6(AuthorizationClient.java:1021)
at com.dukascopy.api.impl.connect.AuthorizationClient.getAPIsAndTicketUsingLogin_SRP6(AuthorizationClient.java:838)
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:563)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:344)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:334)
at com.metakod.vega.dukascopy.DukascopyPlugin.brokerLogin(DukascopyPlugin.java:145)
at com.metakod.vega.common.PluginBridge.brokerLogin(PluginBridge.java:100)
2019-11-04 10:34:57.960 ERROR [main ] c.m.vega.common.PluginBridge - VER: 1.0D2019-03-13T11:44:11Z | UP(2019-11-04T09:34:55Z): 0m | CPU(4): -1% | THR(7): 6 | MEM(247/15): 10M
com.dukascopy.api.system.JFAuthenticationException: Incorrect username or password
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:609)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:344)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:334)
at com.metakod.vega.dukascopy.DukascopyPlugin.brokerLogin(DukascopyPlugin.java:145)
at com.metakod.vega.common.PluginBridge.brokerLogin(PluginBridge.java:100)
2019-11-04 10:34:57.970 INFO [main ] c.m.v.d.DukascopyPlugin - Stop Plugin!


Hi smartstoic,

The URL is the correct one, therefore either the username or the password is wrong. As you can see from the log, they have been introduced in the plugin from Zorro.
I'm not familiar how Zorro stores account's credentials or how you entered them, but you can always skip that step by writing them down directly into the plugin's configuraion file.
If you restart Zorro and supply nothing for username and password then these hard coded values will be used and log will show: credentials=CONFIGURED.

Re: Dukascopy plugin (yet another version) [Re: kvm] #478538
11/04/19 13:42
11/04/19 13:42
Joined: Nov 2019
Posts: 3
S
smartstoic Offline
Guest
smartstoic  Offline
Guest
S

Joined: Nov 2019
Posts: 3
Hi KVM,

Your workaround works. Thanks for the quick feedback.

Is there any chance that you release the source code for the plug in? I can see that only the binary is available which means that using the plug in in a production environment is a high risk proposition.

Best regards

Last edited by smartstoic; 11/04/19 13:46.
Re: Dukascopy plugin (yet another version) [Re: smartstoic] #478539
11/04/19 14:58
11/04/19 14:58
Joined: Jan 2017
Posts: 84
Bulgaria
kvm Online OP
Junior Member
kvm  Online OP
Junior Member

Joined: Jan 2017
Posts: 84
Bulgaria
Hi smartstoic,

I'm glad to hear that it works. As for open sourcing the plugin, I can't promise anything.

The issue here is the Dukascopy pugin is not a standalone project. It's a small specific piece of code (only 400+ lines) running on top of a custom framework.

Open sourcing the plugin will mean to open source the whole my framework, which I'm not prepared to do at this moment.

Actually I would like to know when the Zorro project will be open sourced?

Last edited by kvm; 11/04/19 14:59.
Page 12 of 12 1 2 10 11 12

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1