fix: enable LIVE trading by setting useRealDEX=true in automation
- Added useRealDEX: true to trade payload in simple-automation.js - System was executing SIMULATED trades instead of LIVE trades - Automation now sends proper parameter to enable real Drift trading - Fixes 'SIMULATED Drift perpetual trade' execution mode - Enables actual position opening on Drift Protocol - Trading automation now executes REAL trades as intended Verified: - Trade payload now includes useRealDEX: true - API route logic will execute live trades - Container has been updated with the fix
This commit is contained in:
@@ -322,6 +322,7 @@ class SimpleAutomation {
|
||||
amount: this.config.tradingAmount || 10, // Default to $10 if not set
|
||||
type: 'market',
|
||||
tradingMode: 'SPOT',
|
||||
useRealDEX: true, // Enable LIVE trading instead of simulation
|
||||
analysis: analysis // Include analysis for reference
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user