configurable txt separator
This commit is contained in:
@@ -34,7 +34,8 @@ class TextExportManager:
|
||||
'ref1_symbol': 'BTC/USDT',
|
||||
'ref2_symbol': 'SPX', # Will need to be mapped to available data
|
||||
'ref3_symbol': 'SOL/USDT',
|
||||
'export_dir': 'NN/training/samples/txt'
|
||||
'export_dir': 'NN/training/samples/txt',
|
||||
'export_format': 'PIPE' # PIPE (default) or TAB
|
||||
}
|
||||
|
||||
def initialize_exporter(self, config: Optional[Dict[str, Any]] = None):
|
||||
@@ -56,7 +57,8 @@ class TextExportManager:
|
||||
main_symbol=self.export_config['main_symbol'],
|
||||
ref1_symbol=self.export_config['ref1_symbol'],
|
||||
ref2_symbol=self.export_config['ref2_symbol'],
|
||||
ref3_symbol=self.export_config.get('ref3_symbol', 'SOL/USDT')
|
||||
ref3_symbol=self.export_config.get('ref3_symbol', 'SOL/USDT'),
|
||||
export_format=self.export_config.get('export_format', 'PIPE')
|
||||
)
|
||||
|
||||
logger.info("Text data exporter initialized successfully")
|
||||
|
||||
Reference in New Issue
Block a user