Fix complete trading system: SL/TP working, live trading operational
- Fixed network connectivity and live trading mode - Updated Drift SDK integration with proper API methods - Fixed BN type conversions and minimum order size - Fixed stop loss & take profit conditional orders - Complete risk management system now functional
This commit is contained in:
@@ -210,7 +210,9 @@ export async function POST(request) {
|
||||
// Store analysis for learning
|
||||
await storeAnalysisForLearning(symbol, analysis)
|
||||
} else {
|
||||
throw new Error('AI analysis returned null')
|
||||
console.log('⏳ AI analysis returned null (possibly rate limited) - continuing without analysis')
|
||||
progressTracker.updateStep(sessionId, 'analysis', 'skipped', 'AI analysis skipped due to rate limits or other issues')
|
||||
analysis = null
|
||||
}
|
||||
|
||||
} catch (analysisError) {
|
||||
|
||||
Reference in New Issue
Block a user