Gamestudio Links
Zorro Links
Newest Posts
Accessing All Historical Price Data
by JohnJits. 10/22/19 22:37
file_write var array ?
by laz. 10/22/19 16:00
SAV_STATS
by MatPed. 10/22/19 13:57
Instrument Price Zorro Chart
by jcl. 10/22/19 10:39
Calculating with price series
by AndrewAMD. 10/21/19 14:31
Error E355: Startup failure
by Dooley. 10/21/19 06:47
Today real live account blown - my experience
by Clifford_B. 10/19/19 17:09
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online Now
4 registered members (JohnJits, AndrewAMD, Clifford_B, 1 invisible), 627 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VillageTalkies, line7, Shutch, Clifford_B, Paulius
18310 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 3 of 16 1 2 3 4 5 15 16
Re: IG plugin initial release [Re: kmerlo] #465687
05/09/17 18:57
05/09/17 18:57
Joined: Mar 2017
Posts: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

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

The log is attached

Attached Files
igzplugin.zip (192 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: 358
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 358
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: 358
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 358
@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: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
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 (181 downloads)
Re: IG plugin initial release [Re: kmerlo] #465877
05/16/17 08:24
05/16/17 08:24
Joined: Feb 2017
Posts: 358
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 358
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: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
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: 358
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 358
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: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
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: 358
D
Dalla Offline OP
Senior Member
Dalla  Offline OP
Senior Member
D

Joined: Feb 2017
Posts: 358
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: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
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 (196 downloads)
igzplugin.zip (176 downloads)
Page 3 of 16 1 2 3 4 5 15 16

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