Gamestudio Links
Zorro Links
Newest Posts
Instrument Price Zorro Chart
by felixfx. 10/19/19 20:48
Today real live account blown - my experience
by Clifford_B. 10/19/19 17:09
Building Diversified Portfolios - New Paper
by SnoopySniff. 10/18/19 16:23
Indices & metals easier to trade than FX???
by SnoopySniff. 10/18/19 10:08
What are you working on?
by txesmi. 10/17/19 07:00
Ducascopy exporter
by line7. 10/17/19 06:21
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
5 registered members (AndrewAMD, felixfx, Dalla, painkiller, ugofx), 658 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VillageTalkies, line7, Shutch, Clifford_B, Paulius
18310 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 11 of 11 1 2 9 10 11
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: 81
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

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

Joined: Jan 2017
Posts: 81
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: 11
D
dh85 Offline
Newbie
dh85  Offline
Newbie
D

Joined: Jun 2019
Posts: 11
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: 81
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 81
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: 11
D
dh85 Offline
Newbie
dh85  Offline
Newbie
D

Joined: Jun 2019
Posts: 11
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: 81
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 81
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.

Page 11 of 11 1 2 9 10 11

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