Hello,

I'd like to know if there is a workaround for working with tickers that contain special characters. I got a lot of .csv files with equities, futures, market statistics etc. and some of them start with a #, $, % or contain a . or - (Equities, A/B) shares.

I was able to successfully write a script that converts all my .csv files to .t6 files and create an assetlist but now I face the problem that adding assets via asset() does not work for assets containing a . or a # from my testing so far. I got the option to write a small script to replace all these characters, but I wanted to know first if there is another option. (Also because removing these characters could lead to duplicates.)

This is roughly what I do so far:


assetList("C:\\***\\Assets.csv",0);
History = "C:\\***\\*.t6";

string ticker = "BF.B";

asset(ticker);


Doing this with a ticker that is in my asset list and also in the specified history folder leads to the "Error 055: no bars generated".

Other symbols without a dot work flawlessly. I hope somebody got a solution.

Kind regards,

Last edited by VizTra; 04/13/21 13:49.