Spaces:
Running
Running
| #!/usr/bin/env python3 | |
| """Compute derived columns from raw OHLCV data.""" | |
| import logging | |
| import os | |
| import sys | |
| # Add parent directory to path for imports | |
| sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | |
| from core.data_enricher import DataEnricher | |
| # Configure logging | |
| logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s") | |
| logger = logging.getLogger(__name__) | |
| def main(): | |
| enricher = DataEnricher() | |
| enricher.enrich() | |
| logger.info("\n✓ Data enrichment complete") | |
| if __name__ == "__main__": | |
| main() | |