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
Rating: 5
Page 3 of 17 1 2 3 4 5 16 17
Re: IG plugin initial release [Re: kmerlo] #465687
05/09/17 18:57
05/09/17 18:57
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
Hi Daniel
there are still some errors
Maybe it seems there are less errors

The log is attached

Attached Files
igzplugin.zip (349 downloads)
Last edited by kmerlo; 05/09/17 18:59.
Re: IG plugin initial release [Re: kmerlo] #465701
05/10/17 04:08
05/10/17 04:08
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
Hi

These errors suggests that there were problems connecting to the demo API, i.e. the server is not responding at all or not responding in a time. I saw that too when running my own tests. It's not that worrying as I think the demo server is also used for development purposes for IG, that is they will sometimes restart it to push new releases etc to the demo environment.

If you plan to run additional tests, could you please delete your log-file before starting Zorro? It makes it easier for me to determine exactly what is relevant and not in the log.

Thanks for your help :-)

Last edited by Dalla; 05/10/17 05:20.
Re: IG plugin initial release [Re: Dalla] #465852
05/15/17 10:09
05/15/17 10:09
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
@kmerlo, wanted to check if you ran any more tests? Any new issues?

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

Joined: Mar 2017
Posts: 48
Bologna
Hi Dalla
I still using the api, but sorry in this day I have some other commitments. I hope to be more precise in the next days :-)

Menatime I have detected some minor strange Behaviour, maybe tree....

For the first now I don't remember exactely (I ' sorry), but should be that in zorro the position was flat instead in IG the position still open...

the second : in zorro
System State: 30414 +35 +0
instead in IG the account is 30427
I have stoped Zorro and then I have restarted it, but the money still different

third:
some message errors during the week end, so I changed in file the Z.INI the variable Weekend from "2" to "3"
I will check the next week end if the modify is usefull:-)

Attached Files
igzplugin.zip (314 downloads)
Re: IG plugin initial release [Re: kmerlo] #465877
05/16/17 08:24
05/16/17 08:24
Joined: Feb 2017
Posts: 369
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 369
I understand, just curious to hear any results :-)

The most obvious issue is that there are still a lot of instances where IGs servers does not seem to be responding at all. I'll see if I can confirm if there are some times where at least the demo server is expected to be down.

There are also some issues related to exceeding the api key limits, which is a bit more of an issue. How many assets is this system using?

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

Joined: Mar 2017
Posts: 48
Bologna
Hi daniel,
I am testing only z7, so only 3 assets

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

Joined: Feb 2017
Posts: 369
Hmm, that´s strange. Did you at any time restart the strategy?
3 assets shouldn't be enough to hit the limit unless you restart many times over. Or if there is a bug of course

Re: IG plugin initial release [Re: Dalla] #465888
05/16/17 14:34
05/16/17 14:34
Joined: Mar 2017
Posts: 48
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 48
Bologna
hi
I think to have restar the strategy 4 o 5 time.

today there ara this error message


2017-05-16 15:36:59.613 [ThreadPoolTaskScheduler1] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when refreshing session token
org.springframework.web.client.HttpServerErrorException: 503 Service Unavailable
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:94)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:531)
at com.danlind.igz.ig.api.client.RestAPI.refreshSessionV1(RestAPI.java:758)
at com.danlind.igz.adapter.RestApiAdapter.refreshSessionV1(RestApiAdapter.java:275)
at com.danlind.igz.brokerapi.BrokerLogin.refreshAccessToken(BrokerLogin.java:82)
at com.danlind.igz.brokerapi.BrokerLogin.lambda$startRefreshAccessTokenScheduler$13(BrokerLogin.java:92)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2017-05-16 15:36:59.632 [ThreadPoolTaskScheduler1] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.RuntimeException: 503 Service Unavailable
at com.danlind.igz.adapter.RestApiAdapter.refreshSessionV1(RestApiAdapter.java:287)
at com.danlind.igz.brokerapi.BrokerLogin.refreshAccessToken(BrokerLogin.java:82)
at com.danlind.igz.brokerapi.BrokerLogin.lambda$startRefreshAccessTokenScheduler$13(BrokerLogin.java:92)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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

Joined: Feb 2017
Posts: 369
Same as before then.
The part "503 Service Unavailable" means that the server is not responding.

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

Joined: Mar 2017
Posts: 48
Bologna
I Daniel
today I tried z12

http://54.93.127.181/z12.htm

when I have launched the script I have received this message

"
Error 030: asset USD/JPY missing in INITRUN
Error 011: Function ATR called with invalid parameters (no price)
Error 011: Function BBANDS called with invalid parameters (no price).
"

plus other messages

But do you use the API and all it's fine for you o also you have some strange error messages?


PS
later the script has open some position so, it was working but I can't know if se the first message cause that some trade will done badly... :-(

Attached Files
AssetsFix.zip (296 downloads)
igzplugin.zip (294 downloads)
Page 3 of 17 1 2 3 4 5 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