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 (AndrewAMD, TipmyPip, Edgar_Herrera), 804 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 14 of 17 1 2 12 13 14 15 16 17
Re: IG plugin initial release [Re: AndrewAMD] #471805
03/20/18 06:14
03/20/18 06:14
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline
Newbie
IMMO_VIE  Offline
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
thank u so much!
waiting for dalla now laugh

Re: IG plugin initial release [Re: IMMO_VIE] #472085
04/05/18 16:28
04/05/18 16:28
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
It appears that you did not read the manual? :-)

The log is full of these kinds of messages
"Exception when getting historic prices for epic GER30, API call failed with status code 404 and body {"errorCode":"error.price-history.io-error"}"

The first remark mentioned in the manual here http://zorro-project.com/manual/en/ig.htm is this

"You need a dedicated asset list for IG, since the asset symbols are very different to the asset names. For instance, the EUR/USD symbol is CS.D.EURUSD.CFD.IP You can find the correct symbol names with the IG API Companion. Log in with you user name, password and api key, then scroll down to Market Search, enter your search String, e.g. DAX. Now look in the response for the "epic" key, e.g. "epic": "IX.D.DAX.IFD.IP""

Also sorry for the late reply, I realised today that I was logged out and therefor not receiving any notifications

Last edited by Dalla; 04/05/18 16:31.
Re: IG plugin initial release [Re: Dalla] #472122
04/09/18 16:11
04/09/18 16:11
Joined: Mar 2018
Posts: 12
Austria_VIENNA
IMMO_VIE Offline
Newbie
IMMO_VIE  Offline
Newbie

Joined: Mar 2018
Posts: 12
Austria_VIENNA
hello dalla!

thx for the help!

Re: IG plugin initial release [Re: IMMO_VIE] #476995
05/01/19 07:56
05/01/19 07:56
Joined: Nov 2017
Posts: 17
A
Andy60 Offline
Newbie
Andy60  Offline
Newbie
A

Joined: Nov 2017
Posts: 17
Hi Dalla

===Configuration===
Win10
MT4 Build 1770
IG Markets Broker with demo and live userid and master password
Java8 Build 211
Zorro 2.09
IG plugin 0.31
2 demo and real api ig keys generated
AssetFix ig modified

application.properties api inserted with this:
plugin.realApiKey=api
plugin.demoApiKey=api
without < and >
=== end configuration

If I select both account's types (real or demo) I see:

TradeTest compiling...........
Login 0 IG..
Can't connect!.

Have u suggestions? Thx for your attention

Re: IG plugin initial release [Re: Andy60] #476998
05/01/19 09:57
05/01/19 09:57
Joined: Nov 2017
Posts: 17
A
Andy60 Offline
Newbie
Andy60  Offline
Newbie
A

Joined: Nov 2017
Posts: 17
I can enter but I have errors:

REAL
!Severe error occured, check igzplugin.log logfile!
!Severe error occured, check igzplugin.log logfile!
Error 053: CS.D.CFDSILVER.MC1.IP unavailable at this time

Trade: Z1 2019-05-01
Read Z12.fac
Lookback period (500 bars)
Error 011: ATR XAG/USD invalid parameters (uninitialized) at bar 224
Error 011: RSI XAG/USD invalid parameters (uninitialized) at bar 224.

[Stop] at 09:52
Logout.. ok.

DEMO
!Severe error occured, check igzplugin.log logfile!
!Severe error occured, check igzplugin.log logfile!
Error 053: UK100 unavailable at this time
!Severe error occured, check igzplugin.log logfile!
!Severe error occured, check igzplugin.log logfile!
Error 053: CS.D.CFDGOLD.MC1.IP unavailable at this time
!Severe error occured, check igzplugin.log logfile!
!Severe error occured, check igzplugin.log logfile!
Error 053: CS.D.CFDSILVER.MC1.IP unavailable at this time
Error 055: No bars generated
Logout.. ok
!Severe error occured, check igzplugin.log logfile!

AssetsFix.csv:
Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol
AUD/CAD,0.96837,0.00013,0.19,-0.48,0.0001,0.06946,8,0,1000,0.000,CS.D.AUDCAD.MT1.IP
AUD/CHF,0.72544,0.00008,0.35,-0.82,0.0001,0.09272,40,0,1000,0.000,CS.D.AUDCHF.MT1.IP
AUD/JPY,91.817,0.005,0.27,-0.6,0.01,0.07325,8,0,1000,0.000,CS.D.AUDJPY.MT1.IP
AUD/NZD,1.12018,0.00015,-0.29,0.12,0.0001,0.06004,8,0,1000,0.000,CS.D.AUDNZD.MT1.IP
AUD/USD,0.73677,0.00003,0.24,-0.51,0.0001,0.09129,8,0,1000,0.000,CS.D.AUDUSD.MT1.IP
CAD/CHF,0.74917,0.00007,0.13,-0.33,0.0001,0.09272,40,0,1000,0.000,CS.D.CADCHF.MT1.IP
CAD/JPY,94.824,0.007,0.03,-0.13,0.01,0.07325,8,0,1000,0.000,CS.D.CADJPY.MT1.IP
CHF/JPY,126.575,0.006,-0.32,0.12,0.01,0.07325,55,0,1000,0.000,CS.D.CHFJPY.MT1.IP
EUR/AUD,1.48693,0.00011,-0.87,0.41,0.0001,0.06726,10,0,1000,0.000,CS.D.EURAUD.MT1.IP
EUR/CAD,1.43979,0.00012,-0.26,0.1,0.0001,0.06946,10,0,1000,0.000,CS.D.EURCAD.MT1.IP
EUR/CHF,1.0786,0.00006,0.09,-0.26,0.0001,0.09272,75,0,1000,0.000,CS.D.EURCHF.MT1.IP
EUR/GBP,0.70724,0.00005,-0.24,0.11,0.0001,0.1414,10,0,1000,0.000,CS.D.EURGBP.MT1.IP
EUR/JPY,136.52,0.007,-0.08,0.03,0.01,0.07325,10,0,1000,0.000,CS.D.EURJPY.MT1.IP
EUR/NZD,1.66552,0.00025,-1.3,0.6,0.0001,0.06005,10,0,1000,0.000,CS.D.EURNZD.MT1.IP
EUR/USD,1.09546,0.00003,-0.14,0.06,0.0001,0.09129,10,0,1000,0.000,CS.D.EURUSD.MT1.IP
GBP/AUD,2.1026,0.00018,-0.94,0.44,0.0001,0.06726,16,0,1000,0.000,CS.D.GBPAUD.MT1.IP
GBP/CAD,2.0359,0.00021,0.03,-0.09,0.0001,0.06946,16,0,1000,0.000,CS.D.GBPCAD.MT1.IP
GBP/CHF,1.52516,0.00012,0.31,-0.7,0.0001,0.09272,80,0,1000,0.000,CS.D.GBPCHF.MT1.IP
GBP/JPY,193.04,0.009,0.12,-0.28,0.01,0.07325,16,0,1000,0.000,CS.D.GBPJPY.MT1.IP
GBP/NZD,2.3551,0.00044,-1.48,0.68,0.0001,0.06005,16,0,1000,0.000,CS.D.GBPNZD.MT1.IP
GBP/USD,1.54901,0.00006,0.07,-0.15,0.0001,0.09129,16,0,1000,0.000,CS.D.GBPUSD.MT1.IP
NZD/CAD,0.86456,0.00015,0.27,-0.6,0.0001,0.06946,7,0,1000,0.000,CS.D.NZDCAD.MT1.IP
NZD/CHF,0.64768,0.00011,0.41,-0.9,0.0001,0.09272,35,0,1000,0.000,CS.D.NZDCHF.MT1.IP
NZD/JPY,81.976,0.012,0.34,-0.74,0.01,0.07325,7,0,1000,0.000,CS.D.NZDJPY.MT1.IP
NZD/USD,0.65779,0.00007,0.31,-0.69,0.0001,0.09129,7,0,1000,0.000,CS.D.NZDUSD.MT1.IP
USD/CAD,1.3143,0.00004,-0.08,0.02,0.0001,0.06946,10,0,1000,0.000,CS.D.USDCAD.MT1.IP
USD/CHF,0.98462,0.00005,0.14,-0.36,0.0001,0.09272,50,0,1000,0.000,CS.D.USDCHF.MT1.IP
USD/JPY,124.622,0.002,0.03,-0.08,0.01,0.07325,10,0,1000,0.000,CS.D.USDJPY.MT1.IP
GER30,12418,1,-0.5151,0.0859,1.00000,1.140490,0,100,1.00,0.000,IX.D.DAX.MT1.IP
NAS100,7417,1,0.0210,-0.1892,1.00000,1.000000,0,100,1.00,0.000,IX.D.NASDAQ.MT1.IP
SPX500,2838,0.5,0.0645,-0.1439,1.00000,1.000000,0,100,1.00,0.000,IX.D.SPTRD.MT1.IP
US30,25319,2,0.6794,-1.3588,1.00000,1.000000,0,100,1.00,0.000,IX.D.DOW.MT1.IP
XAG/USD,15.35795,0.046,-0.0002,-0.0004,0.00010,0.100,0,100,1000,0.000,CS.D.CFDSILVER.MC1.IP
XAU/USD,1210.69,0.31,-0.0199,-0.0290,0.01000,0.010000,0,100,1.00,0.000,CS.D.CFDGOLD.MC1.IP

Re: IG plugin initial release [Re: Andy60] #477028
05/03/19 19:09
05/03/19 19:09
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
How did you find those symbols?

For example
AUDCAD = CS.D.AUDCAD.MT1.IP

If I search the markets API for AUDCAD:
https://demo-api.ig.com/gateway/deal/markets?searchTerm=AUDCAD

I only get two hits
CS.D.AUDCAD.CFD.IP
CS.D.AUDCAD.MINI.IP
you will also see that
"streamingPricesAvailable": true,

If I search for your symbol
https://demo-api.ig.com/gateway/deal/markets/CS.D.AUDCAD.MT1.IP
"streamingPricesAvailable": false,

So you need to go through your asset list and correct the symbol names.

Re: IG plugin initial release [Re: Dalla] #477037
05/05/19 06:46
05/05/19 06:46
Joined: Nov 2017
Posts: 17
A
Andy60 Offline
Newbie
Andy60  Offline
Newbie
A

Joined: Nov 2017
Posts: 17
Thx I try today

Re: IG plugin initial release [Re: Andy60] #477038
05/05/19 06:54
05/05/19 06:54
Joined: Nov 2017
Posts: 17
A
Andy60 Offline
Newbie
Andy60  Offline
Newbie
A

Joined: Nov 2017
Posts: 17
ACCOUNT LIVE
======
https://api.ig.com/gateway/deal/markets?searchTerm=AUDCAD
I get:
CS.D.AUDCAD.MT1.IP and streamingPricesAvailable: true

ACCOUNT DEMO
======
url changes to:https://demo-api.ig.com/gateway/deal/markets?searchTerm=AUDCAD
I get:
CS.D.AUDCAD.CFD.IP and streamingPricesAvailable: true

I made asset list for live, my question is: Zorro free works for both asset lists demo and live?

Last edited by Andy60; 05/05/19 07:10.
Re: IG plugin initial release [Re: Andy60] #477051
05/07/19 15:17
05/07/19 15:17
Joined: Nov 2017
Posts: 17
A
Andy60 Offline
Newbie
Andy60  Offline
Newbie
A

Joined: Nov 2017
Posts: 17
What do you suggest to be able? Thx Dalla

Re: IG plugin initial release [Re: Andy60] #477052
05/07/19 18:03
05/07/19 18:03
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
I'm trading mini contracts and have been using the symbols in this assetlist for about a year

Code:
Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol
AUD/CAD,0.98797,0.00020,0.2400,-0.5100,0.00010,0.653582,64.5719,100.000,10000.00,0.000,CS.D.AUDCAD.MINI.IP
AUD/CAD,0.98808,0.00020,0.2400,-0.5100,0.00010,0.653518,64.5728,100.000,10000.00,0.000,CS.D.AUDCAD.MINI.IP
AUD/CHF,0.74985,0.00025,0.2400,-0.5100,0.00010,0.861189,96.8644,66.667,10000.00,0.000,CS.D.AUDCHF.MINI.IP
AUD/JPY,83.75,0.01,0.2400,-0.5100,0.01000,0.771034,64.5710,100.000,10000.00,0.000,CS.D.AUDJPY.MINI.IP
AUD/NZD,1.08348,0.00030,0.2400,-0.5100,0.00010,0.595951,64.5701,100.000,10000.00,0.000,CS.D.AUDNZD.MINI.IP
AUD/USD,0.76102,0.00015,0.2400,-0.5100,0.00010,0.848482,64.5712,100.000,10000.00,0.000,CS.D.AUDUSD.MINI.IP
CAD/CHF,0.75898,0.00025,0.2400,-0.5100,0.00010,0.861208,98.0459,66.667,10000.00,0.000,CS.D.CADCHF.MINI.IP
CAD/JPY,84.78,0.04,0.2400,-0.5100,0.01000,0.771028,49.0235,133.333,10000.00,0.000,CS.D.CADJPY.MINI.IP
CHF/JPY,111.71,0.02,0.2400,-0.5100,0.01000,0.771028,129.1915,66.667,10000.00,0.000,CS.D.CHFJPY.MINI.IP
EUR/CAD,1.53034,0.00030,-0.0200,0.0100,0.00010,0.653516,50.0051,200.000,10000.00,0.000,CS.D.EURCAD.MINI.IP
EUR/CHF,1.16126,0.00020,-0.0200,0.0100,0.00010,0.861208,150.0129,66.667,10000.00,0.000,CS.D.EURCHF.MINI.IP
EUR/GBP,0.88074,0.00009,-0.0200,0.0100,0.00010,1.135465,100.0049,100.000,10000.00,0.000,CS.D.EURGBP.MINI.IP
EUR/JPY,129.71,0.02,-0.0200,0.0100,0.01000,0.771028,50.0031,200.000,10000.00,0.000,CS.D.EURJPY.MINI.IP
EUR/NZD,1.67843,0.00030,-0.0200,0.0100,0.00010,0.595919,100.0209,100.000,10000.00,0.000,CS.D.EURNZD.MINI.IP
EUR/USD,1.17861,0.0001,-0.0200,0.0100,0.00010,0.848482,50.0015,200.000,10000.00,0.000,CS.D.EURUSD.MINI.IP
GBP/AUD,1.75874,0.00019,0.0500,-0.1200,0.00010,0.645653,113.5535,100.000,10000.00,0.000,CS.D.GBPAUD.MINI.IP
GBP/CAD,1.73782,0.00070,0.0500,-0.1200,0.00010,0.653520,113.5700,100.000,10000.00,0.000,CS.D.GBPCAD.MINI.IP
GBP/CHF,1.31861,0.00030,0.0500,-0.1200,0.00010,0.861200,170.3381,66.667,10000.00,0.000,CS.D.GBPCHF.MINI.IP
GBP/JPY,147.28,0.03,0.0500,-0.1200,0.01000,0.771025,113.5573,100.000,10000.00,0.000,CS.D.GBPJPY.MINI.IP
GBP/NZD,1.90560,0.00050,0.0500,-0.1200,0.00010,0.595955,113.5651,100.000,10000.00,0.000,CS.D.GBPNZD.MINI.IP
GBP/USD,1.33839,0.00009,0.0500,-0.1200,0.00010,0.848482,113.5600,100.000,10000.00,0.000,CS.D.GBPUSD.MINI.IP
GER30,12886,5,-0.1000,0.0000,1.00000,1.000000,64.4320,200.000,1.00,0.000,IX.D.DAX.IFMM.IP
NAS100,7170,3,-0.1000,0.0000,1.00000,1.000000,35.8490,200.000,1.00,0.000,IX.D.NASDAQ.IFE.IP
NZD/CAD,0.91211,0.00035,0.1500,-0.5800,0.00010,0.653520,59.6082,100.000,10000.00,0.000,CS.D.NZDCAD.MINI.IP
NZD/CHF,0.69228,0.00060,0.1500,-0.5800,0.00010,0.861208,89.4295,66.667,10000.00,0.000,CS.D.NZDCHF.MINI.IP
NZD/JPY,77.30,0.03,0.1500,-0.5800,0.01000,0.771031,59.6038,100.000,10000.00,0.000,CS.D.NZDJPY.MINI.IP
NZD/USD,0.70250,0.00020,0.1500,-0.5800,0.00010,0.848486,59.6061,100.000,10000.00,0.000,CS.D.NZDUSD.MINI.IP
SPX500,2783,1,-0.5000,0.0000,1.00000,1.000000,13.9141,200.000,1.00,0.000,IX.D.SPTRD.IFE.IP
TEST,12886,5,-0.1000,0.0000,1.00000,1.000000,64.4320,200.000,1.00,0.000,IX.D.DAX.IFMM.IP
UK100,7757,4,-0.1000,0.0000,1.00000,2.271140,88.0828,200.000,2.00,0.000,IX.D.FTSE.IFM.IP
US30,25328,6,-0.5000,0.0000,1.00000,1.696972,214.9054,200.000,2.00,0.000,IX.D.DOW.IFM.IP
USD/CAD,1.29834,0.00025,-0.2100,0.0900,0.00010,0.653595,42.4294,200.000,10000.00,0.000,CS.D.USDCAD.MINI.IP
USD/CHF,0.98532,0.00015,0.1500,-0.5800,0.00010,0.861208,127.2848,66.667,10000.00,0.000,CS.D.USDCHF.MINI.IP
USD/JPY,110.05,0.01,0.0200,-0.0400,0.01000,0.771034,42.4254,200.000,10000.00,0.000,CS.D.USDJPY.MINI.IP
XAG/USD,1694,2,0.0200,-0.0400,1.00000,4.242429,143.6996,50.000,500.00,0.000,CS.D.CFDSILVER.CFM.IP
XAU/USD,1295,0.3,0.0200,-0.0400,1.00000,1.000000,9.0661,142.857,1.00,0.000,CS.D.CFEGOLD.CFE.IP


Page 14 of 17 1 2 12 13 14 15 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