Gamestudio Links
Zorro Links
Newest Posts
zorro with ccxt?
by opm. 03/03/26 03:17
ZorroGPT
by TipmyPip. 03/02/26 18:13
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 5,278 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Loading Price History with Different Asset Name #489025
12/22/25 04:02
12/22/25 04:02
Joined: Apr 2023
Posts: 61
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 61
I am trading a live account in which the broker has an asset called "ES_Z". I plan to use my own t6 history instead of loading the broker's price for trading.

However, my t6 price history is usually named as "ESeod.t6". Is there a way to load this t6 when trading "ES_Z"? I wouldn't want to change my naming convention for my price history.

I've read the doc which says we can use the "History" parameter, such as History = "*eod.t6", but I don't think this is applicable to my issue.

Last edited by vicknick; 12/22/25 04:04.
Re: Loading Price History with Different Asset Name [Re: vicknick] #489086
01/10/26 23:50
01/10/26 23:50
Joined: Jan 2026
Posts: 4
Austria
J
joe_kane Offline
Guest
joe_kane  Offline
Guest
J

Joined: Jan 2026
Posts: 4
Austria
You don't need to rename your files or use complex wildcards. Zorro provides a specific variable for this purpose called SymbolHist.

There are two ways to achieve this:

1. Using the script (easiest): After calling asset(), you can manually redirect the history to your specific file name by setting SymbolHist:

c
asset("ES_Z");
SymbolHist = "ESeod"; // Zorro will now look for ESeod.t6 instead of ES_Z.t6

2. Using the Asset List (cleanest for many assets): In your .csv asset list, you can use a colon-separated syntax in the Symbol column (the 12th column). The format is BrokerSymbol:HistorySymbol.

For your case, set the Symbol column for that asset to: ES_Z:ESeod

Zorro will then automatically use ES_Z for all broker commands (trading) and ESeod for all history commands (loading .t6 files).

Important Note: Make sure your History variable is set to the correct extension (usually .t6 by default). If you set SymbolHist = "ESeod", Zorro will look for ESeod.t6 in your Data folder."


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1