# Deribit WebSocket Client Configuration
# Copy this file to .env and set your actual values
# Authentication credentials (OAuth2)
DERIBIT_CLIENT_ID=your_client_id_here
DERIBIT_CLIENT_SECRET=your_client_secret_here
# WebSocket connection settings
DERIBIT_WS_URL=wss://test.deribit.com/ws/api/v2
# Connection configuration
DERIBIT_CONNECTION_TIMEOUT=10
DERIBIT_RECONNECT_ATTEMPTS=3
DERIBIT_RECONNECT_DELAY=5
# Logging
DERIBIT_ENABLE_LOGGING=true
DERIBIT_LOG_LEVEL=info
# Test mode settings
DERIBIT_TEST_MODE=true
# Production environment example:
# DERIBIT_WS_URL=wss://www.deribit.com/ws/api/v2
# DERIBIT_TEST_MODE=false
# For integration tests, ensure you have valid test credentials:
# 1. Go to https://test.deribit.com
# 2. Create an account and generate API credentials
# 3. Set DERIBIT_CLIENT_ID and DERIBIT_CLIENT_SECRET with your test credentials
# 4. Keep DERIBIT_TEST_MODE=true for integration tests