[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GT] extension in Text.pm



Hi,

I observed a problem with the extension in the module Text.pm


=item DB::text::file_extension  string

To be appended to the code file name when
searching the data file.  For instance, if the data file is called EURUSD.csv
this variable would have the value '.csv' (without the quotes).

The default file_extension is '.txt'.


You can find this setting here:
Finance::GeniusTrader::Conf::default('DB::Text::file_extension', '.txt');





I can set the extension in the ~/.gt/options file, e.g you have csv-files:
DB::text::file_extension .csv

But how can I unset any extensions? My files are just the symbol name with no extension.
IBM
QQQQ
...

At the moment I edited 
Finance::GeniusTrader::Conf::default('DB::Text::file_extension', '.txt');
in the Text.pm file to
Finance::GeniusTrader::Conf::default('DB::Text::file_extension', '');



Am I doing something wrong with the options file?


Best regards