Gamestudio Links
Zorro Links
Newest Posts
Trade Question
by trader310. 06/03/20 16:01
MT4/5 - wrong M1 time
by Grat. 06/03/20 08:20
TD Ameritrade Broker Plugin
by cwford. 06/03/20 06:58
Oanda instruments
by DdlV. 06/03/20 06:00
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
13 registered members (hast29, AndrewAMD, MatPed, 3run, aariassanta, jenGs, Grat, mayark, ESR, 1 invisible), 466 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Frank_Shieh, PBSeven, Hardi01, Giuseppe, AdamWu
18461 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 12 of 13 1 2 10 11 12 13
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: 91
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 91
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: 91
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 91
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.
Re: Dukascopy plugin (yet another version) [Re: kvm] #479241
03/09/20 10:13
03/09/20 10:13
Joined: Mar 2020
Posts: 12
China
S
Sue_w Offline
Newbie
Sue_w  Offline
Newbie
S

Joined: Mar 2020
Posts: 12
China
Hi, I am a newbie to Zorro and trying to set up the Dukascopy plugin with a demo account. I followed the manual as well the latest file, and installed JDK 1.8.0.241 (with no space in installation path). I have also update the environment viariables and the dukascopy bat file. It now shows Dukascopy on the launch pad. But when I try to do sth (such as download), the screen will freeze or disappear, and nothing else happens. Can someone please advise what I might have done wrong in this case? Many thanks in advance!

Re: Dukascopy plugin (yet another version) [Re: kvm] #479243
03/09/20 11:59
03/09/20 11:59
Joined: Jan 2017
Posts: 91
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 91
Bulgaria
Hi Sue, I think it would be helpful to see the log file from the plugin, which is located here: <Zorro_Folder>\Plugin\vDukascopy-1.4\vDukascopy-log.txt,

Also, could you specify what version of Zorro you're using?

Re: Dukascopy plugin (yet another version) [Re: kvm] #479244
03/09/20 12:44
03/09/20 12:44
Joined: Mar 2020
Posts: 12
China
S
Sue_w Offline
Newbie
Sue_w  Offline
Newbie
S

Joined: Mar 2020
Posts: 12
China
Hi KVM, I was using Zorro 2.20, and then copied the Zorro2.24 beta version files over so now it appears Zorro 2.24. There is no folder called vDukascopy-1.4, and there is no text file in .....\Zorro\Plugin\dukascopy folder... Many thanks for your help!

Re: Dukascopy plugin (yet another version) [Re: kvm] #479245
03/09/20 13:52
03/09/20 13:52
Joined: Jan 2017
Posts: 91
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 91
Bulgaria
Could I make a suggestion here? Is it possible that you are using different Dukascopy plugin (from different vendor)? Because this one must have 'vDukascopy-1.4' directory (latest version) and it definitely doesn't provide a BAT file.

Please take a look at this thread: Dukascopy broker plugin for download and try to identify which one of the Dukascopy plugins you are using.

Re: Dukascopy plugin (yet another version) [Re: kvm] #479249
03/09/20 16:00
03/09/20 16:00
Joined: Mar 2020
Posts: 12
China
S
Sue_w Offline
Newbie
Sue_w  Offline
Newbie
S

Joined: Mar 2020
Posts: 12
China
Hi KVM, I have now installed your plugin but seems not able to login as the red light kept on. I have attached the log file. Can you pls kindly advise what might have went wrong? Many thanks!

Attached Files
vDukascopy-log.txt (19 downloads)
Re: Dukascopy plugin (yet another version) [Re: Sue_w] #479255
03/10/20 06:28
03/10/20 06:28
Joined: Jan 2017
Posts: 91
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 91
Bulgaria
Hi Sue, I've tested Dukascopy Plugin v1.4 and everything works fine with the latest release of Zorro v2.20.2 using the TestTrade script and a demo account. I would suggest you to use the same testing environment to confirm this, because the BETA version is not guaranteed to work flawlessly. I'm waiting for your feedback.

Page 12 of 13 1 2 10 11 12 13

Moderated by  Petra 

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