Storage and management of market data using the HDF5 format for high performance.
All OHLCV data is stored in a single binary file:
data/bank/qtsbe_data.h5
Data is organized using keys within the HDF5 file. Keys follow the naming convention:
{Provider}_{Pair}_{Timeframe}
Examples:
Binance_BTCUSDC_1dYahoo_AAPL_1h
Each dataset is a matrix with 6 columns:
- timestamp: Unix timestamp in milliseconds
- open: Opening price
- high: Highest price
- low: Lowest price
- close: Closing price
- volume: Trading volume
Automation is handled by the tools/data/cron.py script.
Configuration is defined in config/data_cron.json.