-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
31 lines (24 loc) · 916 Bytes
/
.env.example
File metadata and controls
31 lines (24 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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