mex api progress

This commit is contained in:
Dobromir Popov
2025-05-27 14:06:38 +03:00
parent ae62d893bc
commit 2d2db276f3
4 changed files with 218 additions and 76 deletions

View File

@ -151,18 +151,18 @@ mexc_trading:
# Risk management
max_daily_loss_usd: 5.0 # Stop trading if daily loss exceeds $5
max_concurrent_positions: 1 # Only 1 position at a time for testing
max_trades_per_hour: 2 # Maximum 2 trades per hour
min_trade_interval_seconds: 300 # Minimum 5 minutes between trades
max_concurrent_positions: 3 # Only 1 position at a time for testing
max_trades_per_hour: 60 # Maximum 60 trades per hour
min_trade_interval_seconds: 30 Minimum between trades
# Order configuration
order_type: "market" # Use market orders for immediate execution
timeout_seconds: 30 # Order timeout
retry_attempts: 3 # Number of retry attempts for failed orders
retry_attempts: 0 # Number of retry attempts for failed orders
# Safety features
dry_run_mode: true # Log trades but don't execute (for testing)
require_confirmation: true # Require manual confirmation for trades
dry_run_mode: false # Execute real trades (was true for testing)
require_confirmation: false # No manual confirmation for live trading
emergency_stop: false # Emergency stop all trading
# Supported symbols for live trading
@ -178,8 +178,8 @@ mexc_trading:
# Memory Management
memory:
total_limit_gb: 8.0 # Total system memory limit
model_limit_gb: 2.0 # Per-model memory limit
total_limit_gb: 28.0 # Total system memory limit
model_limit_gb: 4.0 # Per-model memory limit
cleanup_interval: 1800 # Memory cleanup every 30 minutes
# Web Dashboard