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
7 registered members (EternallyCurious, 7th_zorro, Ayumi, Quad, AndrewAMD, ricky_k, 1 invisible), 497 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Oanda practice account doesn't retrieve indices #459669
05/30/16 14:09
05/30/16 14:09
Joined: May 2016
Posts: 5
J
joostm Offline OP
Newbie
joostm  Offline OP
Newbie
J

Joined: May 2016
Posts: 5
Hi,

I am not able to retrieve indices using my Oanda Practice account with Zorro and the included Z strategies. The error I get is:
!Invalid instrument: GER30 is not a valid instrument
Error 053: GER30 unavailable!

Although I am able to retrieve the price history for indices, e.g. GER30, using Curl from the REST API. The asset name is DE30_EUR on the Oanda REST API interface.

Could it be that Zorro tries to retrieve a different asset name?
Can I set the asset name somewhere?

Btw, would there be any strong reason to prefer Oanda over FXCM?

Joost

Re: Oanda practice account doesn't retrieve indices [Re: joostm] #459670
05/30/16 14:43
05/30/16 14:43
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Yes, GER30 has a different name with Oanda, so you need to use a different asset list. A list named "AssetsOanda.csv" is included.

http://manual.zorro-project.com/oanda.htm

For the Z systems Oanda has no strong advantage over FXCM.

Re: Oanda practice account doesn't retrieve indices [Re: jcl] #459676
05/30/16 16:23
05/30/16 16:23
Joined: May 2016
Posts: 5
J
joostm Offline OP
Newbie
joostm  Offline OP
Newbie
J

Joined: May 2016
Posts: 5
Thanks jcl for your quick reply!

I see that AssetsOanda.csv contains the correct symbol names, e.g. DE30/EUR, but the Z strategy doesn't seem to use them.
I tried to add the symbol name to AssetsCur.csv, but that didn't help.

What am I missing here?

Joost

Re: Oanda practice account doesn't retrieve indices [Re: joostm] #459684
05/31/16 06:13
05/31/16 06:13
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
The Z systems use a list named AssetsFix.csv, so you must edit it and add the Oanda symbol names at the end. You can find details in the manual under Import/Export.

Re: Oanda practice account doesn't retrieve indices [Re: jcl] #459686
05/31/16 09:21
05/31/16 09:21
Joined: May 2016
Posts: 5
J
joostm Offline OP
Newbie
joostm  Offline OP
Newbie
J

Joined: May 2016
Posts: 5
That works! Overlooked that in the manual...


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