53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
# MCP Binance Connector Configuration
|
|
# Copy this file to .env and configure values
|
|
|
|
# ==========================================
|
|
# Server Configuration
|
|
# ==========================================
|
|
PORT=3606
|
|
NODE_ENV=development
|
|
|
|
# ==========================================
|
|
# MCP Authentication
|
|
# ==========================================
|
|
MCP_API_KEY=your_mcp_api_key_here
|
|
|
|
# ==========================================
|
|
# Binance API Configuration
|
|
# ==========================================
|
|
BINANCE_API_KEY=your_binance_api_key
|
|
BINANCE_API_SECRET=your_binance_api_secret
|
|
|
|
# ==========================================
|
|
# Network Configuration
|
|
# ==========================================
|
|
# Use testnet by default (set to false for production)
|
|
BINANCE_TESTNET=true
|
|
BINANCE_FUTURES_TESTNET=true
|
|
|
|
# ==========================================
|
|
# Risk Limits
|
|
# ==========================================
|
|
# Maximum value for a single order in USDT
|
|
MAX_ORDER_VALUE_USDT=1000
|
|
# Maximum daily trading volume in USDT
|
|
MAX_DAILY_VOLUME_USDT=10000
|
|
# Maximum allowed leverage
|
|
MAX_LEVERAGE=20
|
|
# Maximum position size as percentage of equity
|
|
MAX_POSITION_SIZE_PCT=5
|
|
|
|
# ==========================================
|
|
# Request Configuration
|
|
# ==========================================
|
|
# Timeout for requests to Binance (ms)
|
|
REQUEST_TIMEOUT=10000
|
|
# Maximum retries for failed requests
|
|
MAX_RETRIES=3
|
|
|
|
# ==========================================
|
|
# Logging
|
|
# ==========================================
|
|
LOG_LEVEL=info
|
|
LOG_FILE=logs/mcp-binance.log
|