Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,649 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Need help setting up OANDA asset list for Z systems #461099
07/25/16 15:25
07/25/16 15:25
Joined: Jun 2016
Posts: 29
panz Offline OP
Newbie
panz  Offline OP
Newbie

Joined: Jun 2016
Posts: 29
I have 2 questions about setting up OANDA asset list for Z systems. Thanks in advance!

(1) The leverages shown in AssetsOanda.csv range from 50 to 100. However, when I set up the practice account, the highest leverage I can select is 50. In addition, it seems there is tighter regulatory leverage requirement from NFA, mostly ranging from 20 to 50: https://www.oanda.com/resources/legal/united-states/legal/margin-rates

Question: do I need to manually change the AssetsOanda.csv file "Leverage" column to match the tightest requirement, and clear "MarginCost" column so Zorro will calculate margin cost automatically? Or can I leave them unchanged - I guess Zorro might get these info from the OANDA API?

(2) Document says default asset list is AssetsFix.csv unless script specifies a different asset list. Do I need to manually make a copy of AssetsOanda.csv and rename it to AssetsFix.csv? Or does the Z system script automatically select the asset list according to the broker selected?

Thanks!
-Zhong

Re: Need help setting up OANDA asset list for Z systems [Re: panz] #461116
07/26/16 08:56
07/26/16 08:56
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Zorro reads the margin cost directly from the Oanda API. The leverage is then calculated from the margin cost. It can be different for different assets.

Except for Z8, the Z systems do not automatically switch asset lists. So for backtesting an Oanda account you must enter "AssetsOanda.csv" in the Assetlist line, or the name of the asset list that you've created for your account.

Re: Need help setting up OANDA asset list for Z systems [Re: jcl] #461129
07/26/16 14:28
07/26/16 14:28
Joined: Jun 2016
Posts: 29
panz Offline OP
Newbie
panz  Offline OP
Newbie

Joined: Jun 2016
Posts: 29
Hi jcl,

Appreciate the help. It works now per your instruction. I also found out about Accounts.csv in the manual and recorded my demo account settings there including the assets list - very convenient feature. Thanks!

-Zhong


Moderated by  Petra 

Gamestudio download | 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