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, VoroneTZ), 831 guests, and 5 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 9 of 17 1 2 7 8 9 10 11 16 17
Re: IG plugin initial release [Re: Dalla] #467273
07/24/17 13:49
07/24/17 13:49
Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
M
mhdus Offline
Junior Member
mhdus  Offline
Junior Member
M

Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
No feedback from the API experts at IG yet, despite several reminders to the helpdesk front line ...

Re: IG plugin initial release [Re: mhdus] #467280
07/24/17 18:07
07/24/17 18:07
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
That's weird. Vacation times? I've never had to wait more than a couple of days for answer from support, and that was true before I made this plugin as well

Re: IG plugin initial release [Re: mhdus] #467281
07/24/17 18:13
07/24/17 18:13
Joined: Feb 2017
Posts: 9
D
dhrv Offline
Newbie
dhrv  Offline
Newbie
D

Joined: Feb 2017
Posts: 9
For me, updating the Assets file (Download script -> "Save Assets to") triggers the limit at my IG account (the current limit is "Per-account non-trading requests per minute: 30"). The limit is triggered after the 12th asset in the list (it used to be after the 8th asset one month ago with previous versions of Zorro and the IG plugin). When I asked the Dev support for a limit raise, their response was:

Quote:
Thanks for your email. Unfortunately we access increasing REST API limits on a case by case basis. What we have noticed is that you are trying to access quite a few Forex pairs at a point in time hence why you hit you limit easily, what we suggest is that possibly instead of using REST API try using Streaming API, because it is based on real time data.

Since you're already using the Lightstreamer lib, is there a way to prevent reaching the limit, e.g. by queuing the requests or using this trick?

Re: IG plugin initial release [Re: dhrv] #467282
07/24/17 19:20
07/24/17 19:20
Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
M
mhdus Offline
Junior Member
mhdus  Offline
Junior Member
M

Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
I'm getting quick answers to each request but only from first line support: "I will follow up with the developers again to get a response from the as quickly as possible."...

Anyway, since these limits appear to be a showstopper for the plugin so far, could you consider dhrv's suggestion?

Re: IG plugin initial release [Re: mhdus] #467293
07/25/17 07:55
07/25/17 07:55
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Hi,

Using the download script, if you really need to download many assets, you should download one at a time rather than all at once. As mentioned in the installation notes, using IG to download lots of historical data is not a good idea.

I've also asked support about the limits for the rest api. All requests that require an api key (which is all requests made by the plugin) counts towards the application limit of 60. So rather than asking them to just raise your limit, ask why you are getting rate limited after 30 requests rather than 60.

I'm not sure rate limiting the api calls would even work, as I suspect Zorro would time out if the api call takes to long. I will check this with zorro support team. Anyways, I'm away on vacation for the next 5 weeks, so I won't prioritize this specific suggestion during that time.

Re: IG plugin initial release [Re: Dalla] #467298
07/25/17 09:50
07/25/17 09:50
Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
M
mhdus Offline
Junior Member
mhdus  Offline
Junior Member
M

Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
Thank you very much. I think the Zorro developers should be able to introduce a parameter to adjust for such delays ... enjoy your vacation!

Re: IG plugin initial release [Re: mhdus] #467301
07/25/17 11:30
07/25/17 11:30
Joined: Feb 2017
Posts: 9
D
dhrv Offline
Newbie
dhrv  Offline
Newbie
D

Joined: Feb 2017
Posts: 9
This was purely about updating the Asset list variables (spread etc.), not about downloading historic prices (.t6 files), but yes, I always update the Asset list successfully in small batches laugh Still I wanted to report this since you guys were discussing something similar. It really all comes down to IG's API limit. I imagine it's hard for the Zorro Devs and for you to implement a queuing or connection throttle while retaining the guarantee to be able to modify orders/close trades at all times. So don't worry about this too much and enjoy your holidays! laugh

Re: IG plugin initial release [Re: dhrv] #467302
07/25/17 12:36
07/25/17 12:36
Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
M
mhdus Offline
Junior Member
mhdus  Offline
Junior Member
M

Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
As long as the throttling would only affect the INITRUN of a strategy, it should be easy to implement into the Zorro core, at least. I'll continue bugging IG for an increase of the 30 requests limit as this doesn't make sense to me either.

Re: IG plugin initial release [Re: mhdus] #467304
07/25/17 15:42
07/25/17 15:42
Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
M
mhdus Offline
Junior Member
mhdus  Offline
Junior Member
M

Joined: Jul 2016
Posts: 93
Düsseldorf, Germany
Finally IG have increased my limits: "account non trading request per minute to 60 and account trading requests per minute to 100" - an I could successfully start Z12, Z3, and Z7. Of course I have been waiting 2-3 mins between starting each of the strategies.
Ok, one issue fixed, now let's see how it looks while trading ...

Re: IG plugin initial release [Re: mhdus] #467305
07/25/17 17:25
07/25/17 17:25
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
Zorro provides two functions for adjusting delays: SET_DELAY and SET_WAIT. But they must be realized in the plugin. Most broker plugins support them, but I don't know if they are implemented in the IG plugin.

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