- test_db_connection.py: 5-stage DB connection test (TCP, auth, schema, data, db.py integration) - read_candles.py: Read 1m candles with --all, --[symbol], --timestamp support - README.md: Usage instructions for testing scripts - .env.example: Template for connection configuration Default symbols updated to match LiveCandleFetcher subscriptions (BNB, ETH, xyz:GOLD, etc.) Colon-containing symbols handled via db.sanitize_table_name()
10 lines
200 B
Plaintext
10 lines
200 B
Plaintext
# Database connection configuration for testing
|
|
# Copy this file to .env and adjust as needed.
|
|
|
|
PG_HOST=20.20.20.20
|
|
PG_PORT=5433
|
|
PG_DB=hyper
|
|
PG_USER=hyper
|
|
PG_PASSWORD=your_password_here
|
|
PG_TIMEOUT=10
|