Hello Community,
I was trying to export some of the assets' history. As I was using FXCM as data provider, names of the assets contained "/". Export.c script creates .csv files wihich names contain asset's name. Because win doesn't allow for names with "/" I was receiving 062 error (cannot access file).
FXCM is default data provider for Zorro, data exporting is pretty common activity and there are no topics concering abovementioned issue here in the forum, therefore I assume that I must have been doing something wrong.
Nevertheless, to solve the issue you need to remove "/" from the assets' names when creating FileName variable. It can be done with strxc, just add:
strcpy(FileName, strx(FileName, "/",""));
after line 12 in export.c
If anyone can show me how to make export.c work with data from FXCM concering currencies, without changing its code, I would be grateful.