new API key
This commit is contained in:
14
config.yaml
14
config.yaml
@ -140,9 +140,12 @@ trading:
|
||||
# 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
|
||||
trading_mode: "live" # Options: "simulation", "testnet", "live"
|
||||
# - simulation: No real trades, just logging (safest)
|
||||
# - testnet: Use exchange testnet if available (MEXC doesn't have true testnet)
|
||||
# - live: Execute real trades with real money
|
||||
api_key: "" # Set in .env file as MEXC_API_KEY
|
||||
api_secret: "" # 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
|
||||
@ -153,7 +156,7 @@ mexc_trading:
|
||||
max_daily_loss_usd: 5.0 # Stop trading if daily loss exceeds $5
|
||||
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
|
||||
min_trade_interval_seconds: 30 # Minimum between trades
|
||||
|
||||
# Order configuration
|
||||
order_type: "market" # Use market orders for immediate execution
|
||||
@ -161,7 +164,6 @@ mexc_trading:
|
||||
retry_attempts: 0 # Number of retry attempts for failed orders
|
||||
|
||||
# Safety features
|
||||
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
|
||||
|
||||
@ -245,4 +247,4 @@ backtesting:
|
||||
model_paths:
|
||||
realtime_model: "NN/models/saved/optimized_short_term_model_realtime_best.pt"
|
||||
ticks_model: "NN/models/saved/optimized_short_term_model_ticks_best.pt"
|
||||
backup_model: "NN/models/saved/realtime_ticks_checkpoints/checkpoint_epoch_50449_backup/model.pt"
|
||||
backup_model: "NN/models/saved/realtime_ticks_checkpoints/checkpoint_epoch_50449_backup/model.pt"
|
||||
|
Reference in New Issue
Block a user