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 (Edgar_Herrera, VoroneTZ, Akow), 973 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 10 of 17 1 2 8 9 10 11 12 16 17
Re: IG plugin initial release [Re: jcl] #468083
09/17/17 22:54
09/17/17 22:54
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
Hello,
I am pretty new to this coding, I am trying to connect a demo account to Zorro using your plugin, but I do not succeed. The message is get from Zorro is:
Login IG..
!java.lang.NoClassDefFoundError!com/danlind/igz/ZorroBridge
BrokerLogin:No Data!

I do not really know what to do as I think I followed all the steps from the readme file. Any hint on what to do?
Thank you

Re: IG plugin initial release [Re: Yop127] #468086
09/18/17 05:27
09/18/17 05:27
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
If you are using the latest zorro release there might be an issue which I discovered only yesterday. Will try to post an update today.

Re: IG plugin initial release [Re: Dalla] #468087
09/18/17 06:22
09/18/17 06:22
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Can you try with this new release?

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

Also make sure you've followed these instructions
https://github.com/dan-lind/igzplugin

Re: IG plugin initial release [Re: Dalla] #468088
09/18/17 07:20
09/18/17 07:20
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
Hello I am at work currently so I will only try at noon. I indeed use the latest version of Zorro. I will keep you posted. Thank you

Re: IG plugin initial release [Re: Yop127] #468091
09/18/17 08:55
09/18/17 08:55
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
Hi,
Now I have an error message. Link to the log file is here: https://pastebin.com/ygvn5yzG

Re: IG plugin initial release [Re: Yop127] #468103
09/18/17 15:48
09/18/17 15:48
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
It looks like you didn't read the Readme after all? 😛
The error message is pretty obvious

Exception when creating session with api key <your demo key here>, error was {"errorCode":"error.security.api-key-invalid"}

Re: IG plugin initial release [Re: Dalla] #468104
09/18/17 18:12
09/18/17 18:12
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
I did, my bad didn't really know where to look in the log file. Now I have a different error. I updated the symbols name as requested (I took the CSV displayed previous posts ago), but I am not sure if the error is due to this. Is it ok if I created a AssetsIG.csv file with the following:

Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol
AUD/USD,0.77311,0.00005,0.24,-0.51,0.0001,0.0871,9,0,1000,0.6,CX.D.AUDUSD.CASH.IP
EUR/CHF,1.07962,0.00004,0.08,-0.26,0.0001,0.09263,75,0,1000,0.8,CX.D.EURCHF.CASH.IP
EUR/JPY,123.359,0.006,-0.3,0.09,0.01,0.081066,10,0,1000,0.8,CX.D.EURJPY.CASH.IP
EUR/USD,1.13795,0.00005,-0.02,0.01,0.0001,0.0871,10,0,1000,0.6,CX.D.EURUSD.CASH.IP
GBP/USD,1.51364,0.00003,0.05,-0.12,0.0001,0.0871,14,0,1000,0.6,CX.D.GBPUSD.CASH.IP
GER30,10884,1,-0.1,0,1,0.1,6,0,0.1,0,IX.D.DAX.IFD.IP
NAS100,4185,2,-0.1,0,1,0.0871,2,0,0.1,0,IX.D.NASDAQ.IFD.IP
NZD/USD,0.67752,0.00007,0.6,-1.32,0.0001,0.088713,7,0,1000,0.8,CX.D.NZDUSD.CASH.IP
SPX500,2032.4,0.5,-0.5,0,0.1,0.0871,8,0,1,0,IX.D.SPTRD.IFD.IP
UK100,6869,2,-0.1,0,1,0.13183,6,0,0.1,0,IX.D.FTSE.CFD.IP
US30,17520,2,-0.5,0,1,0.0871,6,0,0.1,0,IX.D.DOW.IFD.IP
USD/CAD,1.24466,0.0001,-0.21,0.09,0.0001,0.06998,10,0,1000,0.8,CX.D.USDCAD.CASH.IP
USD/CHF,0.92203,0.00022,0.15,-0.58,0.0001,0.09446,50,0,1000,0.6,CX.D.USDCHF.CASH.IP
USD/JPY,117.489,0.004,0.02,-0.04,0.01,0.07413,10,0,1000,0.6,CX.D.USDJPY.CASH.IP
XAG/USD,17.235,0.046,-0.0009,0,0.01,0.43547,5,0,50,0,CX.D.XAGUSD.CASH.IP
XAU/USD,1260.82,0.47,-0.0124,0,0.01,0.00871,11,0,1,0,CX.D.XAUUSD.CASH.IP


Error messages:

2017-09-18 20:05:04.852 [main] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when getting historic prices for epic EUR/USD, error was <html><head><title>Page Not Found</title><h3>Error 404</h3><h3>Sorry, the requested page is not available.</h3></body></html>
org.springframework.web.client.HttpClientErrorException: 404 Not Found

2017-09-18 20:05:04.853 [main] ERROR c.danlind.igz.brokerapi.BrokerAsset - Error when subscribing to EUR/USD
org.springframework.web.client.HttpClientErrorException: 404 Not Found

2017-09-18 20:05:04.975 [RxCachedThreadScheduler-6] ERROR c.danlind.igz.brokerapi.BrokerAsset - Error subscribing to volume observable for EUR/USD
com.lightstreamer.ls_client.PushUserException: Incorrect instrument setup

I really appreciate the time & effort you put into this plugin!

Last edited by Yop127; 09/18/17 18:14.
Re: IG plugin initial release [Re: Yop127] #468105
09/18/17 18:24
09/18/17 18:24
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
If you want to use another asset list than asset fix, load it with assetList in your strategy like this

assetList("AssetsIG");

http://zorro-project.com/manual/en/asset.htm

Re: IG plugin initial release [Re: Dalla] #468107
09/18/17 18:59
09/18/17 18:59
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
Editting my previous post, the symbols were not ok.
Now I think I have the correct one, but I do get this:

2017-09-18 21:13:32.126 [main] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when getting historic prices for epic EUR/USD, error was <html><head><title>Page Not Found</title><h3>Error 404</h3><h3>Sorry, the requested page is not available.</h3></body></html>
org.springframework.web.client.HttpClientErrorException: 404 Not Found

2017-09-18 21:13:32.127 [main] ERROR c.danlind.igz.brokerapi.BrokerAsset - Error when subscribing to EUR/USD
org.springframework.web.client.HttpClientErrorException: 404 Not Found

and if I try the GER30, I get this:

2017-09-18 21:14:24.574 [RxCachedThreadScheduler-3] ERROR c.danlind.igz.brokerapi.BrokerAsset - Error subscribing to tick observable for IX.D.DAX.IFD.IP
com.lightstreamer.ls_client.PushUserException: Insufficient permissions

2017-09-18 21:14:24.710 [RxCachedThreadScheduler-5] ERROR c.danlind.igz.brokerapi.BrokerAsset - Error subscribing to volume observable for IX.D.DAX.IFD.IP
com.lightstreamer.ls_client.PushUserException: Insufficient permissions

I am a bit lost, sorry for this... I do not understand if my settings are wrong or if I cannot access the value due to any other limitation

Last edited by Yop127; 09/18/17 20:23.
Re: IG plugin initial release [Re: Yop127] #468112
09/19/17 00:51
09/19/17 00:51
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
EUR/USD is not a correct symbol name, it should be more in line with the other examples you have given. Not sure about Insufficient permission, you would need to ask IG support about that.

Page 10 of 17 1 2 8 9 10 11 12 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