|
Symbol Column in Assets file
#480031
05/14/20 15:55
05/14/20 15:55
|
Joined: Feb 2015
Posts: 652 Milano, Italy
MatPed
OP
User
|
OP
User
Joined: Feb 2015
Posts: 652
Milano, Italy
|
Hi I want to setup an Asset that should use the UK100 for Trade, UK100 for live price and UK100GBP for historical price (i.e for training and testing I guess)
I set up the symbol field in the asset as: UK100!UK100!UK100GBP, but i does not work. Historical file is present for sure, but whwn I push train I get:
Error 055: UK100 no 2012 history (D:\GoogleDrive\Zorro Robot Platform\HistoryOA\UK100.t6) Warning 033: no UK100 data in INITRUN
My understanding is that the file searched in the history folder should be UK100GBP_XXXX. Where XXXX is the number of the year.
Am I wrong?
I have discovered that I can Test correctly the asset, but not train it. I miss something...
Last edited by MatPed; 05/17/20 15:32.
|
|
|
Re: Symbol Column in Assets file
[Re: MatPed]
#480059
05/17/20 17:06
05/17/20 17:06
|
Joined: Feb 2017
Posts: 1,718 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,718
Chicago
|
Yes, you are wrong. The history files must match your Asset name (left column). The Symbol column (right column) strictly affects Zorro’s interaction with the broker. For example, the same S&P500 CFD will trade under different symbols with different brokers. You change Symbol depending on your broker.
|
|
|
Re: Symbol Column in Assets file
[Re: MatPed]
#480069
05/18/20 10:41
05/18/20 10:41
|
Joined: Feb 2017
Posts: 1,718 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,718
Chicago
|
I have to manually adjust the history file name. You mean rename the t6 files? That's one way to do it, but it's not necessary at all. You can avoid it, and I'll tell you how. Take your example, UK100. Broker A offers it under the symbol UK100_FOO, and broker B offers it under symbol UK100_BAR. What you should do is maintain two different asset lists for each broker, but with matching asset names. Broker A asset list: Asset: "UK100", Symbol: "UK100_FOO" Broker B asset list: Asset: "UK100", Symbol: "UK100_BAR" Now both brokers use the same UK100.t6 files for UK100. No renaming required.
|
|
|
|