Gamestudio Links
Zorro Links
Newest Posts
Instrument Price Zorro Chart
by felixfx. 10/19/19 20:48
Today real live account blown - my experience
by Clifford_B. 10/19/19 17:09
Building Diversified Portfolios - New Paper
by SnoopySniff. 10/18/19 16:23
Indices & metals easier to trade than FX???
by SnoopySniff. 10/18/19 10:08
What are you working on?
by txesmi. 10/17/19 07:00
Ducascopy exporter
by line7. 10/17/19 06:21
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
5 registered members (AndrewAMD, felixfx, Dalla, painkiller, ugofx), 658 guests, and 0 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 2 of 16 1 2 3 4 15 16
Re: IG plugin initial release [Re: kmerlo] #465550
05/03/17 11:50
05/03/17 11:50
Joined: Mar 2017
Posts: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
Bologna
Daniel
are you using zorro with z script?

I m using z7 it 's work but I think it isn't ok to 100%
indeed today Zorro have stil in on the market with a currency, Instead in the ig platforms I was FLTAT

I think there are strange Behaviors and some messages appear
"!Severe error occured, check igzplugin.log logfile!"

I am carrying on to try zorro's z7 (in demo of course) :-)

Re: IG plugin initial release [Re: kmerlo] #465552
05/03/17 13:39
05/03/17 13:39
Joined: Feb 2017
Posts: 358
D
Dalla Online OP
Senior Member
Dalla  Online OP
Senior Member
D

Joined: Feb 2017
Posts: 358
Hi

You dont need to create a second account if you dont want to, you can create an api key on your original account.

What does the igplugin.log say? Check in the ig folder under the plugin directory of zorro

I don't trade any z systems myself at this point.

Last edited by Dalla; 05/03/17 13:41.
Re: IG plugin initial release [Re: Dalla] #465560
05/03/17 19:24
05/03/17 19:24
Joined: Mar 2017
Posts: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
Bologna
Hi Daniel

Today the zorro's Behavior seems to be correct
But there are still the message error in zorro'log

I have attached the log in this message

In the files log I have replaced my username with "XXXXX" and my key with "YYYYYY"

in the zorro's file log "Z7demo.log" the last message that I founded:

"[Wed 03.05.17 17:03] 30175 +106 +22 /// 1.0922/1.09241.0915/1.0916
!Severe error occured, check igzplugin.log logfile!
[Wed 03.05.17 18:03] 30171 +106 +19 /// 1.0916/1.09281.0904/1.0914"

and in file "igzplugin.log" I founded:


2017-05-03 17:29:22.124 [ThreadPoolTaskScheduler4] ERROR c.danlind.igz.adapter.RestApiAdapter - Exception when refreshing session token
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://demo-api.ig.com/gateway/deal/session/refresh-token": demo-api.ig.com:443 failed to respond; nested exception is org.apache.http.NoHttpResponseException: demo-api.ig.com:443 failed to respond
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666)
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:282)
at com.danlind.igz.brokerapi.BrokerLogin.refreshAccessToken(BrokerLogin.java:82)
at com.danlind.igz.brokerapi.BrokerLogin.lambda$startRefreshAccessTokenScheduler$12(BrokerLogin.java:88)
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)
Caused by: org.apache.http.NoHttpResponseException: demo-api.ig.com:443 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:652)
... 14 common frames omitted
2017-05-03 17:29:22.128 [ThreadPoolTaskScheduler4] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.RuntimeException: null
at com.danlind.igz.adapter.RestApiAdapter.refreshSessionV1(RestApiAdapter.java:290)
at com.danlind.igz.brokerapi.BrokerLogin.refreshAccessToken(BrokerLogin.java:82)
at com.danlind.igz.brokerapi.BrokerLogin.lambda$startRefreshAccessTokenScheduler$12(BrokerLogin.java:88)
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)

Attached Files
log.zip (190 downloads)
Re: IG plugin initial release [Re: kmerlo] #465561
05/03/17 20:07
05/03/17 20:07
Joined: Feb 2017
Posts: 358
D
Dalla Online OP
Senior Member
Dalla  Online OP
Senior Member
D

Joined: Feb 2017
Posts: 358
That's weird. Seems to be happening almost exactly every two hours, at least of you look at the last three occurrences in your log. But it doesn't seem to affect trading as a long position was opened after one of the failures? Please let me know if this is not the case.

I'll try to look more into this issue later this week.

Re: IG plugin initial release [Re: Dalla] #465567
05/03/17 21:26
05/03/17 21:26
Joined: Mar 2017
Posts: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
Bologna
Hi Daniel
I confitm that it doesn't seem to affect trading as a long position was opened after one of the failure

If could help you I saw that you can the report in real time here
http://54.93.127.181/z7.htm

Good Night

Re: IG plugin initial release [Re: kmerlo] #465574
05/04/17 09:17
05/04/17 09:17
Joined: Feb 2017
Posts: 358
D
Dalla Online OP
Senior Member
Dalla  Online OP
Senior Member
D

Joined: Feb 2017
Posts: 358
Thanks for confirming.

I have verified the issue locally as well now.
I think I may have found a fix as well, but I want to run some more tests locally before preparing a new release.

/Daniel

Last edited by Dalla; 05/04/17 11:10.
Re: IG plugin initial release [Re: Dalla] #465630
05/06/17 18:25
05/06/17 18:25
Joined: Feb 2017
Posts: 358
D
Dalla Online OP
Senior Member
Dalla  Online OP
Senior Member
D

Joined: Feb 2017
Posts: 358
Quick update: I think I have fixed the issue which caused the errors you are seeing. However I also found another potential issue that I fixed. Since the markets are closed I can't verify the fix right now, so I'll try to confirm and hopefully release an update on Monday.

Re: IG plugin initial release [Re: Dalla] #465637
05/07/17 09:55
05/07/17 09:55
Joined: Mar 2017
Posts: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
Bologna
Hi Daniel
Great Job! :-)
When you will released an update me too I will try the news release

Thanks

Have a good sunday

Re: IG plugin initial release [Re: kmerlo] #465649
05/08/17 06:43
05/08/17 06:43
Joined: Feb 2017
Posts: 358
D
Dalla Online OP
Senior Member
Dalla  Online OP
Senior Member
D

Joined: Feb 2017
Posts: 358
Hi,

A new version has been released that should hopefully make connections more stable.
Download it here: https://github.com/dan-lind/igzplugin/releases/tag/v0.12

/Daniel

Re: IG plugin initial release [Re: Dalla] #465654
05/08/17 14:06
05/08/17 14:06
Joined: Mar 2017
Posts: 47
Bologna
K
kmerlo Offline
Newbie
kmerlo  Offline
Newbie
K

Joined: Mar 2017
Posts: 47
Bologna
Hi Daniel
I Have installed the new versions
In the next days I will report the outcome of the test

Thanks

Page 2 of 16 1 2 3 4 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