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 (Imhotep, opm), 785 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 1 of 17 1 2 3 16 17
IG plugin initial release #465410
04/25/17 19:54
04/25/17 19:54
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Hi,

I have developed a plugin to use IG with Zorro, and today I'm releasing the initial version. You can find instructions on how to install here:
https://github.com/dan-lind/igzplugin

Please let me now of any issues you encounter, problems with the documentation, or other questions that you might have. I'll answer as fast as I can :-)

As pointed out, this is the first release. Don't expect it to be free of bugs just yet :-)

Regards,
Daniel

Last edited by Dalla; 04/25/17 19:54.
Re: IG plugin initial release [Re: Dalla] #465428
04/26/17 20:00
04/26/17 20:00
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Thank you Dalla, nice job!

Re: IG plugin initial release [Re: MatPed] #465486
04/30/17 12:59
04/30/17 12:59
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
Hello,
I'm tryng to install the plugin.
I have followed the istruction
https://github.com/dan-lind/igzplugin

but at the and of the procedure the plugin does not compare in zorro's menu list "Account"

For sure I have done some mistakes

I have a doubt about point 2 for the second part :
"2.) Add *${yourJREinstallPath}jrebin* and ${yourJREinstallPath}jrebincom.iggroup.api.client to the front of your Path environment variable(here is a howto)."

I suppose that I should have this file
"com.iggroup.api.client"
in the directory "${yourJREinstallPath}jrebin" but I haven't this file ....
Maybe the problem is this?

another question:
insise the zip file "igplugin.zip" there is the file"igplugin-0.1.jar" I must to launch before zorro? I tried but I failed frown


PS
as JRE I have
C:Program FilesJavajre1.8.0_131bin

I hope someone can help me

Thanks

Re: IG plugin initial release [Re: kmerlo] #465491
04/30/17 16:54
04/30/17 16:54
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Hi

Thanks for the feedback. There was a typo in step 2 of the instructions, I have updated them now. Please check again. Also please download the zip-file again, I'm not sure I had the correct compiler options the first time around, but I have verified that it's correct this time around.

Also, you shouldn't start the jar-file yourself, Zorro will do that by itself.

/Daniel

Re: IG plugin initial release [Re: Dalla] #465494
04/30/17 19:53
04/30/17 19:53
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
Hi Daniel
thanks a lot!!
you are very kind .
I hope in the future that I will be able to return the favor....

With the new zip file and the new PATH , now its Ok!! :-)
The plugin is visible in zorro's menu Account

Now all the market are closed so I can't test anymore...
I will try tommorrow (if some market will be open)

I have another doubt about how I have to change the assetFix

For example for EUR/USD I supposed that I have to set the two variables like this

Name= EUR/USD
Symbol= CS.D.EURUSD.CFD.IP

or as an alternative
Name= CS.D.EURUSD.CFD.IP
Symbol= EUR/USD

(of course there are the other columns in the AssetsFix.csv)

Re: IG plugin initial release [Re: kmerlo] #465500
05/01/17 05:44
05/01/17 05:44
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Great to hear!

The first alternative is correct. Name is the name that will be displayed in zorros asset drop down, so that can be whatever you want it to be, as long as you set symbol to be the value expected by the broker.

Re: IG plugin initial release [Re: Dalla] #465501
05/01/17 07:54
05/01/17 07:54
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
GoodMorning Daniel
I m tring now and it's OK
I used the zorro's script "trade test" and I have bought and the I have sold one lot
In the same time I was checking in the IG's web site (my private area) and the position and the order are the same that I have commanded with zorro :-)

Next step will be launch a z script :-)

in the istruction
https://github.com/dan-lind/igzplugin
you write:
"Start Zorro and check if the Account drop-down-box shows IG as an available broker. Enter your login details, pick a script of your choice and press Trade."

maybe it's more clear if you specify that the "Login details" is not the first IG' account but that created for the companion API
praticaly the same that peoplet have to use

https://labs.ig.com/sample-apps/api-companion/index.html


post scriptum
Sorry for my English, I suppose that there are many errors but I hope that The concept is understandable (also with the help of google translate :-) )

Re: IG plugin initial release [Re: kmerlo] #465517
05/02/17 11:07
05/02/17 11:07
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
One Info for all
I have a sever in EC2 Amazon with "windows server 2012"
To configure the Environment Variables "Path" I follow the istruction

https://lsdbtech.wordpress.com/2015/05/28/windows-server-2012-r2-change-environment-variables/

Last edited by kmerlo; 05/02/17 11:08.
Re: IG plugin initial release [Re: kmerlo] #465538
05/02/17 18:59
05/02/17 18:59
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Great to know!

However I'm not sure what you mean when you say "that the "Login details" is not the first IG' account but that created for the companion API praticaly the same that peoplet have to use "

What to you mean with "first IG account" ? It almost sounds like you created a separate account just to create the api key?

Re: IG plugin initial release [Re: Dalla] #465549
05/03/17 11:42
05/03/17 11:42
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
Hello
I mean : "first IG account" is the first account created when I opened the account with IG
I use it here
https://www.ig.com/it/login
to enter in the private area of the web site

Then I created API Key and (both for real and demo account)

Later
Following the istruction here "http://labs.ig.com/gettingstarted"

Getting started
To begin using our API all you need to do is:
Create an account
Generate your API key
Start coding


I create a new account (I mean , ID and passowrd) to use
in this link
http://labs.ig.com/sample-apps/api-companion/index.html
Buy this second account has only this functionality to check API request like to find the IG'S symbol of EUR/USD

Page 1 of 17 1 2 3 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