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 11 of 17 1 2 9 10 11 12 13 16 17
Re: IG plugin initial release [Re: Dalla] #468118
09/19/17 04:53
09/19/17 04:53
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
I will get to IG and keep you posted. Regarding EUR/USD, I do not understand one point: my line in the Assets.csv file is the following:
EUR/USD,1.13795,0.00005,-0.0200,0.0100,0.0001,0.087100,10.0000,99.115,1000.0,0.600,CS.D.EURUSD.CFD.IP

It is pressty close to the example I saw before. The symbol name I put is not EUR/USD but CS.D.EURUSD.CFD.IP which is what I get from the API companion. Then why Zorro is telling me about EUR/USD?

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

Joined: Feb 2017
Posts: 369
Can you post your strategy and your current AssetsIG file?

Re: IG plugin initial release [Re: Dalla] #468139
09/19/17 19:34
09/19/17 19:34
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
Here is the AssetsIG.csv file saved in the History folder, and here is the strategy: https://pastebin.com/6BFHZVJA. Nothing fancy, just the test trade strategy with the assetList("AssetsIG"); line added
Log file here: https://pastebin.com/F1vLBtuS

Last edited by Yop127; 09/19/17 19:35.
Re: IG plugin initial release [Re: Yop127] #468141
09/20/17 03:58
09/20/17 03:58
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Can't see the asset file? My suspicion would be that something is wrong with that, because apparently it's trying to subscribe to EUR/USD rather than the long weird epic name used by IG.

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

Joined: Sep 2017
Posts: 13
Here are the log file, the assetIG file and the asset file. Strategy is the same as previous. I get the code is trying to subscribe to EUR/USD but I don't get why it would use the epic name for DAX and not for EUR/USD

Attached Files
Nouveau dossier.rar (247 downloads)
Last edited by Yop127; 09/20/17 20:08.
Re: IG plugin initial release [Re: Yop127] #468153
09/20/17 19:53
09/20/17 19:53
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Not sure why you have both an Assets and an AssetsIG? Anyway, I cannot see anything obvisouly wrong with the AssetsIG file. I would try a much simpler strategy first without all PanelGet etc, just to see if you can make it work. I'm pretty confident that the issue you are experiencing is not connected to the plugin.

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

Joined: Sep 2017
Posts: 13
Ok I think I figured it out, and your plugin is working fine. Many thanks for the support.

Re: IG plugin initial release [Re: Yop127] #468207
09/24/17 16:23
09/24/17 16:23
Joined: Sep 2017
Posts: 13
Y
Yop127 Offline
Newbie
Yop127  Offline
Newbie
Y

Joined: Sep 2017
Posts: 13
Hello,
Sorry to disturb again, I am trying to download data using the download script. I entered the correst symbol for EUR/USD, and I get this message:

2017-09-24 17:59:01.357 [main] WARN c.d.igz.brokerapi.BrokerHistory - Zero ticks returned for requested date range 2017-09-24T12:59:01 - 2017-09-24T17:59:01

If I change the years (instead of 2017-2017 I input 2016-2017) I also get the same error message plus another one:

2017-09-24 18:08:23.391 [main] WARN c.d.igz.brokerapi.BrokerHistory - Zero ticks returned for requested date range 2016-12-31T20:48:59 - 2017-01-01T01:48:59

Is the download script working with the plugin or should I write my own script? What is the reason of such an error?

Sorry to bother you again, I am still learning!

Re: IG plugin initial release [Re: Yop127] #468208
09/24/17 16:45
09/24/17 16:45
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
I would not recommend using the plugin to download historical data, other than to backfill the lookback period when starting a script. IGs limits for historical data is VERY low, which means you will easily exhaust your weekly limit. If you do, you will not even be able to start a script if even a single minute of data is missing.

That said, it should work with the download script, IF you stay within the time range given in the FAQ: https://labs.ig.com/faq.

My guess for the error message: You have tried to download data from today = Sunday. IG is not open until late in the evening on Sundays, so there are no ticks to be found within the range stated in the error message.

The second error is probably because you are trying to fetch data too far back in time, again refer to the FAQ.

Re: IG plugin initial release [Re: Dalla] #468245
09/27/17 03:38
09/27/17 03:38
Joined: Sep 2017
Posts: 13
Singapore
K
krisbaum Offline
Newbie
krisbaum  Offline
Newbie
K

Joined: Sep 2017
Posts: 13
Singapore
Hello Dalla & community,

I attempted to connect to IG using the IG plugin. I read through this thread but was not able to resolve this on my own leaving me with a bit of a bruised ego.

These are the steps I performed:
- Installed Zorro V1.60
- Installed IG plugin as per instructions in the manual and on GitHub
- Generated API keys for both real and demo IG accounts
- Updated API keys in application properties.file of IG plugin
- Updated File AssetsFix.csv with IG symbols extracted from IG API Companion

I failed when attempting to run any of the scripts, for example 'TradeTest'and 'Download'scripts receiving the error message: Severe error occured, check igzplugin.log logfile! Can't connect!.

The result is the same after multiple attempts over several days. I also tried using (1) username + password and (2) username + API key to connect to the server, again with the same result.

Any advice on how to tackle this would be greatly appreciated.

Best regards,
Kris

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