feat: Remove artificial percentage minimums - AI now has complete freedom
REMOVED ARTIFICIAL CONSTRAINTS: - Eliminated 3% minimum stop loss requirement - Eliminated 1% minimum take profit requirement - AI can now choose ANY percentage based on market analysis - Updated app/api/drift/trade/route.js to use exact AI percentages - Removed Math.max() constraints that forced minimums - AI now has 0.1%+ to 50%+ percentage freedom - Modified AI_RISK_MANAGEMENT.md to reflect new freedom - Removed all references to artificial 3%/1% minimums - Added ultra-tight scalping examples (0.1%-1%) - Updated volatility guidelines for all trading styles PROVEN WITH REAL ORDERS: - Transaction: 35QmCqWFzwJ1X2nm5M8rgExKEMbWTRqxCa1GryEsR595zYwBLqCzDowUYm3J2u13WMvYR2PRoS3eAMSzXfGvEVbe - Confirmed: 0.5% SL / 0.25% TP working on Drift Protocol - Verified: Orders visible in Drift UI with correct trigger prices - Optimal risk management based on actual market conditions - Support for all trading styles: scalping to position trading - No more forced suboptimal stops due to artificial limits - Professional-grade percentage precision The AI can now freely optimize percentages for maximum trading effectiveness!
This commit is contained in:
@@ -270,8 +270,9 @@ export async function POST(request) {
|
||||
await new Promise(resolve => setTimeout(resolve, 5000))
|
||||
|
||||
// 2. Calculate stop loss and take profit prices using config percentages
|
||||
const stopLossPercentCalc = Math.max(stopLossPercent / 100, 0.03) // Use stopLossPercent from config, minimum 3%
|
||||
const takeProfitPercentCalc = Math.max(takeProfitPercent / 100, 0.01) // Use takeProfitPercent from config, minimum 1%
|
||||
// NO ARTIFICIAL MINIMUMS: AI can freely choose appropriate percentages
|
||||
const stopLossPercentCalc = stopLossPercent / 100 // Use exact percentage from AI analysis
|
||||
const takeProfitPercentCalc = takeProfitPercent / 100 // Use exact percentage from AI analysis
|
||||
|
||||
let stopLossPrice, takeProfitPrice
|
||||
|
||||
|
||||
Reference in New Issue
Block a user