Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (SBGuy), 712 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Fail to run demo trade #471141
02/20/18 14:53
02/20/18 14:53
Joined: Feb 2018
Posts: 4
M
may Offline OP
Guest
may  Offline OP
Guest
M

Joined: Feb 2018
Posts: 4
Hello all,

I'm newbie here. I just downloaded zorro and had tried running the trade with my demo account but it came out with below error messages:

Error 053: XAU/USD unavailable at this time
!Invalid value specified for 'accountID'
!Invalid value specified for 'accountID'
!Invalid value specified for 'accountID'
!Invalid value specified for 'accountID'
!Invalid value specified for 'accountID'
!Invalid value specified for 'accountID'
Error 053: XAG/USD unavailable at this time
No bars generated
Logout.. ok

I had tried close and open the program including restarting my computer but the same error message pop-up. Anyone has any idea how to resolve this?

Thank you in advance.

Re: Fail to run demo trade [Re: may] #471143
02/20/18 15:47
02/20/18 15:47
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
The error messages starting with "!" are coming from your broker plugin.

Which broker plugin are you using?

Re: Fail to run demo trade [Re: AndrewAMD] #471145
02/20/18 16:39
02/20/18 16:39
Joined: Feb 2018
Posts: 4
M
may Offline OP
Guest
may  Offline OP
Guest
M

Joined: Feb 2018
Posts: 4
Hi, I'm using Oanda V20 demo account. Am I missing something?

Re: Fail to run demo trade [Re: may] #471146
02/20/18 16:44
02/20/18 16:44
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Very possible. Read this:
http://zorro-project.com/manual/en/oanda.htm

Pay special attention to the User and Password fields. Did you remember to use the Access Token for the password field?

Re: Fail to run demo trade [Re: AndrewAMD] #471147
02/20/18 16:56
02/20/18 16:56
Joined: Feb 2018
Posts: 4
M
may Offline OP
Guest
may  Offline OP
Guest
M

Joined: Feb 2018
Posts: 4
I did use the access token. But it showed the same error. Now I wonder do I need to download and install the MT4 plugin?

Re: Fail to run demo trade [Re: may] #471148
02/20/18 17:09
02/20/18 17:09
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
No, you're using the Oanda API directly.

Start over....

* Close Zorro and open it again.
* Set User to your v20 demo account (it must look like "123-456-78999-007")
* Set Account to Demo (this is a demo account, yes?)
* Set Plugin to Oanda V20
* Clear your password field completely.
* Reset your API key on the Oanda website.
* Copy the new key directly from the Oanda website.
* Paste the new key into the password field.

Now try out your script.

Re: Fail to run demo trade [Re: AndrewAMD] #471149
02/20/18 17:23
02/20/18 17:23
Joined: Feb 2018
Posts: 4
M
may Offline OP
Guest
may  Offline OP
Guest
M

Joined: Feb 2018
Posts: 4
Yes! It is loading now but came out with other types of error as below:

Load XAU/USD prices.. 2850 h
Load XAG/USD prices.. 2850 h

Trade: Z2 2018-02-20
Read Z12.fac
Read Z12.par
Lookback period (500 bars)
Error 033: NAS100 missing in INITRUN
Error 011: Function ATR NAS100 invalid parameters (no price)
Error 011: Function BBANDS NAS100 invalid parameters (no price).

Re: Fail to run demo trade [Re: may] #471151
02/20/18 17:53
02/20/18 17:53
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Your assets have different symbols between Oanda and the default (FXCM?).

Do this in your history folder:

* Close Zorro.
* Rename AssetsFix.csv to AssetsFix_backup.csv
* Make a copy of AssetsOanda.csv and name the copy AssetsFix.csv
* Open Zorro and try again.

See also this:
http://zorro-trader.com/manual/en/account.htm

And this:
http://zorro-trader.com/manual/en/zsystems.htm

... and the rest of the manual too. It's all good. wink


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1