🤖 COMPLETE: Learning-Enhanced AI with HTTP Compatibility
LEARNING INTEGRATION: - Enhanced AI analysis service feeds historical data into OpenAI prompts - Symbol/timeframe specific learning optimization - Pattern recognition from past trade outcomes - Confidence adjustment based on success rates HTTP COMPATIBILITY SYSTEM: - HttpUtil with automatic curl/no-curl detection - Node.js fallback for Docker environments without curl - Updated all automation systems to use HttpUtil - Production-ready error handling AUTONOMOUS RISK MANAGEMENT: - Enhanced risk manager with learning integration - Simplified learners using existing AILearningData schema - Real-time position monitoring every 30 seconds - Smart stop-loss decisions with AI learning INFRASTRUCTURE: - Database utility for shared Prisma connections - Beach mode status display system - Complete error handling and recovery - Docker container compatibility tested Historical performance flows into OpenAI prompts before every trade.
This commit is contained in:
Binary file not shown.
@@ -204,20 +204,3 @@ model AILearningData {
|
||||
|
||||
@@map("ai_learning_data")
|
||||
}
|
||||
|
||||
model DCARecord {
|
||||
id String @id @default(cuid())
|
||||
tradeId String
|
||||
dcaAmount Float
|
||||
dcaPrice Float
|
||||
newAveragePrice Float
|
||||
newStopLoss Float?
|
||||
newTakeProfit Float?
|
||||
newLeverage Float?
|
||||
confidence Float?
|
||||
reasoning String?
|
||||
riskAssessment String?
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@map("dca_records")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user