the assets don't change when I change Z.ini

Posted By: kmerlo

the assets don't change when I change Z.ini - 04/04/17 15:01

I use Zorro 1.54
I am testing Z1 with FXCM demo account ad all it is OK
Then I wanted to try with IG demo account with the MT4 Bridge but IG has a differente name for English Index
FXCM : UK100
IG : FTSE100

I read in the manual in
"http://zorro-project.com/manual/en/zsystems.htm"

"Every Z strategy can be configured at startup with parameters from an .ini file, and is controlled at runtime with the Margin, Risk, and Panic sliders. First set up the strategy to your country and other requirements: open StrategyZ.ini with SED or any other text editor, and edit the following parameters:"


So I changed the AssetsFIX.csv and I tested the IG'S name (FTSE100) with the script "TradeTest.c" ad it is OK

Name Price Spread RollLong RollShort PIP PIPCost MarginCost Leverage LotAmount Commission Symbol
AUDUSD 0.75535 0.00006 1 1 0.0001 0.093853 3.5663 198.782 1000 1 AUDUSD
EURUSD 1.06556 0.00006 1 1 0.0001 0.093853 4.9739 201.061 1000 1 EURUSD
FTSE100 7314.8 1 1 1 0.1 0.011677 4.3201 197.709 0.1 1 FTSE100
GBPUSD 1.24419 0.00009 1 1 0.0001 0.093853 11.7313 99.538 1000 1 GBPUSD
GER30 12244.9 1 1 1 0.1 0.025 15.5 197.498 0.3 1 GER30
NAS100 5412.2 2 1 1 0.1 0.093852 25.3393 200.457 1 1 NAS100
SPX500 2352.53 0.6 1 1 0.01 0.023463 28.155 196.05 2.5 1 SPX500
US30 20605.5 2.8 1 1 0.1 0.009385 9.6667 200.06 0.1 1 US30
USDCAD 1.345 0.00017 1 1 0.0001 0.069791 4.6755 200.766 1000 1 USDCAD
USDCHF 1.00172 0.00015 1 1 0.0001 0.093706 14.0546 66.787 1000 1 USDCHF
USDJPY 110.511 0.007 1 1 0.01 0.084932 4.7559 197.354 1000 1 USDJPY
XAGUSD 18.329 0.025 1 1 0.01 0.469272 8.4467 101.83 50 1 XAGUSD
XAUUSD 1257.77 0.3 1 1 0.01 0.009385 7.5079 157.226 1 1 XAUUSD


Then I modify file "Z.INI"

NFA = 0
FXOnly = 0
Phantom = 1
Hedge = 5
MMax = 100
Weekend = 2
Verbose = 2
BrokerPatch = 0
Preload = 0
AssetList = "C:UsersrmaccaferriZorroHistoryAssetsFIX.csv"
Exclude = ""
Cancel = 0

But the strategy stil use the UK100 and not FTSE100

I also create Z1.ini ant test Z1 strategy but the problem persist
I don't understand if I am wrong or if there is a bug

I hope that someone can help me...

thanks
Posted By: kmerlo

Re: the assets don't change when I change Z.ini - 04/04/17 16:18

I founded the solution
My error was in the file "AssetsFIX.csv"
because I have changed also the Name instead
the corret with IG is
Name= UK100
Symbor= FTSE100

like this

Name Price Spread RollLong RollShort PIP PIPCost MarginCost Leverage LotAmount Commission Symbol
AUDUSD 0.75535 0.00006 1 1 0.0001 0.093853 3.5663 198.782 1000 1 AUDUSD
EURUSD 1.06556 0.00006 1 1 0.0001 0.093853 4.9739 201.061 1000 1 EURUSD
UK100 7314.8 1 1 1 0.1 0.011677 4.3201 197.709 0.1 1 FTSE100
© 2024 lite-C Forums