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
2 registered members (AndrewAMD, Imhotep), 567 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 10 of 14 1 2 8 9 10 11 12 13 14
Re: Dukascopy plugin (yet another version) [Re: ags] #476594
03/12/19 06:17
03/12/19 06:17
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi ags,

Could you attach the full log (starting from opening the order)?

Re: Dukascopy plugin (yet another version) [Re: kvm] #476596
03/12/19 07:28
03/12/19 07:28
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi kvm,

it is the Position #168186933, it starts 2019-03-11 with this lines

2019-03-11 04:00:11.050 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_ACCEPTED-Order ACCEPTED: #646676239 BUY 3 USA30.IDX/USD @ MKT MAX SLIPPAGE 0.05 - Position #168186933; Related Order: [DukascopyPlugin1552273211035]-CREATED / USA30.IDX/USD / 25401.03 / 3.0E-6 / 3.0E-6

Here the related log file:

Attached Files
vDukascopy-log.txt (175 downloads)
Re: Dukascopy plugin (yet another version) [Re: ags] #476597
03/12/19 08:12
03/12/19 08:12
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi ags,

Here is what happen from my view point:

1. The script opens a buy order with stoploss 201 points away from the price:
2019-03-11 04:00:11.035 - brokerBuy2: asset=USA30.IDX/USD, amount=3, stop=201.62, limit=0.0
2019-03-11 04:00:11.068 - brokerBuy2: tradeID=168186933, type=BUY, order=[DukascopyPlugin1552273211035]-FILLED / USA30.IDX/USD / 25401.03
where open price is 25401.03 and stoploss sell is at 25401.03-201.62=25199.41

2. The script moves the stoploss to 25351.25:
2019-03-11 05:00:07.232 - brokerStop: tradeID=168186933, stop=25351.25

3. The stoploss is triggered and the order is closed by the broker:
2019-03-11 09:00:52.691 - Strategy.onMessage: Message Type: NOTIFICATION; Text: ORDER_FILLED-Order FILLED at 25350.569 (#646676240 STOP LOSS SELL 3 USA30.IDX/USD @ MKT IF BID <= 25351.25 EXPIRES: GTC) - Position #168186933; Related Order: [DukascopyPlugin1552273211035]-FILLED / USA30.IDX/USD / 25401.03 / 3.0E-6 / 3.0E-6

4. The script is trying to close the order but it doesn't exist anymore:
2019-03-11 09:00:59.428 - brokerSell: tradeID=168186933, amount=3
brokerSell: Order not found for tradeID=168186933

Re: Dukascopy plugin (yet another version) [Re: kvm] #476598
03/12/19 17:17
03/12/19 17:17
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi kvm,

yes, the plugin seems not to report to Zorro that the position was closed.

I contacted the support team and the asked me to check if the plugin properly reports closed positions.

"For this, thei idicated to use the TradeTest script. Open a position and then close it directly in the broker platform. Zorro should detect the closed position within a few seconds, or a minute the latest."

I did that and indeed just get the same error message as before:

!ERROR brokerTrade: Order not found for tradeID= xx

So it really seams that the plugin is not reporting to Zorro that the position was closed.

Re: Dukascopy plugin (yet another version) [Re: ags] #476606
03/13/19 12:10
03/13/19 12:10
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
New Dukascopy plugin v1.4 is available:

- Fixed issue with externally closed orders not being reported
- Tested with Zorro v1.96.4

Re: Dukascopy plugin (yet another version) [Re: kvm] #476870
04/16/19 19:28
04/16/19 19:28
Joined: Jul 2016
Posts: 51
H
hatten Offline
Junior Member
hatten  Offline
Junior Member
H

Joined: Jul 2016
Posts: 51
Dear KVM,

Thank you for the Dukascopy plugin. I would like to use it, but fail to login to my account using the included GUI plugin tester. I suspect this is related to the pin that is normally required as second authorization in addition to the password.

How is this circumvented?

Other questions are:

1. Does this plugin automatically get the RollShort and RollLong values when switching to a certain asset just as the zorro plugin for MT4 and MT5 brokers does?

2. Is the multibroker functionality of zorro supported? In other words if I switch from an asset belonging to one broker to an asset from Dukascopy, does that work with this plugin assuming of couse the DUkascopy account is included in the Accounts.scv and the asset names are adapated properly and included in the Assets.csv?


Thanks for any assistance

Hatten

Re: Dukascopy plugin (yet another version) [Re: hatten] #476872
04/17/19 07:13
04/17/19 07:13
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi Hatten,

Originally Posted By: hatten
Dear KVM,
Thank you for the Dukascopy plugin. I would like to use it, but fail to login to my account using the included GUI plugin tester. I suspect this is related to the pin that is normally required as second authorization in addition to the password.

I've intentionally not implemented PIN verification, because it contradicts to the principles of fully automated trading.
You can test the plugin with a demo account or you have to suppress PIN code verification for your live accounts.
On how to do this, please follow this link: https://www.dukascopy.com/wiki/en/forex-...r-live-accounts

Originally Posted By: hatten

1. Does this plugin automatically get the RollShort and RollLong values when switching to a certain asset just as the zorro plugin for MT4 and MT5 brokers does?


So far I've not figured out how to get the rolling rates via the API. You have to manually update the asset file, getting the rates from here:
https://www.dukascopy.com/swiss/english/cfd/cfd-overnight-policy

Originally Posted By: hatten

2. Is the multibroker functionality of zorro supported? In other words if I switch from an asset belonging to one broker to an asset from Dukascopy, does that work with this plugin assuming of couse the DUkascopy account is included in the Accounts.scv and the asset names are adapated properly and included in the Assets.csv?

Unfortunately, I can't comment on this because I don't have Zorro S license and can't test it.

Re: Dukascopy plugin (yet another version) [Re: kvm] #477599
07/12/19 10:36
07/12/19 10:36
Joined: Jun 2019
Posts: 14
D
dh85 Offline
Newbie
dh85  Offline
Newbie
D

Joined: Jun 2019
Posts: 14
Dear KVM,

I received below error message in the Zorro log and would really appreciate your help in understanding / fixing it:

!ERROR [DDS2 Standalone Transport Client] Event did not execute in timeout time [1000] and is still executing, CRITICAL EXECUTION WAIT TIME: 1006ms, possible application problem or deadLock, message [ !ERROR [DDS2 Standalone Transport Client] Event execution took 1460ms, critical timeout time 1000ms, possible application problem or deadLock, message [ [Thu 19-07-11 04:11] 5216 +84.16 +133 10/0 1.12616/1.12809\1.12582/1.12768 -0.000020000

I already contacted Zorro support, but they forwarded me to you as the error would come from the plugin.

My setup is as follows:

Zorro S version 2.15.0
Plugin version 1.4
Java version 1.8.0_212

Many thanks in advance,
Daniel

Re: Dukascopy plugin (yet another version) [Re: dh85] #477601
07/13/19 11:04
07/13/19 11:04
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 specific error messages can be ignored. They are coming from the Dukascopy's library (DDS2) and indicate some connection issues (timeouts, server problems, etc.), but the library handles them internally and reconnects if needed.

Last edited by kvm; 07/13/19 11:08.
Re: Dukascopy plugin (yet another version) [Re: kvm] #477606
07/15/19 05:03
07/15/19 05:03
Joined: Jun 2019
Posts: 14
D
dh85 Offline
Newbie
dh85  Offline
Newbie
D

Joined: Jun 2019
Posts: 14
Great, thanks a lot

Page 10 of 14 1 2 8 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