Local file (CSV/TSV)
Local file datasources read CSV, TSV, or other delimited flat files from a directory on the CloudQuant Data Liberator server or a mounted filesystem. This is the simplest file-based connection type and serves as the foundation for understanding all other file-based sources.See Supported Data Formats for every file extension Liberator can ingest on this connection, including Parquet, Arrow, Excel, XML, HDF5, PSV (2.1+), and PCAP (2.2+).
Connection configuration
Required fields
The
location field should point to a directory, not an individual file. CloudQuant Data Liberator will scan the directory for files matching the file_pattern in data_args.Example connection
Dataset configuration (data_args)
All file-based datasources share the samedata_args fields. These control how CloudQuant Data Liberator finds, parses, and interprets your files.
Required fields
Optional fields
Complete example
Below is a full configuration showing both the connection and a dataset for daily trade CSV files.Connection
Dataset
Tab-separated files (TSV)
For TSV files, setsep_override to "\t":
Composite key example
When the symbol is constructed from multiple columns:NYSE_AAPL, NASDAQ_MSFT, etc.
Multiple datetime columns
When the date and time are in separate columns:"%Y-%m-%d %H:%M:%S.%f".
