Files
hyper/testing/.env.example
DiTus 7552cdfd57 Add testing scripts for DB connection and candle reading
- 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()
2026-08-05 20:33:54 +02:00

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