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 1 of 8 1 2 3 4 5 6 7 8
Dukascopy broker plugin for download #447697
12/29/14 11:38
12/29/14 11:38
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi all,

I really like the Zorro project and the effort you put into it.
So, I would like to contribute with a broker plugin for Dukascopy.

Download, installation instructions and source code can be found on the project page on GitHub.
Please read the documentation carefully!

As stated on the project page, this is all in beta stage so do not expect it to be bug free laugh
As of now, I could successfully connect to Dukascopy and open/close some trades.
Be aware that I tested only on my developing machine, so the installation instructions might be incomplete.
Please post any issues with the setup here and you should use pastebin for providing logs.

This is a pure private project and I will take care of bugs in my rare sparetime :-)

I wish you all a happy new year 2015! wink
Cheers,
Juergen

Last edited by ibne; 01/03/15 00:03.
Re: Plugin and converter for Dukascopy for download [Re: ibne] #447703
12/29/14 19:59
12/29/14 19:59
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
Hallo JÜrgen,

you know that you can get the full version of Zorro if your prject is stable enough for JCL and his tema? :-)

Re: Plugin and converter for Dukascopy for download [Re: Sundance] #447704
12/29/14 20:12
12/29/14 20:12
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi Sundance,

my main goal is to be able to trade with Zorro and Dukascopy.
But I would not decline taking the full version :-)
Thanks for the hint.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #464536
02/24/17 10:08
02/24/17 10:08
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi all,

its been a while since the last release of the Dukascopy plugin, but now there is a new beta version 0.9.5 available on github.

Please follow the installation instructions to get the plugin running.
The plugin is tested with Zorro version 1.50.6, so make sure you have this version installed.

It would be nice if someone with a Dukascopy account could report here.

Thanks for testing and happy trading,
Juergen

Last edited by ibne; 02/25/17 14:30.
Re: Plugin and converter for Dukascopy for download [Re: ibne] #464588
02/27/17 23:12
02/27/17 23:12
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
Thanks for this Juergen, I will download and check it out.

Re: Plugin and converter for Dukascopy for download [Re: boatman] #464615
03/01/17 14:09
03/01/17 14:09
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
How long did it take you to write this broker plugin? I'm considering attempting the same for IG...

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464617
03/01/17 14:24
03/01/17 14:24
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi Dalla,

I think it depends on how well you know the underlying API.
I have years of experience with the Dukascopy API and so the development time took 2-3 weeks in total.
But consider that Dukascopy uses Java and not C/C++.
This makes the development hard, since you first need to write the JAVA<->C++ bridge with something like JNI.
If there would be only a C/C++ API, then of course the development time should be much shorter.

Cheers,
Juergen

Re: Plugin and converter for Dukascopy for download [Re: ibne] #464629
03/02/17 09:16
03/02/17 09:16
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
IG basically has two APIs; one REST API for trades etc, and a Streaming API for getting quotes. The Streaming API uses Lightstreamer which has a bunch of clients, but none for C/C++ as far as I can tell. I've implemeted a Java client, which was fairly straight forward. But yeah, I can tell from your code that the bridging seems quite complex.

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464630
03/02/17 10:25
03/02/17 10:25
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
If you know how to simplify the C++ bridge, I'd be happy to hear about :-)

Re: Plugin and converter for Dukascopy for download [Re: ibne] #464639
03/02/17 15:06
03/02/17 15:06
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I have no idea, never done it before :-) I was rather considering how much of your code that I could reuse ;-)

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464641
03/02/17 18:10
03/02/17 18:10
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Considering looking into JNA which looks very mature
https://github.com/java-native-access/jna

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464642
03/03/17 02:26
03/03/17 02:26
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I have realized that the easiest way forward would probably be to just reuse your existing bridge &#128514;
However I cannot find any license info in your repo, meaning that no one can reuse your work. Would you mind adding an open source license?

https://help.github.com/articles/licensing-a-repository/

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464643
03/03/17 06:51
03/03/17 06:51
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Sure, done.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #464645
03/03/17 07:16
03/03/17 07:16
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
Great, Thanks!

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464714
03/07/17 06:46
03/07/17 06:46
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
A question if you have the time. I'm not very familiar with C++ :-)
My understanding is that BrokerAsset will be called whenever Zorro wants a price update (or price NULL to start a subscription for an asset).

There is no callback where I can push prices back to Zorro, right?
IG has a streaming API for receiving prices, meaning they will push prices to me.
No problem storing those values internally, but just wanted to make sure I understood this correctly.

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464715
03/07/17 07:13
03/07/17 07:13
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
I don't think there is a callback for pushing prices. Zorro requests them regularly.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #464746
03/08/17 10:16
03/08/17 10:16
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I'm actually having trouble loading the the dukascopy plugin in Zorro on Windows 10. I have followed the instruction on your github page, bug Dukascopy is not showing up in the Zorro dropdown.

Weird thing (?). The IG plugin which basically build on your code (which I have compiled in Visual Studio 2017), DOES show up in the drop down.

Tbh I have no idea why this happens. Any clue?

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #464748
03/08/17 12:10
03/08/17 12:10
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
See your PM inbox.

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #465297
04/16/17 07:25
04/16/17 07:25
Joined: Nov 2016
Posts: 103
NSW
V
vinsom Offline
Member
vinsom  Offline
Member
V

Joined: Nov 2016
Posts: 103
NSW
Hi,
Just my 2 cents for the IG plugin.
There are some samples on how to call the IG API in C#. Also you can create a C# dll that can be called from C. That would be much easyer than Java I think.

Vincenzo

Re: Plugin and converter for Dukascopy for download [Re: vinsom] #465305
04/16/17 14:24
04/16/17 14:24
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I'm basically done with the IG plugin already, just some final testing before I release the initial version

Last edited by Dalla; 04/16/17 14:25.
Re: Plugin and converter for Dukascopy for download [Re: Dalla] #466173
05/29/17 00:25
05/29/17 00:25
Joined: Apr 2017
Posts: 6
Firenze, Toscana
U
Unsane Offline
Newbie
Unsane  Offline
Newbie
U

Joined: Apr 2017
Posts: 6
Firenze, Toscana
Hi,
I cannot figure out how Dukascopy plugin works.
I'm editing the plugin.properties file, but I don't understand
"adapt the .cache path to your local JForex installation path"? What does it mean? What should I exactly do? Can you provide an example file?
Help is much appreciated.
Thank you.

Re: Plugin and converter for Dukascopy for download [Re: Unsane] #466176
05/29/17 08:45
05/29/17 08:45
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
@Unsane: if you did not install any JForex software from Dukascopy, then you do not have to change anything in the properties file.
I adapted the description on the Github page.
Just start the Dukascopy plugin without changes to the properties file.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #466246
06/02/17 23:30
06/02/17 23:30
Joined: Apr 2017
Posts: 6
Firenze, Toscana
U
Unsane Offline
Newbie
Unsane  Offline
Newbie
U

Joined: Apr 2017
Posts: 6
Firenze, Toscana
@ibne. Thanks for reply, Unfortunately I cannot see Dukascopy in the account scroll bar. My Zorro version is 1.54.5. I've no JForex software installed. Downloaded and unzip plugin exactly as indicated in Github.
???

Re: Plugin and converter for Dukascopy for download [Re: Unsane] #466309
06/07/17 15:39
06/07/17 15:39
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi,

I just released version 0.9.6 of the plugin.
You can download it here
This version is compatible with Zorro 1.58 and it has many small bug fixes and performance improvements.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #468912
10/27/17 10:20
10/27/17 10:20
Joined: Oct 2017
Posts: 9
D
debs Offline
Newbie
debs  Offline
Newbie
D

Joined: Oct 2017
Posts: 9
Hello @ibne, thank you for plugin. Please is there any way how to disable PIN authentication after start/restart?

Re: Plugin and converter for Dukascopy for download [Re: debs] #468955
10/29/17 15:42
10/29/17 15:42
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
@debs
Are you starting a live account with Zorro?
As far as I know it is a must to provide a pin for live accounts(demo accounts don't need them) on every login.
And when you restart Zorro, Zorro always calls the plugin to login.
So there is nothing I can do.

Cheers,
Jürgen

Re: Plugin and converter for Dukascopy for download [Re: ibne] #468958
10/30/17 06:54
10/30/17 06:54
Joined: Oct 2017
Posts: 9
D
debs Offline
Newbie
debs  Offline
Newbie
D

Joined: Oct 2017
Posts: 9
@ibne
Yes Live account, but I allowed my VPS IP address. Normally in Jforex in this situation PIN is not required. But this is just nice to have thing laugh

Also I am facing issue with eur/usd and Z strategies on this live account:

Error 033: EUR/USD missing in INITRUN
Error 011: Function ATR called with invalid parameters (no price)
Error 011: Function BBANDS called with invalid parameters (no price)

In my trading platform there is every 30 min cancelled order with weird price like::
30.10.2017 05:30:00 Order #396642892, Position #94329306
BUY 1,000.00 EUR / USD OpIF ask > 42
CANCELLED
This is just dummy call or something wrong??

I tried almost everything with history files, and assets and z strategy config(excluding, including), but still without result only with this strange price in order .. smirk In FXCM plugin(demo) everything works ok, so I think there must be something with dukascopy.
Any idea what I am doing wrong??


Re: Plugin and converter for Dukascopy for download [Re: debs] #468962
10/30/17 10:59
10/30/17 10:59
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
@debs
1) As far as I know the Dukascopy API does not provide any function to determine if the live account is activated via VPN, so I cannot bypass the PIN verification.
2) Error 033: EUR/USD missing in INITRUN: I have no clue about this one
3) Every 30mins the plugin creates a dummy order on EUR/USD to determine if the platform is closed. The Dukascopy API does not provide a function to see whether there is a holiday or not. Only weekends are supported which is really bad. I will probably provide a setting option where one can disable these dummy orders, but then it might happen that Zorro signals a "green" connection state when the Dukascopy platform is actually closed.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #470772
02/06/18 09:23
02/06/18 09:23
Joined: Oct 2017
Posts: 9
D
debs Offline
Newbie
debs  Offline
Newbie
D

Joined: Oct 2017
Posts: 9
Hi ibne,
I've found that "Error 033: EUR/USD missing in INITRUN” is caused by externally opened position before initial load.
If I have open position with asset which is included in my strategy script(or EUR/USD) before running - pair quotation is returned like 0,0001 and causing these problems. Is there any solution to fix this issue?

In the new version of Zorro(1.74) initial loading begins with „!Command 43 not yet supported“ this is connected with plugin so I try to look at source code, fund this statement but don’t have a clue what is missing there?

Are you planning some future updates of your plugin?
I really like to contribute somehow, but I am not programmer - so it’s hard for me try to fix anything complex like these.



Re: Plugin and converter for Dukascopy for download [Re: debs] #470832
02/08/18 07:50
02/08/18 07:50
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi,

I'm really busy currently with other stuff. I'll try to have a look into issues with the new Zorro version in the next weeks...

Re: Plugin and converter for Dukascopy for download [Re: ibne] #474633
10/26/18 17:45
10/26/18 17:45
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi Jürgen,

hope you find some time to look into this.
If I can add something, from what I'm reading, tehre is no problem with these messages in general, you can ignore them:

!Command 45 not yet supported
!Command 43 not yet supported
!Command 172 not yet supported

But what I'm experiencing is that when trading and entering a position, the API starts to send neverending loops of the same message:

!Command 172 not yet supported

what can't be good if you leave the system unattended in a VPS.

I understand these messages are comming from the API, so perhaps simplifying the API would help.

Have no experience with dll but will also put some time on it.

Re: Plugin and converter for Dukascopy for download [Re: Dalla] #475178
11/27/18 00:29
11/27/18 00:29
Joined: Nov 2018
Posts: 2
M
maji Offline
Guest
maji  Offline
Guest
M

Joined: Nov 2018
Posts: 2
can you support cfd and stock?

Re: Plugin and converter for Dukascopy for download [Re: maji] #475861
01/10/19 17:20
01/10/19 17:20
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi,

I just created an early new release and it would be great if there are some testers laugh
Project/Source code is here: ProjectPage
Distribution zip: PluginZip

Just download the zip file and extract into your zorro installation folder.

BTW: Yes, stocks and CFDs are now supported laugh

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475865
01/10/19 21:06
01/10/19 21:06
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hallo Jürgen,

i'm unable to connect with the new plugin.
Revised my system several times but just can't connect. After the 2nd intent, Zorro crashes.

log from Zorro:

Download compiling....
Login 0 Dukascopy..
BrokerLogin:No Data!
Can't connect!

Tested the same environment with other plugins and it works. Also Dukascopy.

Any idea?

Re: Plugin and converter for Dukascopy for download [Re: ags] #475866
01/10/19 22:25
01/10/19 22:25
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

I've uploaded a patch, but I'm not sure if this helps.
Please download now again and then:
1)Extract the contents of the zip into your zorro installation path.
2)Check that "dukascopy.dll" is located under Plugin
3)Check that "dukascopy" folder under Plugin has a file "dzjforex-0.9.7.jar" and a "lib" folder
4)Check that the file "zorroDukascopy.bat" is located in the zorro folder and adapt the paths to your Java installation(32bit!)
5)Start Zorro with "zorroDukascopy.bat"

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475870
01/11/19 09:00
01/11/19 09:00
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

indeed, now it works, but i'm not starting from the bat file, it adds some confusion if you have several accounts.

I started an original Z12 in test mode in Dukascopy.

Keep you posted.

Re: Plugin and converter for Dukascopy for download [Re: ags] #475871
01/11/19 09:15
01/11/19 09:15
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Thank you so much laugh
The bat file is just meant as a helper for people who have not so much experience with Java.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475878
01/11/19 14:29
01/11/19 14:29
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

just got a disconnection with:

OutOfMemoryError: Java heap space

Here the log file.

Attached Files
Re: Plugin and converter for Dukascopy for download [Re: ags] #475882
01/11/19 15:11
01/11/19 15:11
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Thx for the report.
Could also please give me the logfile "dzplugin.log" which is located in the dukascopy folder.
How can I reproduce your problem?
Which strategy do I need to start?

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475884
01/11/19 15:21
01/11/19 15:21
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

a few minutes too late... sorry.
Just re-started the system and the dzfile has no info, there is only one file there and the oldest info is from the restart time.

This error could be a side effect of the other system i'm testing in the same AWS m3 instance. I had this OutOfMemory case already with kvm's former version vDukascopy-1.1 / Now also replaced to VDukascopy-1.2 that should repair the issue.

Is ist possible that one Zorro (with vDukascopy-1.1.dll) drags the other Zorro (with Dukascopy.dll that is your dll Version) ??

Re: Plugin and converter for Dukascopy for download [Re: ags] #475885
01/11/19 15:24
01/11/19 15:24
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
By teh way, Zorro opened a position before the crash and it was possible to resume after a manual disconnection and restart.
The dll really manages CFDs now.

Re: Plugin and converter for Dukascopy for download [Re: ags] #475886
01/11/19 16:27
01/11/19 16:27
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Just uploaded a new pathc which fixes a problem with history download on the Z12 strategy.
You probably have this issue too.
Please check the dzplugin.log file for exceptions.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475887
01/11/19 17:32
01/11/19 17:32
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
That was what i was seeing but not really...
Indeed, now Hystoric prices are also loaded...

Re: Plugin and converter for Dukascopy for download [Re: ags] #475897
01/12/19 10:43
01/12/19 10:43
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

got a strange situation on wekend.
Zorro running with your latest dll from yesterday evening (a Z12 in an M3 instance ) just desapeared.
Crashed and closed i supose.

Here the zip file with both log files. I just left everithing since last connection yesterday evening 18:31.

Attached Files
dzplugin_files.zip (100 downloads)
Re: Plugin and converter for Dukascopy for download [Re: ags] #475898
01/12/19 10:57
01/12/19 10:57
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Thx ags.
I cannot find anythin suspicious here frown
Seems a dukascopy problem...
Meanwhile uploaded a new path with minor corrections.

EDIT: Again upload a new version which prints the current usage of heap space to track possible issues. Also added more deletions on JNI references which could fix an issue with heap space. You can now also set the maximum available heap size in the Plugin.properties file. When setting it too high, the Plugin just crashes.

Last edited by ibne; 01/12/19 21:11.
Re: Plugin and converter for Dukascopy for download [Re: ibne] #475928
01/14/19 12:39
01/14/19 12:39
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

i started a live test now. Just reconnected a Zorro with a standard Z12 trading since a few Months.
With the DEMO Version and your last update everithing is fine. A short time i know, let's see what happens in the next days.

One question, with the other dll i'm testing (kvm) i have no problem in connecting live without the PIN Panel from Dukascopy since i registered the IP Address from my AWS instance, with yours i always have to write the PIN for live connection (not necesary in the DEMO version), how can i disable this? (it's disturbing if using scripts like Download which disconnects every time and you have to write the PIN again).

EDIT: any experience running 2 Zorros in paralell in the same AWS instance? (and with different dll's !!??) I changed my tests to remain with only one kind of dll in each instance since had very bad experience mixing dll's in the same instance.
It is an M3.medium instance, so should not be any problem with capacity, but the JAVA based APIs are killing the instance, apparently...

Re: Plugin and converter for Dukascopy for download [Re: ags] #475934
01/14/19 14:36
01/14/19 14:36
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

login without pin should now work.
Could you please try? You can set a plugin config parameter to use the pin verification.
Default is disabled, so your live account login should work without pin.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475937
01/14/19 16:53
01/14/19 16:53
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

it hangs, can't Login with the latest patch.
It freezes at Login 0 Dukascopy....

Checked again with Version from Yesterday and it works, with the PIN but it works.

Re: Plugin and converter for Dukascopy for download [Re: ags] #475938
01/14/19 17:13
01/14/19 17:13
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Could you please post both logs?

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475939
01/14/19 17:21
01/14/19 17:21
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Here you go

Attached Files
dzplugin.txt (179 downloads)
Re: Plugin and converter for Dukascopy for download [Re: ags] #475940
01/14/19 19:12
01/14/19 19:12
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Ok, new patch uploaded.
One bug was that freeze, at least this one should be gone.
I can now login a live account and IP verification.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475962
01/15/19 15:49
01/15/19 15:49
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

is not working with my live accounts.
The Demo login works, but not the live login.

Here the log files:

Attached Files
dzplugin.txt (188 downloads)
Download_demo.txt (211 downloads)
Download_real.txt (173 downloads)
Re: Plugin and converter for Dukascopy for download [Re: ags] #475964
01/15/19 17:53
01/15/19 17:53
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

sorry to hear it does not work.
At least, does the plugin freeze again or was this fixed?
I just downloaded directly from github the latest release and on my side it works.
I have a live acccount with Dukascopy and DukascopyEU, both work fine.
Could you please download it again, because I changed the jnlp address to see if it works for you.
You can also try(as I have) create an entry in the Accounts.csv list under history folder like this:
Name,Broker,Account,User,Pass,Assets,CCY,Real,NFA,Plugin,Source
Dukascopy_Live,Dukascopy,0,Username,Password,AssetsFix,EUR,1,0,dukascopy.dll
These are my settings and IP verification works.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475972
01/16/19 08:41
01/16/19 08:41
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

no freeze anymore, thats right, but i get no connection to live account.

Below the log files i get wen trying to connect to a real account. I tried both accounts i have with Dukascopy Bank, the log files include both connection intents from this morning with your latest Version downloaded this morning too.

I tested also different environments so i'm sure it's not a setup problem oon my side.
I also re-tested your plugin version from 13.01.19 and it works, with the PIN pannel to login but it works, so i guess it should be something with the PIN pannel or IP recognition.

And yes, i have 6 accounts configured in the Accounts file as you describe, that's my normal procedure.

Attached Files
dzplugin.txt (227 downloads)
Re: Plugin and converter for Dukascopy for download [Re: ags] #475974
01/16/19 09:10
01/16/19 09:10
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

since it works on my side I can not reproduce it frown
I have no further ideas right now, so if you want to login to live accounts you have to resort back to pin verification.
for that you have to set the parameter usepin=true in the config file.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475975
01/16/19 09:25
01/16/19 09:25
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

with usepin=true it works, i can login to the live accounts using the PIN.
Very extrange... why should the same setup not work with usepin=false...

Re: Plugin and converter for Dukascopy for download [Re: ags] #475988
01/16/19 16:20
01/16/19 16:20
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

found another particularity, maybe you can explain.

When i use your plugin, my M3.medium instance works almost at full cumputing power all the time. Normally between 60 and 80% of capacity and also at 99% capacity at intervals. Observed this situation last 3 days.
I stated to measure because the instance was working very heavy, any other activity you start, just the Task Manager f.e., would kill the instance.

If i disconnect, change the plugin to another version and reconnect, without changin anything, then with this other plugin (also Java based and also with Dukascopy) the M3 instance works at 10 to max 15% capacity with exaclty the same script and setting, no change at all other than the plugin.

Any idea why this difference in computing power needed??

Re: Plugin and converter for Dukascopy for download [Re: ags] #475993
01/16/19 17:15
01/16/19 17:15
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

I can just guess, but the current implementation triggers Zorro on every tick it receives, for any asset in the asset list.
This helps in receiving "real time" ticks and you do not lose any ticks in between BrokerAsset calls.
I can implement a configurable parameter were you can disable the "real time" behavior.
I don't know if the other plugin implements SET_HWND, so can not tell about it.
Keep you updated when done with the adaptation.

EDIT: The real problem here is with Zorro, as you can not stream incoming data directly. This would reduce the amount of work drastically.

Last edited by ibne; 01/16/19 17:17.
Re: Plugin and converter for Dukascopy for download [Re: ibne] #475995
01/16/19 18:20
01/16/19 18:20
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

new version uploaded.
Set paramter plugin.usetickcallback = false and the workload might reduce.
I admit to have a powerful machine, but even at high market times, the Zorro instance only uses 6% of CPU load.
You can also try to increase your heap space in the config file.
Do not set it above 2000.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #475999
01/16/19 21:33
01/16/19 21:33
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

thank you, now it works better, less computing power needed.
The usetickcallback parameter kills a relative big M3.medium AWS instance, so it won't work on other smaller instances like T2.micro or similar, where Zorro is normally used for long term live trading.

By the way, alsoo the PIN recongition works fine, it was a failure on my configuration side. The log files really misleeded in this particular point.

Re: Plugin and converter for Dukascopy for download [Re: ags] #476000
01/16/19 21:45
01/16/19 21:45
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

I admit I don't know what M3 order T2 is laugh

When you say PIN verification works...I assumed that this has always worked.
You complaint about IP verification...does this now also work?

Re: Plugin and converter for Dukascopy for download [Re: ibne] #476004
01/17/19 07:40
01/17/19 07:40
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

sorry, yes, IP verification works, i don't need to use the PIN if my IP was registered in my Dukascopy account.

And M3.medium and T2.micro are AWB instances, that is cloud computing you can rent at Amazon Web Services.
They also have a tier one internet connection so you never have internet connection problems here, besides you don't need to have a UPS backed and super stable computer at home.

If you wan't to trade long term, for me there is no other solution than a cloud or a server space. From home it is too unstable from my point of view.

Re: Plugin and converter for Dukascopy for download [Re: ags] #476005
01/17/19 08:44
01/17/19 08:44
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

ok, glad to hear that IP verification works.
So we sorted all problems out right now?
I would then create an official next patch version on github.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #476007
01/17/19 11:08
01/17/19 11:08
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi all,

released new version for download here: PluginZip

Several bugs were fixed(thx ags!) and new broker commands added.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #476043
01/21/19 16:57
01/21/19 16:57
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

i'm having a lot of problems with the new Version.
The one before was fine, this one i do not get even connected to the DEMO account.
Tested all the same, just exchange with the Version i downloaded on 16.01 and it works fine, so it is not the system or setup (?)

Re: Plugin and converter for Dukascopy for download [Re: ags] #476046
01/21/19 21:33
01/21/19 21:33
Joined: Dec 2014
Posts: 56
I
ibne Offline OP
Junior Member
ibne  Offline OP
Junior Member
I

Joined: Dec 2014
Posts: 56
Hi ags,

thx for your report.
I have no problems with this version when logging in.
However I found two bugs which might cause trouble, so please download again the latest version(0.9.71), I pushed a patch.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #476048
01/22/19 10:57
01/22/19 10:57
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi ibne,

now it works indeed.
And using plugin.usetickcallback = false the workload reduces to levels where you can use it in a small AWS instance.

Thank you very much.
I'll let you know if i see anything else.

Re: Plugin and converter for Dukascopy for download [Re: ibne] #479248
03/09/20 15:41
03/09/20 15:41
Joined: Mar 2020
Posts: 12
China
S
Sue_w Offline
Newbie
Sue_w  Offline
Newbie
S

Joined: Mar 2020
Posts: 12
China
Hi ibne, I am a newbie to Zorro and have downloaded your plugin for Dukascopy (latest version dzjforex-0.9.71). I am having an error below and could not log in. Can you pls help? Many thanks.

My error log is as follows:
2020-03-09 23:23:59,255 DEBUG [DefaultDispatcher-worker-1] login.LoginApi$brokerLogin$1 (BrokerLogin.kt:27) - Starting login: username DEMO2KGyBW accountType Demo
2020-03-09 23:24:02,039 ERROR [DefaultDispatcher-worker-1] zorro.ZorroNatives (ZorroNatives.kt:12) - BrokerLogin failed! Error message: Internal error. Error: -9 Stack trace: java.lang.Exception: com.dukascopy.api.JFException: Internal error. Error: -9
at com.jforex.dzjforex.misc.PluginKt.getStackTrace(Plugin.kt:53)
at com.jforex.dzjforex.login.LoginApi$brokerLogin$3.invoke(BrokerLogin.kt:40)
at com.jforex.dzjforex.login.LoginApi$brokerLogin$3.invoke(BrokerLogin.kt:18)
at arrow.typeclasses.ApplicativeError$handleError$1.invoke(ApplicativeError.kt:28)
at arrow.typeclasses.ApplicativeError$handleError$1.invoke(ApplicativeError.kt:9)
at arrow.effects.IOFrame$Companion$ErrorHandler.recover(IOFrame.kt:24)
at arrow.effects.IOFrame$Companion$ErrorHandler.recover(IOFrame.kt:21)
at arrow.effects.IORunLoop.step(IORunLoop.kt:49)
at arrow.effects.IO.unsafeRunTimed(IO.kt:130)
at arrow.effects.IO.unsafeRunSync(IO.kt:127)
at com.jforex.dzjforex.misc.PluginKt.runDirect(Plugin.kt:62)
at com.jforex.dzjforex.misc.PluginKt$runWithProgress$1.invokeSuspend(Plugin.kt:64)
at com.jforex.dzjforex.misc.PluginKt$runWithProgress$1.invoke(Plugin.kt)
at arrow.effects.DeferredK$Generated$DefaultGenerated$1.invokeSuspend(DeferredK.kt:188)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:233)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
Caused by: com.dukascopy.api.JFException: Internal error. Error: -9
at com.dukascopy.api.impl.connect.DCClientImpl.authenticate(DCClientImpl.java:631)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:344)
at com.dukascopy.api.impl.connect.DCClientImpl.connect(DCClientImpl.java:334)
at com.jforex.kforexutils.client.LoginApi$login$1.invoke(LoginApi.kt:26)
at com.jforex.kforexutils.client.LoginApi$login$1.invoke(LoginApi.kt:12)
at arrow.typeclasses.ApplicativeError$DefaultImpls.catch(ApplicativeError.kt:37)
at arrow.typeclasses.MonadError$DefaultImpls.catch(MonadError.kt)
at arrow.typeclasses.MonadThrow$DefaultImpls.catch(MonadError.kt)
at arrow.effects.typeclasses.MonadDefer$DefaultImpls.catch(MonadDefer.kt)
at arrow.effects.instances.IOMonadDeferInstance$DefaultImpls.catch(io.kt)
at arrow.effects.instances.io.monadDefer.IOMonadDeferInstanceKt$monadDefer$1.catch(IOMonadDeferInstance.kt:83)
at com.jforex.dzjforex.misc.PluginDependencies$Companion$invoke$1.catch(Plugin.kt)
at com.jforex.kforexutils.client.LoginDependencies$Companion$invoke$1.catch(IClientLoginExtension.kt)
at arrow.typeclasses.ApplicativeError$DefaultImpls.catch(ApplicativeError.kt:43)
at arrow.typeclasses.MonadError$DefaultImpls.catch(MonadError.kt)
at arrow.typeclasses.MonadThrow$DefaultImpls.catch(MonadError.kt)
at arrow.effects.typeclasses.MonadDefer$DefaultImpls.catch(MonadDefer.kt)
at arrow.effects.instances.IOMonadDeferInstance$DefaultImpls.catch(io.kt)
at arrow.effects.instances.io.monadDefer.IOMonadDeferInstanceKt$monadDefer$1.catch(IOMonadDeferInstance.kt:83)
at com.jforex.dzjforex.misc.PluginDependencies$Companion$invoke$1.catch(Plugin.kt)
at com.jforex.kforexutils.client.LoginDependencies$Companion$invoke$1.catch(IClientLoginExtension.kt)
at com.jforex.kforexutils.client.LoginApi.login(LoginApi.kt:18)
at com.jforex.kforexutils.client.IClientLoginExtensionKt$login$$inlined$with$lambda$1.invoke(IClientLoginExtension.kt:60)
at com.jforex.kforexutils.client.IClientLoginExtensionKt$login$$inlined$with$lambda$1.invoke(IClientLoginExtension.kt)
at arrow.effects.IORunLoop.step(IORunLoop.kt:56)
... 11 more

Your help is greatly appreciated!

Re: Dukascopy broker plugin for download [Re: ibne] #480231
05/27/20 09:55
05/27/20 09:55
Joined: May 2020
Posts: 1
G
Giuseppe Offline
Guest
Giuseppe  Offline
Guest
G

Joined: May 2020
Posts: 1
Hi,
i'm not able to login in my demo account.
Do you have any ideas to try ?
Thanks

Code
2020-05-27 11:47:31.820 INFO  com.dukascopy.api.impl.connect.AuthorizationClient - environment(jnlp.client.mode)=DEMO, platformInstanceId=null
2020-05-27 11:47:31.833 INFO  com.dukascopy.api.impl.connect.AuthorizationClient - Auth step 1 request [F8C2A4A307049D89230810E10CBF81E81E1AB801]
2020-05-27 11:47:31.834 DEBUG com.dukascopy.api.impl.connect.AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&passus=1&sermo=80ed67c7-5c84-4f13-b6e6-dd01feed6e46&putent_genus=0&appello=F8C2A4A307049D89230810E10CBF81E81E1AB801&srp_versio=1]
2020-05-27 11:47:33.136 DEBUG com.dukascopy.api.impl.connect.AuthorizationClient - << [{"B":"640ed6a32bccb751ab77ce7d31591f3e5da30e2a63d8a7439c00f67888245561cdbff08b7d072409f8cb738650e5db4dac2959b9888e16e8341f2a43d807c438f483055bbb836249c04a0475441c45ee138d3fb4b19e10c39e6dec1cc0f59badf02a7ccf01bf45b71576eea3beae0dd9cc07e55a52a6d7ae39e22ec0e1fd1dc29110007ddca35f10480f5e869d358de59b4e4bf30cdd4b35e81107aaafcbab718e2a3a699dd2b35399a9f1d5210287957bf04e2ef0870c1e7af660a66b42a17fdc8b968ce41fbf6deef083017e4a6cb07739481a24b66d1b645b63941031cab55ff384e51496185cc5206c37d2914c10049274d3e78c63cf57537f0807d91c14","S":"3c3365a24f7e1a14c1ecaf120468a40f","G":"2","H":"SHA-256","K":"5b9e8ef059c6b32ea59fc1d322d37f04aa30bae5aa9003b8321e21ddb04e300","N":"ac6bdb41324a9a9bf166de5e1389582faf72b6651987ee07fc3192943db56050a37329cbb4a099ed8193e0757767a13dd52312ab4b03310dcd7f48a9da04fd50e8083969edb767b0cf6095179a163ab3661a05fbd5faaae82918a9962f0b93b855f97993ec975eeaa80d740adbf4ff747359d041d5c33ea71d281e446b14773bca97b43a23fb801676bd207a436c6481f1d2b9078717461a5b9d32e688f87748544523b524b0d57d5ea77a2775d2ecfa032cfbdbf52fb3786160279004e57ae6af874e7303ce53299ccc041c7bc308d82a5698f3a8d0c38271ae35f8e9dbfbb694b5c803d89f7ae435de236d525f54759b65e372fcd68ef20fa7111f9e4aff73","srp_versio":"1"}]
2020-05-27 11:47:33.139 INFO  com.dukascopy.api.impl.connect.AuthorizationClient - Auth step 1 response [ServerResponseObject [passwordServerResponse=Step1ServerResponse [serverPublicValueB=640ed6a32bccb751ab77ce7d31591f3e5da30e2a63d8a7439c00f67888245561cdbff08b7d072409f8cb738650e5db4dac2959b9888e16e8341f2a43d807c438f483055bbb836249c04a0475441c45ee138d3fb4b19e10c39e6dec1cc0f59badf02a7ccf01bf45b71576eea3beae0dd9cc07e55a52a6d7ae39e22ec0e1fd1dc29110007ddca35f10480f5e869d358de59b4e4bf30cdd4b35e81107aaafcbab718e2a3a699dd2b35399a9f1d5210287957bf04e2ef0870c1e7af660a66b42a17fdc8b968ce41fbf6deef083017e4a6cb07739481a24b66d1b645b63941031cab55ff384e51496185cc5206c37d2914c10049274d3e78c63cf57537f0807d91c14, saltS=3c3365a24f7e1a14c1ecaf120468a40f, safePrimeN=ac6bdb41324a9a9bf166de5e1389582faf72b6651987ee07fc3192943db56050a37329cbb4a099ed8193e0757767a13dd52312ab4b03310dcd7f48a9da04fd50e8083969edb767b0cf6095179a163ab3661a05fbd5faaae82918a9962f0b93b855f97993ec975eeaa80d740adbf4ff747359d041d5c33ea71d281e446b14773bca97b43a23fb801676bd207a436c6481f1d2b9078717461a5b9d32e688f87748544523b524b0d57d5ea77a2775d2ecfa032cfbdbf52fb3786160279004e57ae6af874e7303ce53299ccc041c7bc308d82a5698f3a8d0c38271ae35f8e9dbfbb694b5c803d89f7ae435de236d525f54759b65e372fcd68ef20fa7111f9e4aff73, correspondingGeneratorG=2, hashAlgorithmH=SHA-256, srpProtocolVersion=1], ]]
2020-05-27 11:47:33.393 INFO  com.dukascopy.api.impl.connect.AuthorizationClient - Auth step 2 request A [9723633629745781258291665108250298167773162259434495727130943720882573209998209245634693088223500066110404828134434187038921730171928994127347382789785440111437100436902419902247232874902092936775376015422862470087950344546482674166823824130008586597055583920054563982037022212090959661089128437165362522826616914906945532762245187625773725851486213040504457469602110567640379807925026664661454775749998254834179946541121561947753282668942383714461137771500193443188055269180184505159196164198150069102327479894881530021080047125659496290471868524370300863967421320431966123667792536666366966929104058893512152839754], M1 [93191456209979852325999491550685485980760551849208308113285846748433587752390]
2020-05-27 11:47:33.394 DEBUG com.dukascopy.api.impl.connect.AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&testimonium_nuntius=ce087eb9a7df130ed13ce2a6b83172458fba3a1dad22c09ee05c80d5e111cdc6&passus=2&publicus_pendo=4d06a8f2f69ba68b1376e476e477ecf4516d9ef14bb30a7fa25067cc80448db80c7d22749e5a78770881f1799527e046bfadd563399b664f5ae01c5a337a6a41e14bb002e3b165c9746aa93b53d91048c33719cd4cbb8f378167090820848e09a7246399b4136e109b1f6fa00dcb828ed9b3b6eeaedb2166695f90011ebd8d3b199955c95ef332981fbe62c3359aa32e895293a7b5eb7961f38eec23ed6d08729a01d87682a50329a218b6d02d38b91012cef7fb0d15492d43a1b0c84ef06416d1201310f5e05c823733e3cd9a5991a1db751468bcfa22336ce60b9835e646fcb927b51297d500251fbfe6d12d039a58656be366097a0979f779047af0b1f64a&sermo=80ed67c7-5c84-4f13-b6e6-dd01feed6e46&putent_genus=0&srp_versio=1]
2020-05-27 11:47:33.758 DEBUG com.dukascopy.api.impl.connect.AuthorizationClient - << [Auth failed]
2020-05-27 11:47:33.758 ERROR com.dukascopy.api.impl.connect.AuthorizationClient - Auth failed
AuthServerResponse [response=Auth failed, responseCode=801, headerFields={Transfer-Encoding=[chunked], null=[HTTP/1.1 801], CF-RAY=[599ed0ab2fe2cd26-FCO], Server=[cloudflare], Connection=[keep-alive], Pragma=[no-cache], Last-Modified=[Wed, 27 May 2020 09:47:33 GMT], StatusCode=[801], Date=[Wed, 27 May 2020 09:47:33 GMT], StatusMessage=[Auth failed], CF-Cache-Status=[DYNAMIC], Cache-Control=[no-cache, must-revalidate, no-store, max-age=0], Access-Control-Allow-Credentials=[true], Set-Cookie=[__cfduid=d004f77709d86f7f9fd2ecde8189b2c071590572852; expires=Fri, 26-Jun-20 09:47:32 GMT; path=/; domain=.dukascopy.com; HttpOnly; SameSite=Lax], Expires=[Thu, 01 Jan 1970 00:00:00 GMT], Content-Language=[en], Expect-CT=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], cf-request-id=[02f720befb0000cd26bb122200000001], Content-Type=[text/html;charset=UTF-8]}]
	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.jforex.kforexutils.client.LoginApi$login$1.invoke(LoginApi.kt:26)
	at com.jforex.kforexutils.client.LoginApi$login$1.invoke(LoginApi.kt:12)
	at arrow.typeclasses.ApplicativeError$DefaultImpls.catch(ApplicativeError.kt:37)
	at arrow.typeclasses.MonadError$DefaultImpls.catch(MonadError.kt)
	at arrow.typeclasses.MonadThrow$DefaultImpls.catch(MonadError.kt)
	at arrow.effects.typeclasses.MonadDefer$DefaultImpls.catch(MonadDefer.kt)
	at arrow.effects.instances.IOMonadDeferInstance$DefaultImpls.catch(io.kt)
	at arrow.effects.instances.io.monadDefer.IOMonadDeferInstanceKt$monadDefer$1.catch(IOMonadDeferInstance.kt:83)
	at com.jforex.dzjforex.misc.PluginDependencies$Companion$invoke$1.catch(Plugin.kt)
	at com.jforex.kforexutils.client.LoginDependencies$Companion$invoke$1.catch(IClientLoginExtension.kt)
	at arrow.typeclasses.ApplicativeError$DefaultImpls.catch(ApplicativeError.kt:43)
	at arrow.typeclasses.MonadError$DefaultImpls.catch(MonadError.kt)
	at arrow.typeclasses.MonadThrow$DefaultImpls.catch(MonadError.kt)
	at arrow.effects.typeclasses.MonadDefer$DefaultImpls.catch(MonadDefer.kt)
	at arrow.effects.instances.IOMonadDeferInstance$DefaultImpls.catch(io.kt)
	at arrow.effects.instances.io.monadDefer.IOMonadDeferInstanceKt$monadDefer$1.catch(IOMonadDeferInstance.kt:83)
	at com.jforex.dzjforex.misc.PluginDependencies$Companion$invoke$1.catch(Plugin.kt)
	at com.jforex.kforexutils.client.LoginDependencies$Companion$invoke$1.catch(IClientLoginExtension.kt)
	at com.jforex.kforexutils.client.LoginApi.login(LoginApi.kt:18)
	at com.jforex.kforexutils.client.IClientLoginExtensionKt$login$$inlined$with$lambda$1.invoke(IClientLoginExtension.kt:60)
	at com.jforex.kforexutils.client.IClientLoginExtensionKt$login$$inlined$with$lambda$1.invoke(IClientLoginExtension.kt)
	at arrow.effects.IORunLoop.step(IORunLoop.kt:56)
	at arrow.effects.IO.unsafeRunTimed(IO.kt:130)
	at arrow.effects.IO.unsafeRunSync(IO.kt:127)
	at com.jforex.dzjforex.misc.PluginKt.runDirect(Plugin.kt:62)
	at com.jforex.dzjforex.misc.PluginKt$runWithProgress$1.invokeSuspend(Plugin.kt:64)
	at com.jforex.dzjforex.misc.PluginKt$runWithProgress$1.invoke(Plugin.kt)
	at arrow.effects.DeferredK$Generated$DefaultGenerated$1.invokeSuspend(DeferredK.kt:188)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:32)
	at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:233)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
2020-05-27 11:47:33.762 DEBUG com.dukascopy.api.impl.connect.DCClientImpl - 

Re: Dukascopy broker plugin for download [Re: ibne] #483014
04/22/21 10:40
04/22/21 10:40
Joined: Apr 2021
Posts: 19
S
simonkrebs Offline
Newbie
simonkrebs  Offline
Newbie
S

Joined: Apr 2021
Posts: 19
I tried downloading t1 data with the Download script via Dukascopy plugin.

Unfortunately it doesn‘t work, error message „history unavailable“.

Anyone else tried to download tick data?

Re: Dukascopy broker plugin for download [Re: ibne] #483015
04/22/21 10:49
04/22/21 10:49
Joined: Apr 2021
Posts: 19
S
simonkrebs Offline
Newbie
simonkrebs  Offline
Newbie
S

Joined: Apr 2021
Posts: 19
Here's the error message from log file:
2021-04-22 12:45:50,991 DEBUG [RxComputationThreadPool-2] history.HistoryExtensionKt$retry$2 (HistoryExtension.kt:26) - History call no 0 failed with com.dukascopy.api.JFException: Instrument [EUR/USD] is not subscribed

But EUR/USD is already subscibed in JForex.

So what's wrong?

Attached Files Bildschirmfoto 2021-04-22 um 12.47.40.png
Page 1 of 8 1 2 3 4 5 6 7 8

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