File size: 686 Bytes
c49b21b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This script runs both the stock and crypto normalization pipelines from the norm/ directory
import sys
import os

# Add norm directory to sys.path for imports
norm_dir = os.path.join(os.path.dirname(__file__), 'norm')
sys.path.insert(0, norm_dir)

# Import and run stock normalization
try:
    from norm import stocks
    print("\n--- Running Stock Normalization ---")
    stocks.main()
except Exception as e:
    print(f"[ERROR] Stock normalization failed: {e}")

# Import and run crypto normalization
try:
    from norm import crypto
    print("\n--- Running Crypto Normalization ---")
    crypto.main()
except Exception as e:
    print(f"[ERROR] Crypto normalization failed: {e}")