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
Rate Thread
OANDA API - Weekend = 7 #476568
03/10/19 19:18
03/10/19 19:18
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline OP
Junior Member
chsmac85  Offline OP
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
Hello,
I've been running zorro on a cloud based VPS for a few months now. I have set zorro's weekend variable to Weekend = 7 and when checking the logs, I see that zorro sets weekend = on and weekend = off just fine.

However, sometimes OANDA does server maintenance over the weekends. This results in my zorro log printing "Insufficient authorization to perform request" or "The account specified does not exist'." during this weekend time.

This seems odd to me as I would think zorro is disconnected. However, it seems more precise to say that zorro isn't asking for or recording price data for the weekend but is still logged in. Am I correct in this thinking?

I've read the OANDA API helpfile and it didn't seem to handle this case.

If I restart the zorro trading program with stop trading, don't close positions and restart, the error goes away and all seems fine. However, this is a little suboptimal for my "set it and forget" mindset. I was away one weekend and I had trades open but zorro wasn't connected. It was a little into Monday before I realized the issue and reconnected.

Any ideas on how I can get rid of this issue?

Thanks,
Mac

Re: OANDA API - Weekend = 7 [Re: chsmac85] #476579
03/11/19 11:55
03/11/19 11:55
Joined: Oct 2017
Posts: 24
S
Seymour Offline
Newbie
Seymour  Offline
Newbie
S

Joined: Oct 2017
Posts: 24
I am having this issue too, and my Weekend = 2.

Re: OANDA API - Weekend = 7 [Re: Seymour] #476581
03/11/19 12:54
03/11/19 12:54
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
No, as to my knowledge Oanda has no login or logout. It is a REST API. It should not matter if you set Weekend = 7 or not.

So if you get error messages during the weekend, you can normally ignore them. But I agree that it would make sense when Weekend = 7 would suppress those error messages and all communication with the server. I'll put this on our list for implementation.

Re: OANDA API - Weekend = 7 [Re: jcl] #476589
03/11/19 15:58
03/11/19 15:58
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline OP
Junior Member
chsmac85  Offline OP
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
Thanks, JCL!

Re: OANDA API - Weekend = 7 [Re: chsmac85] #476592
03/11/19 17:35
03/11/19 17:35
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
I have had issue with the Oanda plug in during week end .
I have set weekend =7 and it works.
I receive strange messages around 10pm every day.
HtH


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