-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
32 lines (24 loc) · 1.12 KB
/
.env.example
File metadata and controls
32 lines (24 loc) · 1.12 KB
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
32
# DXLink Environment Variables for tastytrade Sandbox
# API Token for authentication with tastytrade DXLink service
# Obtain this token from your tastytrade account or API credentials
DXLINK_API_TOKEN=your_api_token_here
# DXLink WebSocket URL for tastytrade sandbox environment
# This is the sandbox/demo URL for testing purposes
DXLINK_WS_URL=wss://demo.dxfeed.com/dxlink-ws
# Alternative production URL (comment out for sandbox testing)
# DXLINK_WS_URL=wss://tools.dxfeed.com/webservice/dxlink-ws
# Optional: Custom timeout settings (in seconds)
# DXLINK_KEEPALIVE_TIMEOUT=60
# DXLINK_CONNECTION_TIMEOUT=30
# Optional: Logging level for debugging
# RUST_LOG=info
# RUST_LOG=debug
# Example symbols to subscribe to (space or comma separated)
# DXLINK_SYMBOLS=AAPL,MSFT,TSLA,BTC/USD:GDAX
# Optional: Default channel contract type
# DXLINK_DEFAULT_CONTRACT=AUTO
# Instructions:
# 1. Copy this file to .env in the project root
# 2. Replace 'your_api_token_here' with your actual tastytrade API token
# 3. Adjust URLs and settings as needed for your environment
# 4. The .env file is gitignored and won't be committed to version control