Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 4,606 guests, and 16 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Geir, ondrej, mredit, vestriaa, Lukudo
19206 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