Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Nymphodora, AndrewAMD, TipmyPip, Quad, Imhotep), 847 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 11 of 14 1 2 9 10 11 12 13 14
Re: Dukascopy plugin (yet another version) [Re: kvm] #478058
08/30/19 09:37
08/30/19 09:37
Joined: Feb 2019
Posts: 14
Other
J
j45p41 Offline
Newbie
j45p41  Offline
Newbie
J

Joined: Feb 2019
Posts: 14
Other
Hi,

many thanks for the development of this connector. I am trying to allow the IP address for the connector to bypass my VPN.

I have configured: 104.20.188.23.

is this the correct IP?

Thanks!

Re: Dukascopy plugin (yet another version) [Re: kvm] #478059
08/30/19 10:50
08/30/19 10:50
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi,

IMO this is the IP of the primary domain (dukascopy.com), i.e. website, right?

But as you can see from the connector's configuration, it connects to a subdomain (platform.dukascopy.com) and its IP is the one you need to use.

Re: Dukascopy plugin (yet another version) [Re: kvm] #478060
08/30/19 11:01
08/30/19 11:01
Joined: Feb 2019
Posts: 14
Other
J
j45p41 Offline
Newbie
j45p41  Offline
Newbie
J

Joined: Feb 2019
Posts: 14
Other
Thanks KVM. I have tried both, must be a problem with windows when bypassing the VPN. I keep getting connection forcibly closed by broker.

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.55 35
13.224.227.62 255.255.255.255 192.168.1.1 192.168.1.55 36
104.20.188.23 255.255.255.255 192.168.1.1 192.168.1.55 36
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
172.17.12.176 255.255.255.240 On-link 172.17.12.177 5256
172.17.12.177 255.255.255.255 On-link 172.17.12.177 5256
172.17.12.191 255.255.255.255 On-link 172.17.12.177 5256
192.168.1.0 255.255.255.0 On-link 192.168.1.55 291
192.168.1.55 255.255.255.255 On-link 192.168.1.55 291
192.168.1.255 255.255.255.255 On-link 192.168.1.55 291
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.55 291
224.0.0.0 240.0.0.0 On-link 172.17.12.177 5256
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.55 291
255.255.255.255 255.255.255.255 On-link 172.17.12.177 5256
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
104.20.188.23 255.255.255.255 192.168.1.1 1
13.224.227.62 255.255.255.255 192.168.1.1 1

===========================================================================

Re: Dukascopy plugin (yet another version) [Re: kvm] #478061
08/30/19 11:48
08/30/19 11:48
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Is your account real or demo? Because, you have to suppress PIN code verification for your live accounts, otherwise, the authentication fails.
On how to do this, please follow this link: https://www.dukascopy.com/wiki/en/forex-cfds/jforex/practices

Suppress PIN code verification for LIVE accounts
It is possible to disable PIN code verification upon login.
You require a static IP address (contact your internet service provider).
To register the IP address:
  • Login into your live trading platform.
  • Open the My Account report (Go to Account > My Account).
  • In Security Settings, click on IP registration and register your IP address.


Last edited by kvm; 08/30/19 12:00.
Re: Dukascopy plugin (yet another version) [Re: kvm] #478073
09/03/19 10:45
09/03/19 10:45
Joined: Jun 2019
Posts: 14
D
dh85 Offline
Newbie
dh85  Offline
Newbie
D

Joined: Jun 2019
Posts: 14
Dear kvm,

Many thanks again for your Dukascopy plugin. I have been trading with it live since about 1 month now and it's working really good.

Today, however, I noticed the following errors in the Zorro log and was therefore wondering whether you could help me understand the root cause.

Even though the error was reported, it seems like the XAU/USD order was executed successfully.

Quote
[XAU/USD:NET:L1841] Sell 1@1525.56: +15.35 Bid 1525.25 at 00:04:00
Opn 1509.90 Cls 1525.56 Spr 0.307000 Slp -0.00 Rol 0.00 Com 0.00 Net 1
!ERROR VER: 1.0D2019-03-13T11:44:11Z | UP(2019-07-22T04:37:41Z): 61646m | CPU(2): -1% | THR(41): 37 | MEM(247/79): 49M java.util.concurrent.ExecutionException: com.dukascopy.api.JFException: state is CANCELED
Caused by: com.dukascopy.api.JFException: state is CANCELED
!java.util.concurrent.ExecutionException
!com.dukascopy.api.JFException: state is CANCELED
Error 075: (XAU/USD:NET:S) - can't open 1@1526 Stop 381.4 at 00:04:00
XAU/USD Pool: 0 Virtual: -1

[Tue 19-09-03 04:04] 5601 +179 +533 14/8 1.09599/1.09599\1.09311/1.09351 -0.000030000
!ERROR VER: 1.0D2019-03-13T11:44:11Z | UP(2019-07-22T04:37:41Z): 61886m | CPU(2): -1% | THR(41): 37 | MEM(247/79): 56M java.util.concurrent.ExecutionException: com.dukascopy.api.JFException: state is CANCELED
Caused by: com.dukascopy.api.JFException: state is CANCELED
!java.util.concurrent.ExecutionException
!com.dukascopy.api.JFException: state is CANCELED
Error 075: (XAU/USD:NET:S) - can't open 1@1524 Stop 381.0 at 04:04:01
XAU/USD Pool: 0 Virtual: -1


Many thanks in advance,

Daniel

Re: Dukascopy plugin (yet another version) [Re: dh85] #478074
09/03/19 11:32
09/03/19 11:32
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi Daniel,

These error messages come from the underlying library and are not very detailed. So it would be better if you show the full log.

Re: Dukascopy plugin (yet another version) [Re: kvm] #478078
09/03/19 19:11
09/03/19 19:11
Joined: Jun 2019
Posts: 14
D
dh85 Offline
Newbie
dh85  Offline
Newbie
D

Joined: Jun 2019
Posts: 14
Hi kvm,

Please find below the log messages recorded in vDukascopy-log.txt:

Code
2019-09-03 00:04:00.274 INFO  [main    ] c.m.v.d.DukascopyPlugin        - brokerCommand: SET_ORDERTYPE=0
2019-09-03 00:04:00.274 INFO  [main    ] c.m.v.d.DukascopyPlugin        - brokerSell: tradeID=120481841, amount=1
2019-09-03 00:04:00.375 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_ACCEPTED-Order ACCEPTED: #564405256 SELL 1 XAU/USD @ MKT - Position #120481841; Related Order: [DukascopyPlugin1566331440983]-FILLED / XAU/USD / 1509.901445 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:01.260 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_FILLED-Order FILLED at 1524.758 (#564405256 SELL 1 XAU/USD @ MKT)  - Position #120481841; Related Order: [DukascopyPlugin1566331440983]-FILLED / XAU/USD / 1509.901445 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:01.261 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: ORDER_CLOSE_OK; Text: null; Related Order: [DukascopyPlugin1566331440983]-CLOSED / XAU/USD / 1509.901445 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:01.261 INFO  [main    ] c.m.v.d.DukascopyPlugin        - brokerSell: tradeID=120481841, amount=1, order=[DukascopyPlugin1566331440983]-CLOSED / XAU/USD / 1509.901445 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:01.266 INFO  [main    ] c.m.v.d.DukascopyPlugin        - brokerCommand: SET_ORDERTYPE=0
2019-09-03 00:04:01.266 INFO  [main    ] c.m.v.d.DukascopyPlugin        - brokerBuy2: asset=XAU/USD, amount=-1, stop=381.39, limit=0.0
2019-09-03 00:04:01.370 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_ACCEPTED-Order ACCEPTED: #564405275 SELL 1 XAU/USD @ MKT MAX SLIPPAGE 0.05 - Position #120891325; Related Order: [DukascopyPlugin1567469041266]-CREATED / XAU/USD / 1525.265 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:01.371 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_ACCEPTED-Order ACCEPTED: #564405276 STOP LOSS BUY 1 XAU/USD @ MKT IF ASK  => 1906.655 EXPIRES: GTC - Position #120891325; Related Order: [DukascopyPlugin1567469041266]-CREATED / XAU/USD / 1525.265 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:01.371 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: ORDER_SUBMIT_OK; Text: null; Related Order: [DukascopyPlugin1567469041266]-OPENED / XAU/USD / 1525.265 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:02.025 INFO  [Strategy] c.m.v.d.DukascopyPlugin        - Strategy.onMessage: Message Type: ORDER_FILL_REJECTED; Text: null; Related Order: [DukascopyPlugin1567469041266]-CANCELED / XAU/USD / 1525.265 / 1.0E-6 / 1.0E-6
2019-09-03 00:04:02.028 ERROR [main    ] c.m.vega.common.PluginBridge   - VER: 1.0D2019-03-13T11:44:11Z | UP(2019-07-22T04:37:41Z): 61646m | CPU(2): -1% | THR(41): 37 | MEM(247/79): 49M
java.util.concurrent.ExecutionException: com.dukascopy.api.JFException:  state is CANCELED
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:206)
	at com.metakod.vega.common.PluginBase.waitTo(PluginBase.java:317)
	at com.metakod.vega.dukascopy.DukascopyPlugin.brokerBuy2(DukascopyPlugin.java:295)
	at com.metakod.vega.common.PluginBridge.brokerBuy2(PluginBridge.java:463)
Caused by: com.dukascopy.api.JFException:  state is CANCELED
	at com.dukascopy.api.impl.connect.PlatformOrderImpl.updated(PlatformOrderImpl.java:1969)
	at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor.runExceptTicksAndBars(ScienceThreadPoolExecutor.java:1034)
	at com.dukascopy.api.impl.connect.JFRunnableProcessor.waitForUpdate(JFRunnableProcessor.java:121)
	at com.dukascopy.api.impl.connect.JForexTaskManager.waitForUpdate(JForexTaskManager.java:667)
	at com.dukascopy.api.impl.connect.PlatformOrderImpl.waitForUpdate(PlatformOrderImpl.java:2072)
	at com.dukascopy.api.impl.connect.PlatformOrderImpl.waitForUpdate(PlatformOrderImpl.java:2051)
	at com.metakod.vega.dukascopy.DukascopyPlugin.lambda$brokerBuy2$7(DukascopyPlugin.java:292)
	at com.dukascopy.api.impl.execution.TaskCustom.call(TaskCustom.java:34)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor$Worker.runTask(ScienceThreadPoolExecutor.java:904)
	at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor$Worker.run(ScienceThreadPoolExecutor.java:926)
	at java.lang.Thread.run(Thread.java:748)

Re: Dukascopy plugin (yet another version) [Re: kvm] #478081
09/04/19 07:05
09/04/19 07:05
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi Daniel,

Unfortunately I can't figure out from this snipped why the order was rejected. To get more detailed information don't hesitate to contact the Dukascopy's support. They will investigate what happened with this order.

Re: Dukascopy plugin (yet another version) [Re: kvm] #478528
11/03/19 17:25
11/03/19 17:25
Joined: Nov 2019
Posts: 3
S
smartstoic Offline
Guest
smartstoic  Offline
Guest
S

Joined: Nov 2019
Posts: 3
Hi KVM,

Any idea why I cannot connect using my real account? Demo account is working fine. I have added my IP in the allowed list and I can login using JForex without having to type in a PIN. Whenever I try to connect using Zorro, I get:

2019-11-03 18:19:05.366 ERROR [main ] c.m.vega.common.PluginBridge - VER: 1.0D2019-03-13T11:44:11Z | UP(2019-11-03T16:59:54Z): 19m | CPU(4): -1% | THR(37): 15 | MEM(247/52): 38M
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-03 18:19:05.375 INFO [main ] c.m.v.d.DukascopyPlugin - Stop Plugin!


I'm using latest versions of Zorro and your plug in. It seems that I have the same issue when using the alternative plugin ( https://github.com/juxeii/dztools) so I guess the problem must be on my end.

Thanks for your feedback

Re: Dukascopy plugin (yet another version) [Re: smartstoic] #478533
11/04/19 07:26
11/04/19 07:26
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

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

Any idea why I cannot connect using my real account? Demo account is working fine. I have added my IP in the allowed list and I can login using JForex without having to type in a PIN. Whenever I try to connect using Zorro, I get:

2019-11-03 18:19:05.366 ERROR [main ] c.m.vega.common.PluginBridge - VER: 1.0D2019-03-13T11:44:11Z | UP(2019-11-03T16:59:54Z): 19m | CPU(4): -1% | THR(37): 15 | MEM(247/52): 38M
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-03 18:19:05.375 INFO [main ] c.m.v.d.DukascopyPlugin - Stop Plugin!


I'm using latest versions of Zorro and your plug in. It seems that I have the same issue when using the alternative plugin ( https://github.com/juxeii/dztools) so I guess the problem must be on my end.

Thanks for your feedback


Hi,

It looks like a credential issue to me. First check the plugin's log to see which server are you connecting to (search for 'brokerLogin').

You can also test all the plugin's functionality using its own UI, just execute: java -jar vDukascopy-1.4.jar


Last edited by kvm; 11/04/19 07:27.
Page 11 of 14 1 2 9 10 11 12 13 14

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