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 5 of 14 1 2 3 4 5 6 7 13 14
Re: Dukascopy plugin (yet another version) [Re: ags] #475286
11/30/18 08:26
11/30/18 08:26
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi ags,

I've experienced a lot of timeouts when testing it against the demo servers and it would be a little bit frustrating if the connection problem persists in the live environment too.

I'm waiting my live account to be fully confirmed and will test my installation against the live servers.

Re: Dukascopy plugin (yet another version) [Re: kvm] #475287
11/30/18 10:26
11/30/18 10:26
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi kvm,

excellent!
Are you connecting from a home internet connection? If so, that could be the problem. From AWS you can get a T3.micro free for one year. (don't open two instances in the free tier, that gave me a lot of problems...).

This week I only got the timeouts mentioned before, on both accounts at the same time... very strange. But both accounts reconnected just a few minutes later.
I also disconnected, migrated to Zorro 1.96 plus new Z12 parameters and had no inconvenient. All working now.

Re: Dukascopy plugin (yet another version) [Re: ags] #475362
12/04/18 13:30
12/04/18 13:30
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi ags,

I've already tested a t2.micro instance in US-East availability zone, but the response time is worse: 32ms (t2.micro) vs. 26ms (my computer). Now I'll setup an instance in EU zone to see if there is any difference.

What is your response time when you "ping platform.dukascopy.com" from your instance?

Re: Dukascopy plugin (yet another version) [Re: kvm] #475368
12/04/18 17:35
12/04/18 17:35
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi kvm,

how are you doing the test, from a browser in the instance? which one to perform the same.
I also had some strange response when firstly installed Zorro on a Ohio zone. Now i have the two instances in Frankfurt and it works much much better, no problem at all actually.

By the way, no communication errors since the small incidents last week. The two Zorros in the two different instances are working without interruption.
I put weekend to 3+4 and got no problems at the weekend either.

Re: Dukascopy plugin (yet another version) [Re: ags] #475378
12/05/18 08:22
12/05/18 08:22
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
No, I run the command through the command prompt (cmd.exe):

ping platform.dukascopy.com

and, yes, the Frankfurt zone rules with response time of 1ms laugh The reason of that is because IP location shows that the Dukascopy servers are in Prague.

Re: Dukascopy plugin (yet another version) [Re: kvm] #475403
12/06/18 17:22
12/06/18 17:22
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Ok, yes, doing it in that way i also get 1ms from both instances in Frankfurt.
From my computer the latency is 10 to 23 ms.

But i think the problem if you connect from home is not the latency but the possible interruptions you get in a home internet connection.
AWS has another priority which gives all instances a much higuer availability and reliability compared to home connections.
The only other comparable connection is a server room.

Good gains this week, Zorro got the USD/CAD movement since yesterday perfectly.
No problems at all from the plugin.

I'm really wondering... but i guess it was the operator playing around with configurations... not the plugin which works very good.



Re: Dukascopy plugin (yet another version) [Re: ags] #475459
12/11/18 13:13
12/11/18 13:13
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi kvm,

Got again this OutOfMemory erroer, just like the one 2-3 weeks ago.
This one is from #2 T2.micro instance. #1 M3.medium continues without problem till now.

System Start was 29.11. No problem till today. With this error Zorro was disconnected and unable to connect again automatically.

I disconnected and started Zorro again. Ongoing trades were resumed and it works again, but has no history of the last 2 weeks, so equity curve trading, OptimalF and CBI calc need to restart, which is not good for a long term Z strategy.

Any idea how to resolve this?

Attached Files
vDukascopy-log.txt (173 downloads)
Re: Dukascopy plugin (yet another version) [Re: ags] #475462
12/11/18 14:43
12/11/18 14:43
Joined: Jan 2017
Posts: 95
Bulgaria
kvm Offline OP
Junior Member
kvm  Offline OP
Junior Member

Joined: Jan 2017
Posts: 95
Bulgaria
Hi ags,

I'm testing it with my real account for only one week till now and so far there is no problems. This error can be due to memory depletion on OS or JVM levels, so when the problem reproduces I'll try to fully analyze the situation on my instance: t2.micro (Windows Server 2016) with 1GB of RAM.

Re: Dukascopy plugin (yet another version) [Re: kvm] #475681
01/03/19 10:45
01/03/19 10:45
Joined: Oct 2018
Posts: 90
Germanien
ags Offline
Junior Member
ags  Offline
Junior Member

Joined: Oct 2018
Posts: 90
Germanien
Hi kvm,

how is it going with your live experience?

I got an orphan position with one of the accounts. Zorro closed a GER30 position and the broker rejected the trade, this was reflected in the log file, but the position desapeared from Zorro and remained in the Broker, Dukascopy.

Here the relevant log:


2018-12-31 09:20:00.350 INFO [main ] c.m.v.d.DukascopyPlugin - brokerCommand: SET_ORDERTYPE=0
2018-12-31 09:20:00.354 INFO [main ] c.m.v.d.DukascopyPlugin - brokerSell: tradeID=110304062, amount=1
2018-12-31 09:20:00.388 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onMessage: Message Type: ORDER_CLOSE_REJECTED; Text: VALIDATION_ERROR-Your order has been rejected due to validation failure. Instrument DEU.IDX/EUR is non tradable; Related Order: [DukascopyPlugin1544444400415]-FILLED / DEU.IDX/EUR / 10735.270668 / 1.0E-6 / 1.0E-6
2018-12-31 09:20:00.388 INFO [main ] c.m.v.d.DukascopyPlugin - brokerSell: tradeID=110304062, amount=1, order=[DukascopyPlugin1544444400415]-FILLED / DEU.IDX/EUR / 10735.270668 / 1.0E-6 / 1.0E-6
2018-12-31 09:20:05.549 INFO [Strategy] c.m.v.d.DukascopyPlugin - Strategy.onAccount: [id=75192, leverage=100.00, balance=10854.42 EUR, tradeVal=299.66, marginVal=989.55]

Just managed the position from the Broker platform (JForex).

Have you experienced something similar or a disconnection as i had experienced before?

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

Joined: Jan 2017
Posts: 95
Bulgaria
Hi ags,

Yes, you found a bug in brokerSell method. It doesn't return the correct error code in case of a failure.

Probably next week I will release a new version of the plugin with this fixed.

Page 5 of 14 1 2 3 4 5 6 7 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