Browse Source

Update environment configuration for trading settings

- Changed the default trading token from SUI to BTC in the environment example file.
- Added a new margin mode configuration option for Hyperliquid, defaulting to 'ISOLATED'.
- Removed redundant comments and ensured proper formatting in the configuration file.
Carles Sentis 2 days ago
parent
commit
26267a6b90
2 changed files with 6 additions and 6 deletions
  1. 5 5
      config/env.example
  2. 1 1
      trading_bot.py

+ 5 - 5
config/env.example

@@ -13,11 +13,14 @@ HYPERLIQUID_WALLET_ADDRESS=your_api_wallet_address_here
 # Network selection: true for testnet (safe), false for mainnet (real money!)
 HYPERLIQUID_TESTNET=true
 
+# Trading
+HYPERLIQUID_MARGIN_MODE=ISOLATED 
+
 # ========================================
 # Trading Bot Configuration
 # ========================================
 # Default token for market/price commands (when no token specified)
-DEFAULT_TRADING_TOKEN=SUI
+DEFAULT_TRADING_TOKEN=BTC
 
 # Risk management settings
 RISK_MANAGEMENT_ENABLED=true
@@ -84,7 +87,4 @@ LOG_MAX_SIZE_MB=10
 LOG_ROTATION_INTERVAL=midnight
 
 # Number of backup log files to keep (older files are automatically deleted)
-LOG_BACKUP_COUNT=5
-
-# Trading
-HYPERLIQUID_MARGIN_MODE=ISOLATED 
+LOG_BACKUP_COUNT=5

+ 1 - 1
trading_bot.py

@@ -14,7 +14,7 @@ from datetime import datetime
 from pathlib import Path
 
 # Bot version
-BOT_VERSION = "2.4.265"
+BOT_VERSION = "2.4.266"
 
 # Add src directory to Python path
 sys.path.insert(0, str(Path(__file__).parent / "src"))