dash closed trades history
This commit is contained in:
39
config.yaml
39
config.yaml
@ -137,6 +137,45 @@ trading:
|
||||
base_size: 0.02 # 2% base position
|
||||
max_size: 0.05 # 5% maximum position
|
||||
|
||||
# MEXC Trading API Configuration
|
||||
mexc_trading:
|
||||
enabled: true # Set to true to enable live trading
|
||||
test_mode: false # Use test mode for safety (MEXC doesn't have true testnet)
|
||||
api_key: "mx0vglGymMT4iLpHXD" # Set in .env file as MEXC_API_KEY
|
||||
api_secret: "557300a85ae84cf6b927b86278905fd7" # Set in .env file as MEXC_SECRET_KEY
|
||||
|
||||
# Position sizing (conservative for live trading)
|
||||
max_position_value_usd: 1.0 # Maximum $1 per position for testing
|
||||
min_position_value_usd: 0.1 # Minimum $0.10 per position
|
||||
position_size_percent: 0.001 # 0.1% of balance per trade (very conservative)
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# Safety features
|
||||
dry_run_mode: true # Log trades but don't execute (for testing)
|
||||
require_confirmation: true # Require manual confirmation for trades
|
||||
emergency_stop: false # Emergency stop all trading
|
||||
|
||||
# Supported symbols for live trading
|
||||
allowed_symbols:
|
||||
- "ETH/USDT"
|
||||
- "BTC/USDT"
|
||||
|
||||
# Trading hours (UTC)
|
||||
trading_hours:
|
||||
enabled: false # Disable time restrictions for crypto
|
||||
start_hour: 0 # 00:00 UTC
|
||||
end_hour: 23 # 23:00 UTC
|
||||
|
||||
# Memory Management
|
||||
memory:
|
||||
total_limit_gb: 8.0 # Total system memory limit
|
||||
|
Reference in New Issue
Block a user