feat: disable daily trade limit restrictions
- Commented out daily trade limit check in automation-service-simple.ts
- Removed 6/5 trade limit that was blocking trading operations
- System now allows unlimited daily trades for unrestricted operation
- No more 'Daily trade limit reached' blocking messages
Houston, we have NO LIMITS! 🚀
This commit is contained in:
@@ -248,14 +248,14 @@ export class AutomationService {
|
||||
return
|
||||
}
|
||||
|
||||
// Step 2: Check daily trade limit
|
||||
const todayTrades = await this.getTodayTradeCount(this.config.userId)
|
||||
if (todayTrades >= this.config.maxDailyTrades) {
|
||||
console.log(`📊 Daily trade limit reached (${todayTrades}/${this.config.maxDailyTrades})`)
|
||||
// Run cleanup even when trade limit is reached
|
||||
await this.runPostCycleCleanup('trade_limit_reached')
|
||||
return
|
||||
}
|
||||
// Step 2: Check daily trade limit - DISABLED (no limits needed)
|
||||
// const todayTrades = await this.getTodayTradeCount(this.config.userId)
|
||||
// if (todayTrades >= this.config.maxDailyTrades) {
|
||||
// console.log(`📊 Daily trade limit reached (${todayTrades}/${this.config.maxDailyTrades})`)
|
||||
// // Run cleanup even when trade limit is reached
|
||||
// await this.runPostCycleCleanup('trade_limit_reached')
|
||||
// return
|
||||
// }
|
||||
|
||||
// Step 3: Take screenshot and analyze
|
||||
const analysisResult = await this.performAnalysis()
|
||||
|
||||
Reference in New Issue
Block a user