Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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