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
AssetsFix.csv for Z1 for IG #474593
10/24/18 15:18
10/24/18 15:18
Joined: Oct 2018
Posts: 10
W
wOrlD21 Offline OP
Newbie
wOrlD21  Offline OP
Newbie
W

Joined: Oct 2018
Posts: 10
hello.
This is my AssetsFix for IG for € Account.

Name;Price;Spread;RollLong;RollShort;PIP;PIPCost;MarginCost;Leverage;LotAmount;Commission;Symbol
AUD/USD;0,70882;0,000075;-0,002;-0,002;0,0001;0,88;5;20;10000;-0,8;CS.D.AUDUSD.MINI.IP
EUR/CHF;1,13833;0,00023;-0,002;-0,002;0,0001;0,88;3,33;30;10000;-0,8;CS.D.EURCHF.MINI.IP
EUR/JPY;128,557;0,000196;-0,002;-0,002;0,01;0,78;3,33;30;10000;-0,8;CS.D.EURJPY.MINI.IP
EUR/USD;1,14866;0,000075;-0,002;-0,002;0,0001;0,87;3,33;30;10000;-0,8;CS.D.EURUSD.MINI.IP
GBP/USD;1,29273;0,000134;-0,002;-0,002;0,0001;0,88;3,33;30;10000;-0,8;CS.D.GBPUSD.MINI.IP
GER30;11412;2;-0,006;-0,006;1;1;5;20;1;0;IX.D.DAX.IFMM.IP
NAS100;7131;1;-0,006;-0,006;1;1;5;20;1;0;IX.D.NASDAQ.IFE.IP
NZD/USD;0,65512;0,000213;-0,002;-0,002;0,0001;0,88;5;20;10000;-0,8;CS.D.NZDUSD.MINI.IP
SPX500;2726,48;0,4;-0,006;-0,006;1;5;5;20;5;0;IX.D.SPTRD.IFM.IP
UK100;7001,2;1;-0,006;-0,006;1;1;5;20;1;0;IX.D.FTSE.IFE.IP
US30;25111,4;1,6;-0,006;-0,006;1;1;5;20;1;0;IX.D.DOW.IFE.IP
USD/CAD;1,30887;0,00025;-0,002;-0,002;0,0001;0,67;3,33;30;10000;-0,8;CS.D.USDCAD.MINI.IP
USD/CHF;0,99707;0,000204;-0,002;-0,002;0,0001;0,88;3,33;30;10000;-0,8;CS.D.USDCHF.MINI.IP
USD/JPY;112,595;0,000086;-0,002;-0,002;0,01;0,78;3,33;30;10000;-0,8;CS.D.USDJPY.MINI.IP
XAG/USD;1477,1;2;-0,002;-0,002;1;4,38;10;10;50;0;CS.D.CFDSILVER.CFM.IP
XAU/USD;1230,83;0,3;-0,002;-0,002;1;10;5;20;10;0;CS.D.CFDGOLD.CFM.IP

I can´t attach the file.

I have error for 2 weeks for getting historic prices:

!Severe error occured, check igzplugin.log logfile!
Error 053: IX.D.FTSE.IFE.IP unavailable at this time
!Severe error occured, check igzplugin.log logfile!
Error 053: CS.D.CFDGOLD.CFM.IP unavailable at this time
!Severe error occured, check igzplugin.log logfile!
Error 053: CS.D.CFDSILVER.CFM.IP unavailable at this time

{"errorCode":"error.public-api.exceeded-api-key-allowance"}

I use the PRELOAD flag.

This is the result of test mode:

Z1.65: PR H 4 W 2 V 3 MR 0
13421 Bars 2010-01-04..2018-08-21 generated
Read Z12_1.par
Multiple assets.............
WFA Test: Z1 (TICKS) 2010..2018
Read Z12.fac Z12_2.par Z12_3.par Z12_4.par Z12_5.par Z12_6.par Z12_7.par Z12_8.par Z12_9.par Z12_10.par Z12_11.par Z12_12.par Z12_13.par
Monte Carlo Analysis... Median AR 244%
Win 227881$ MI 3858$ DD 33326$ Capital 26865$
Trades 2423 Win 62.6% Avg +5.8p Bars 10
AR 172% PF 1.33 SR 1.42 UI 4% R2 0.80
Chart... ok
Time 00:06:03

The Required Capital (26865) make not posible run real account with free zorro with IG.

Last edited by wOrlD21; 10/24/18 16:17.
Re: AssetsFix.csv for Z1 for IG [Re: wOrlD21] #474596
10/24/18 17:21
10/24/18 17:21
Joined: Feb 2017
Posts: 1,718
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,718
Chicago
You can attach zip files.

Did you check your logfile as your plugin instructed you to?

Re: AssetsFix.csv for Z1 for IG [Re: AndrewAMD] #474597
10/24/18 18:06
10/24/18 18:06
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
The error is right in front of you:
errorCode:error.public-api.exceeded-api-key-allowance

Too many API calls have been made. If you have already set PRELOAD, I would suspect that you have "too many" assets in your strategy

Re: AssetsFix.csv for Z1 for IG [Re: Dalla] #474598
10/24/18 19:18
10/24/18 19:18
Joined: Oct 2018
Posts: 10
W
wOrlD21 Offline OP
Newbie
wOrlD21  Offline OP
Newbie
W

Joined: Oct 2018
Posts: 10
Hello.

16 assets in the Z1 strategy.

In a new week don´t get all prices.

The strategy no open orders because margin with capital 4000, not enouht margin (40 versus 300 in broker)

For attach a file I press File MAnager, select file in a new window, press Add File button and Done adding files, but no result.

Thanks

Re: AssetsFix.csv for Z1 for IG [Re: wOrlD21] #474669
10/28/18 20:37
10/28/18 20:37
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I guess you are getting this error immediately when starting your strategy.
Unfortunately IG has a limit of "Per-account non-trading requests per minute: 30". With 16 assets, there will be more than 30 request during the initial minute.

Re: AssetsFix.csv for Z1 for IG [Re: Dalla] #474684
10/30/18 09:09
10/30/18 09:09
Joined: Oct 2018
Posts: 10
W
wOrlD21 Offline OP
Newbie
wOrlD21  Offline OP
Newbie
W

Joined: Oct 2018
Posts: 10
Hello.
I start this week the Z1 for 3ª week and get next errors:

Load US30 prices.. 2912+203 h, gap 49 h
US30: 0..178169
!Severe error occured, check igzplugin.log logfile!
Error 053: IX.D.DAX.IFMM.IP unavailable at this time
!Severe error occured, check igzplugin.log logfile!
Error 053: IX.D.FTSE.IFE.IP unavailable at this time
!Command 43 not yet supported..
Load XAU/USD prices.... 2912+588 h, gap 49 h
XAU/USD: 0..178169
!Severe error occured, check igzplugin.log logfile!
Error 053: CS.D.CFDSILVER.CFM.IP unavailable at this time
V 1.886 on Sun 18-10-28 21:43:58

Trade: Z1 2018-10-28
Read Z12.fac
Lookback period (500 bars)

[487: Thu 18-06-28 20:11] 1.15788/1.158651.15510/1.15658 -0.000250000.

In igzplugin.log:

2018-10-28 21:43:50.406 [main] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when getting historic prices for epic IX.D.DAX.IFMM.IP, API call failed with status code 403 and body {"errorCode":"error.public-api.exceeded-api-key-allowance"}
2018-10-28 21:43:50.469 [main] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when getting historic prices for epic IX.D.FTSE.IFE.IP, API call failed with status code 403 and body {"errorCode":"error.public-api.exceeded-api-key-allowance"}
2018-10-28 21:43:50.781 [main] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when getting historic prices for epic CS.D.CFDGOLD.CFM.IP, API call failed with status code 403 and body {"errorCode":"error.public-api.exceeded-api-key-allowance"}
2018-10-28 21:43:58.830 [main] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when getting historic prices for epic CS.D.CFDSILVER.CFM.IP, API call failed with status code 403 and body {"errorCode":"error.public-api.exceeded-api-key-allowance"}

It open one position yesterday:

2018-10-29 21:11:28.204 [main] INFO com.danlind.igz.brokerapi.BrokerBuy - >>> Creating position for epic=CS.D.USDJPY.MINI.IP with
direction=BUY,
expiry=-,
size=1.0,
orderType=MARKET,
currency=JPY,
stop loss distance=28.08

Skipped other orders:

[991: Mon 18-10-29 16:11] 1.13946/1.140071.13676/1.13915 -0.000060000
Enter 1L USD/JPY Entry -0.017674 Delay 25.5 Stop 1.2525 Trail 1.2525 at 16:11:01
[USD/JPY:VO:L] Skipped (Margin 85 Min 292)
Enter 1L NAS100 Entry -2.4995 Delay 51.0 Stop 193.2 Trail 193.2 at 16:11:01
[NAS100:VO:L] Skipped (Margin 30 Min 341)

[992: Mon 18-10-29 20:11] 1.13915/1.139661.13748/1.13841 -0.000060000
Enter 1L USD/JPY Entry -0.017674 Delay 25.5 Stop 1.2525 Trail 1.2525 at 20:11:01
{USD/JPY:VO:l} Long 1@112.32 Entry limit
{USD/JPY:VO:l9301} Long 1@112.34 Risk 98 ts at 20:11:27
Stop 111.1 Trail 113.6 TP 0.0 Com 0000 Mrg 0000 Net 0
Enter 1L USD/JPY Entry -0.017674 Delay 25.5 Stop 10.90 at 20:11:27
!Command 157 not yet supported.
[USD/JPY:VO:L1001] Long 1@112.34 Pool at 20:11:27
!Command 132 not yet supported.

Now I get next error continuously:

!Command 132 not yet supported.
!Command 132 not yet supported.
!Command 132 not yet supported.
!Command 132 not yet supported.


Last edited by wOrlD21; 10/30/18 09:27.
Re: AssetsFix.csv for Z1 for IG [Re: wOrlD21] #474685
10/30/18 10:11
10/30/18 10:11
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
I'm not sure what you want me to say, you are getting the exact same errors as before.

"!Command 132 not yet supported." is not an error message, it's an info message saying that some broker function is not implemented.

Skipped orders has nothing to do with the IG plugin, but with Zorro and what Margin settings you have setup for your strategy

If you have other issues I suggest you start a new topic, as "AssetsFix.csv for Z1 for IG" is not a good description of what you are asking about now.

Re: AssetsFix.csv for Z1 for IG [Re: Dalla] #474699
10/30/18 18:44
10/30/18 18:44
Joined: Oct 2018
Posts: 10
W
wOrlD21 Offline OP
Newbie
wOrlD21  Offline OP
Newbie
W

Joined: Oct 2018
Posts: 10
THanks Dalla for your reply.

I know the limitations about IG.
I want to note what IG no support the amount of data need to run the Z1 strategy
and the capital required 26865 $ is to hight for a base capital of 4000 and so not open too much orders. IG is not a good choice because your mini lot (not micro) for free Zorro version.
I make Asettfix by hand and share for find errors.

I agree with your statements. I am new with Zorro.

Greetings.

Last edited by wOrlD21; 10/30/18 18:55.

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