Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
89 lines (66 loc) · 2.74 KB
/
Copy path.env.example
File metadata and controls
89 lines (66 loc) · 2.74 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# CCXT Rust Test Configuration File
# Copy this file to .env and fill in your actual configuration
# =============================================================================
# Test Control Switches
# =============================================================================
# Enable private API tests that require API keys (default: false)
ENABLE_PRIVATE_TESTS=false
# Enable live API integration tests (default: false, requires network connection)
ENABLE_INTEGRATION_TESTS=false
# Test timeout (seconds)
TEST_TIMEOUT_SECONDS=30
# =============================================================================
# Binance Configuration
# =============================================================================
# Binance API Key (for private API tests)
# Obtain from: https://www.binance.com/en/my/settings/api-management
BINANCE_API_KEY=your_binance_api_key_here
BINANCE_API_SECRET=your_binance_api_secret_here
# Binance Testnet Configuration (recommended for development testing)
# Obtain from: https://testnet.binance.vision/
BINANCE_TESTNET_API_KEY=your_testnet_api_key_here
BINANCE_TESTNET_API_SECRET=your_testnet_api_secret_here
BINANCE_USE_TESTNET=true
# =============================================================================
# Other Exchange Configurations (future extension)
# =============================================================================
# OKX
# OKX_API_KEY=
# OKX_API_SECRET=
# OKX_PASSPHRASE=
# Bybit
# BYBIT_API_KEY=
# BYBIT_API_SECRET=
# Bitget
# BITGET_API_KEY=
# BITGET_API_SECRET=
# BITGET_PASSPHRASE=
# =============================================================================
# Test Data Configuration
# =============================================================================
# Default test trading pair
TEST_SYMBOL=BTC/USDT
# Test order amount (USDT)
TEST_ORDER_AMOUNT=10.0
# Use mock data (true to use local fixtures instead of real API calls)
USE_MOCK_DATA=true
# =============================================================================
# Logging Configuration
# =============================================================================
# Log level: trace, debug, info, warn, error
RUST_LOG=info
# Test log level
TEST_LOG_LEVEL=debug
# =============================================================================
# Performance Benchmark Configuration
# =============================================================================
# Number of benchmark samples
BENCHMARK_SAMPLES=100
# Number of benchmark warm-up runs
BENCHMARK_WARMUP=10
# =============================================================================
# CI/CD Configuration
# =============================================================================
# CI environment flags (set automatically by CI system)
# CI=true
# GITHUB_ACTIONS=true