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
3 registered members (VoroneTZ, monk12, Quad), 829 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
Rating: 5
Page 6 of 17 1 2 4 5 6 7 8 16 17
Re: IG plugin initial release [Re: Dalla] #466407
06/13/17 08:00
06/13/17 08:00
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
Hi Daniel
Zorro this morning was blocked
I closed it now
I will use MT4 Bridge for understanding if the problem is IG's Plugin o some configuration in my VPN server...

Re: IG plugin initial release [Re: kmerlo] #466408
06/13/17 08:25
06/13/17 08:25
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
I'm currently running Z7 on an EC2 instance, will check if this happens to me as well.

Re: IG plugin initial release [Re: Dalla] #466563
06/21/17 08:47
06/21/17 08:47
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
A new version of the IG plugin has been release.
Most importantly this release fixes an issue where Zorro would sometimes block/freeze after not getting any return values from the plugin

https://github.com/dan-lind/igzplugin/releases/tag/v0.2

Re: IG plugin initial release [Re: Dalla] #466565
06/21/17 13:26
06/21/17 13:26
Joined: Feb 2017
Posts: 9
D
dhrv Offline
Newbie
dhrv  Offline
Newbie
D

Joined: Feb 2017
Posts: 9
Thanks for your efforts in creating this plugin Daniel! I have not tested it deeply yet and also just on a demo account, but the basic functions from the TradeTest script work nicely (almost, see below*).
It's quite unfortunate that IG limits the non-trading requests to 30 per minute/account. With this limit I can only update 8 assets (e.g. with the Download script, saving all assets to AssetsNew.csv) before hitting the limit. I've asked for an increased limit, let's see if they comply with my request.

* When opening a position on a currency pair with Hedge=4, Zorro freezes. Other symbols work fine, see the logs below:

EUR/USD Mini, Hedge=4, Buy Long from TradeTest.c --> freeze
Code:
2017-06-21 14:56:57.113 [main] INFO  com.danlind.igz.brokerapi.BrokerBuy - >>> Creating long position epic=CS.D.EURUSD.MINI.IP, 
direction=BUY, 
expiry=-, 
size=1.0, 
orderType=MARKET, 
currency=USD, 
stop loss distance=0.5017
2017-06-21 15:17:58.759 [RxComputationThreadPool-3] WARN  c.danlind.igz.adapter.RestApiAdapter - Order with deal id DIAAAABCHXQZ5AX was rejected with reason code ATTACHED_ORDER_LEVEL_ERROR



Germany 30 Cash 1-EUR, Hedge=4, Buy Long from TradeTest.c --> works
Code:
2017-06-21 15:20:43.330 [main] INFO  com.danlind.igz.brokerapi.BrokerBuy - >>> Creating long position epic=IX.D.DAX.IFMM.IP, 
direction=BUY, 
expiry=-, 
size=1.0, 
orderType=MARKET, 
currency=EUR, 
stop loss distance=5748.0


Re: IG plugin initial release [Re: dhrv] #466568
06/21/17 14:46
06/21/17 14:46
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
I assume you downloaded the latest version? :-)

It should not freeze of course, but your issue is that the API is complaining about your stop loss. Unfortunately the documentation of the API is not very helpful here, but your stop loss looks very big (0.5 will translate to 5000 pips). Does it work if you make it smaller?

Re: IG plugin initial release [Re: Dalla] #466570
06/21/17 15:40
06/21/17 15:40
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Actually, I can't reproduce this with the latest version. Make sure you have the latest release, and restart Zorro after installing it.

Re: IG plugin initial release [Re: Dalla] #466581
06/22/17 07:35
06/22/17 07:35
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
Hello Dalla,
thanks for your work
I have a doubt, when there is a new release of the plugin I have to replace all file or only ig.dll ?

I've decided to change the way you test the plugin, not using z script but with my script or the script tutorial's

I will keep you updated when I will have some results

Have a a good time

Re: IG plugin initial release [Re: kmerlo] #466582
06/22/17 07:46
06/22/17 07:46
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Most important is to replace the ig.dll and the igplugin-x.x.jar .
And to restart Zorro to reload the new plugin.
Sometimes there can also be new entries in the application.properties, but I'll make sure to mention that specifically in the release notes going forward.

Last edited by Dalla; 06/22/17 07:47.
Re: IG plugin initial release [Re: Dalla] #466596
06/22/17 12:06
06/22/17 12:06
Joined: Feb 2017
Posts: 9
D
dhrv Offline
Newbie
dhrv  Offline
Newbie
D

Joined: Feb 2017
Posts: 9
Originally Posted By: Dalla
Actually, I can't reproduce this with the latest version. Make sure you have the latest release, and restart Zorro after installing it.


My bad, I checked for a new version yesterday in the morning and didn't read or see your post (had the forum tab opened since morning). It works fine now, no more freeze and the position is opened laugh

Re: IG plugin initial release [Re: dhrv] #466597
06/22/17 12:33
06/22/17 12:33
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Good to know, this release was pretty much supposed to fix the exact issue you described. You got me worried there for a second ;-)

Page 6 of 17 1 2 4 5 6 7 8 16 17

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